Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy committed Oct 25, 2023
1 parent 2577416 commit 35baade
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## A basic GitHub Actions workflow for your Quarkus application.

name: CI build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build
run: ./mvnw verify -B
2 changes: 1 addition & 1 deletion .quarkus/cli/plugins/quarkus-cli-catalog.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version" : "v1",
"lastUpdate" : "17/10/2023 15:07:36",
"lastUpdate" : "25/10/2023 10:52:53",
"plugins" : { }
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# One-Two-Three Quarkus

This is a fun version of the ‘freeze or die’ game, where each phone represented a player on screen. By shaking your phone, you can advance your player towards the finish line… provided you don’t ‘die’ along the way!

It is dedicated to explaining how Quarkus simplifies the process of creating such an interactive and scalable game. The extensions involved are:

- [Web Bundler](https://docs.quarkiverse.io/quarkus-web-bundler/dev/index.html)
- [Qute](https://quarkus.io/guides/qute-reference)
- [Renarde](https://quarkiverse.github.io/quarkiverse-docs/quarkus-renarde/dev/index.html)
- [Playwright](https://docs.quarkiverse.io/quarkus-playwright/dev/) for testing.

## Dev Mode

One tab:
```shell
cd dashboard;
quarkus dev
```

Another tab:
```shell
cd runnner;
quarkus dev
```

Open dashboard on http://localhost:8079/
Open multiple runners on http://localhost:8080/

## Deploy to OpenShift

Create a Kafka Cluster, then (after logging with `oc` and selecting the project):

```shell
quarkus deploy openshift
```
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.4.3</quarkus.platform.version>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>999-SNAPSHOT</quarkus.platform.version>
<skipITs>true</skipITs>
<surefire-plugin.version>3.1.2</surefire-plugin.version>
<quarkus-renarde.version>3.0.4</quarkus-renarde.version>
Expand Down

0 comments on commit 35baade

Please sign in to comment.