Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlossg/croc-hunter-java
Croc Hunter demo using Quarkus and GraalVM, deployed with Jenkins X
https://github.com/carlossg/croc-hunter-java
cd croc-hunter demo docker gke helm jenkinsx kubernetes quarkus
Last synced: 7 days ago
JSON representation
Croc Hunter demo using Quarkus and GraalVM, deployed with Jenkins X
- Host: GitHub
- URL: https://github.com/carlossg/croc-hunter-java
- Owner: carlossg
- Created: 2019-05-07T10:20:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T23:49:44.000Z (15 days ago)
- Last Synced: 2024-10-31T15:52:49.403Z (14 days ago)
- Topics: cd, croc-hunter, demo, docker, gke, helm, jenkinsx, kubernetes, quarkus
- Language: Java
- Homepage:
- Size: 409 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Croc Hunter - The game!
For those that have dreamt to hunt crocs
# Usage
Basic [Quarkus](https://quarkus.io/) app to demonstrate example CI/CD pipeline using Kubernetes
# Local Development
Quarkus comes with a [built-in development mode](https://quarkus.io/guides/maven-tooling). Run your application with:
```bash
mvn compile quarkus:dev
````mvn package` will build a native image.
# Deploy using JenkinsX (Kubernetes, Helm, Monocular, ChartMuseum)
Just follow the [JenkinsX](http://jenkins-x.io) installation with Tekton
For example, if using GKE
```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-java \
--no-draft \
--pack=maven
```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)
```
resource.labels.cluster_name="mycluster"
resource.type="container"
labels."container.googleapis.com/namespace_name"="jx"
resource.labels.container_name:build-step-
```To [promote from staging to production](http://jenkins-x.io/developing/promote/) just run
jx promote croc-hunter-java --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