Skip to content

An example of a nodejs project automated to be deployed to gcp using helm with github actions ;)

Notifications You must be signed in to change notification settings

alejandromc23/helm-gcp-gh_actions

Repository files navigation

helm-gcp-deploy-with-ghactions

An example of a nodejs project automated to be deployed to gcp using helm with github actions ;)

Based on

To give it a try:

On Local Environment:

  1. Build images
docker-compose build
  1. Start container:
docker-compose up
  1. Check all has gone well visiting http:localhost:3000/api/status and visualizing:
{"response":"All seems going well :)"}

On Production:

  1. Rename folder workflows_disabled to workflows inside .github folder
  2. Rename all code from helm folder inside <> to your kubernetes instances
  3. Replace code inside <> from your gke.yaml in the .github/workflows folder
  4. Create your repository secrets for vars: GKE_SA_KEY and GKE_PROJECT
  5. Deploy to the main branch
  6. Once the actions have finished check the deployment has gone OK going to your http:externalServiceIp/api/status or using kubectl get pods command

Finally:

Carlton Dance Gif

About

An example of a nodejs project automated to be deployed to gcp using helm with github actions ;)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published