No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
charts
flagger Istio is now enabled by flagger addon Feb 12, 2019
istio
shipper
static
.dockerignore
.gitattributes
.gitignore
.helmignore
Dockerfile
Jenkinsfile
LICENSE
Makefile
NOTICE
OWNERS
OWNERS_ALIASES
README.md
croc-hunter.go
curlloop.sh
skaffold.yaml
watch.sh

README.md

Croc Hunter - The game!

For those that have dreamt to hunt crocs

Usage

Basic go webserver to demonstrate example CI/CD pipeline using Kubernetes

Deploy using JenkinsX (Kubernetes, Helm, Monocular, ChartMuseum)

Just follow the JenkinsX installation with --prow=true

For example, if using GKE with cert-manager preinstalled for https certificates

jx install --provider=gke --domain=example.com --http=false --tls-acme=true

Then fork this repo and import it

jx import --url https://github.com/GITHUB_USER/croc-hunter-jenkinsx-serverless --no-draft --pack=go

Then, any PRs against this repo will be automatically deployed to preview environments. When they are merged they will be deployed to the staging environment.

To tail all the build logs

kail -l build.knative.dev/buildName --since=5m

Or in GKE StackDriver logs

resource.type="container"
resource.labels.cluster_name="samurainarrow"
resource.labels.container_name="build-step-jenkins"

To promote from staging to production just run

jx promote croc-hunter-jenkinsx --version 0.0.1 --env production

Then delete the PR environments

jx delete env

Acknowledgements

Original work by Lachlan Evenson Continuation of the awesome work by everett-toews.

Watch Their Demo

https://www.youtube.com/watch?v=eMOzF_xAm7w