https://github.com/marcnuri-demo/202109-quarkus-cafe
Demo project for Quarkus Cafe
https://github.com/marcnuri-demo/202109-quarkus-cafe
Last synced: 3 months ago
JSON representation
Demo project for Quarkus Cafe
- Host: GitHub
- URL: https://github.com/marcnuri-demo/202109-quarkus-cafe
- Owner: marcnuri-demo
- Created: 2021-09-17T12:48:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-20T17:56:10.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T06:26:02.232Z (5 months ago)
- Language: HTML
- Size: 65.4 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
202109 Quarkus Cafe demo
========================### Common files
The Java sources and resources for the project are in the `common/java` and
`common/resources` directories which are soft-linked in each of the project variants.### Vanilla Quarkus
1. Local Dev
`mvn quarkus:dev`### Vanilla Quarkus with odo
1. Create a configuration describing a component.
`odo create vanilla-odo --devfile devfile.yaml`
2. Push source code to a component.`odo push --show-log`
3. Check the URL endpoint`odo url list`
4. Set Quarkus Dev Mode`odo config set -e QUARKUS_LAUNCH_DEVMODE=true`
5. Remote & Debug mode
`odo push --debug`
6. Quarkus Remote Dev
`mvn quarkus:remote-dev -Dquarkus.live-reload.password=123 -Dquarkus.live-reload.url=http://vanilla-odo-8080-app-mmascia-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com`
### Eclipse JKube
(different packaging strategies)
Low configuration effort
Base image is good for inner-loop#### Inner-Loop
Local development in mnurisan-dev namespace
- ConfigMap fragment from jkube/dev
- Generate images with S2I (oc:build)#### Outer-Loop
Prod environment in mnurisan-stage namespace
- ConfigMap fragment from jkube/prod
- Generate images (with JIB) in native mode and deploy them to Quay
- Generate manifests and persist in repo?
- Generate Helm charts?
- Push Helm charts?
- Deploy to Sandbox using quay image
- GH Actions workflow