Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlossg/croc-hunter-jenkinsx
Croc Hunter demo, deployed with Jenkins X
https://github.com/carlossg/croc-hunter-jenkinsx
cd croc-hunter demo docker gke helm jenkins jenkinsx kubernetes
Last synced: 7 days ago
JSON representation
Croc Hunter demo, deployed with Jenkins X
- Host: GitHub
- URL: https://github.com/carlossg/croc-hunter-jenkinsx
- Owner: carlossg
- License: mit
- Created: 2018-04-01T17:49:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-07T08:34:23.000Z (about 5 years ago)
- Last Synced: 2024-10-31T15:52:48.453Z (14 days ago)
- Topics: cd, croc-hunter, demo, docker, gke, helm, jenkins, jenkinsx, kubernetes
- Language: Go
- Homepage:
- Size: 344 KB
- Stars: 20
- Watchers: 3
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://jenkins-x.io) installation with `--prow=true`
For example, if using GKE with cert-manager preinstalled for https certificates
```bash
jx install \
--provider=gke \
--tekton
jx upgrade ingress
```Then fork this repo and [import it](http://jenkins-x.io/developing/import/)
```bash
jx import \
--url https://github.com/GITHUB_USER/croc-hunter-jenkinsx \
--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 tekton.dev/pipeline --since=5m
Or in [GKE StackDriver logs](https://console.cloud.google.com/logs/viewer?authuser=1&advancedFilter=resource.type%3D%22container%22%0Aresource.labels.cluster_name%3D%22samurainarrow%22%0Aresource.labels.container_name%3Dbuild-step-jenkins)
```
resource.type="container"
resource.labels.cluster_name="mycluster"
resource.labels.container_name="build-step-jenkins"
```To [promote from staging to production](http://jenkins-x.io/developing/promote/) just run
jx promote croc-hunter-jenkinsx --version 0.0.1 --env production
# Acknowledgements
Original work by [Lachlan Evenson](https://github.com/lachie83/croc-hunter)
Continuation of the awesome work by everett-toews.
* https://gist.github.com/everett-toews/ed56adcfd525ce65b178d2e5a5eb06aa## Watch Their Demo
https://www.youtube.com/watch?v=eMOzF_xAm7w