This project aims at centralizing all the information about the status of Quarkus QE activities in upstream.
In your application directory, create a .env file containing your OAuth token:
ACTIVITY_TOKEN=<TOKEN>
The token only needs read access to the repository.
You can run your application in dev mode that enables live coding using:
mvn compile quarkus:dev
NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
The application can be packaged using:
mvn package
The application is now runnable using ACTIVITY_TOKEN=your_token java -jar target/quarkus-app/quarkus-run.jar
.
You can create a native executable using:
mvn package -Pnative
Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
mvn package -Pnative -Dquarkus.native.container-build=true
You can then execute your native executable with: ACTIVITY_TOKEN=your_token ./target/gh-activity-1.0.0-SNAPSHOT-runner
JVM build:
mvn clean package -Dquarkus.kubernetes.deploy=true
Native build:
mvn clean package -Dquarkus.kubernetes.deploy=true -Dquarkus.native.container-build=true -Dnative
OpenShift secret for GitHub API needs to be created beforehand.
apiVersion: v1
kind: Secret
metadata:
name: gh-activity-token
stringData:
ACTIVITY_TOKEN: your_token
Deploy the secret using oc create -f secret.yaml
command, update it using oc replace -f secret.yaml
command.