Giter VIP home page Giter VIP logo

spring-gumball's Introduction

CMPE 172 - Lab #10 Notes

CI Workflow (Part 1)

Steps for what I did to accomplish part 1:

  1. Click on Actions on the top bar
  2. Select Java with Gradle -> Configure
  3. Paste in code from Canvas to the .github/workflows/gradle.yml
  4. Changed main -> master (b/c used master on initial commit)

Challenges:

  • I had to cancel the workflow and restart it after ~15 minutes of the build being queued. I did this by pressing the red button for Cancel Workflow and then on th left side, I pressed the recycle button.

Screenshot of output

CI Workflow

CD Workflow (Part 2)

Step 1 - showing files present in repo

Step 1

Step 2 - GKE Secrets

Step 2.2

Step 3 - Env variables

Step 3

Challenges:

  • Had to figure out where to make the changes to the deployment file. I had to add a new workflow -> Deployment to GKE.

Step 4 - Trigger CD Deployment

Challenges:

  • For the GKE_SA_KEY, I had only copied the private key, and had to google a json parsing error to find out it should have been the entire json file that was downloaded
  • I ran into permission issues where the CD pipeline did not have access. I had to research into what the container.clusters.get permission is was and add appropriate permissions to the account specified in the json client

Step 4.1 Step 4.2 Step 4.3 Step 4.4 Step 4.5 Step 4.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.