Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.7 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.7 KB

cloudbees-days-seattle-demo

This is a demo project for the Cloudbees Days 2019 Seattle event. This project demonstrates the following:

  • Jenkins running in GKE using the Kubernetes Plugin

  • Utilizing GCP officially supported Jenkins plugins: (GCS, OAuth, GKE)

  • Demonstrates best practices with real world use-case

    • Builds and tests SpringBoot Application
    • Publishes container image to GCR using Kaniko
    • Uses the Jenkins GKE plugin to deploy to multiple clusters in GKE

Setup steps

The follow describes the setup process for this project.

  1. Install Jenkins on GKE using the stable/jenkins helm chart: Jenkins On GKE Tutorial

  2. Install and configure the GKE plugin: Jenkins GKE Docs

  3. Add GCP SA JSON key to secret store for kaniko: kubectl create secret generic kaniko-secret --from-file=<path to kaniko-secret.json>

  4. Create a new Multibranch Pipeline Jenkins project pointed at this repository: Jenkins Multibranch Pipeline Tutorial