Skip to content

gitlab ci with kubernetes on google cloud platform

Notifications You must be signed in to change notification settings

denmats/gitlab-ci-gke

Repository files navigation

How to build:

Jenkins

If you need to configure Jenkins please follow this tutorial

When your Jenkins is configured please follow these steps:

  1. Create new job using pipeline scheme.
  2. Modify Pipeline section:
  • Set Definition to Pipeline script
  • Copy contents of Jenkinsfile to field Script
  • Replace [project-id] with id of your project in google cloud
  • Replace [google-credentials-id] with id of the credentials that you made with tutorial from google
  1. Click Save button
  2. Choose Build now from menu on the left

*If you have problem in building your application using docker you have to connect to your VM machine (google cloud platform menu -> Compute Engine -> VM instances), click on SSH -> Open in browser window in Connect column. *test Once you're logged in type sudo chmod 777 /var/run/docker.sock in console.

All images

make build

Just one image

make build SERVICE=movies

About

gitlab ci with kubernetes on google cloud platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published