0

So I am very new to using GCP. As of right now, I'm using it strictly for my personal website.

My website source is currently on Github and I've connected the repository with Cloud Source Repositories.

From what I've found online, simply re-deploying should incorporate the newly committed changes, but this isn't happening. What am I missing?


As a follow-up question, I would like to start using Jenkins to accomplish push-to-deploy while incurring the least amount of charge possible on my GCP account.

What would be the most lightweight CI/CD setup with GCP and Jenkins? I'm fairly certain I need Kubernetes as well (which I've never used).

Bottom line, I'm looking for a push-to-deploy setup that is as open-source as possible. The less Google APIs I'm using, the better.

I've done a fair amount of research, but given how new I am to containerization and CI/CD, I am a little clueless as to where I should begin reading.

ANY setup and/or reading material suggestions would be highly appreciated!

Thanks, Mack

1 Answers1

1

You can take a look at Cloud Build

You can look at a quickstart guide here

And on this doc you can find 3 specific examples of use cases

For GCP Jenkins you use Kubernetes which is open source - tutorial

You mentioned you connected your repo with Cloud Source, you can check the steps for that here to make sure you followed all the steps, After you set up mirroring, Cloud Source Repositories should automatically sync your repository with the mirrored repository when a user commits a change.

You can also consider setting Cloud Build to automatically build your code each time you push a new commit to GitHub

Andres S
  • 186
  • 3