Skip to content

Commit 2fe4851

Browse files
committed
Move Micronaut demos under native-image/microservices; Add Gradle demo sources; Sycnhronize READMEs
1 parent 97ed34c commit 2fe4851

File tree

31 files changed

+165
-1393
lines changed

31 files changed

+165
-1393
lines changed

.github/workflows/micronaut-hello-rest-maven.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: microservices/micronaut-hello-rest-gradle
2+
on:
3+
push:
4+
paths:
5+
- 'native-image/microservices/micronaut-hello-rest-gradle/**'
6+
- '.github/workflows/microservices-micronaut-hello-rest-gradle.yml'
7+
schedule:
8+
- cron: "0 0 1 * *" # run every month
9+
workflow_dispatch:
10+
permissions:
11+
contents: read
12+
jobs:
13+
run:
14+
name: Run 'microservices/micronaut-hello-rest-gradle'
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 15
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: graalvm/setup-graalvm@v1
20+
with:
21+
java-version: '21'
22+
distribution: 'graalvm'
23+
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
cache: 'gradle'
25+
native-image-job-reports: 'true'
26+
- name: Run 'microservices/micronaut-hello-rest-gradle'
27+
run: |
28+
cd native-image/microservices/micronaut-hello-rest-gradle
29+
./run.sh
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: microservices/micronaut-hello-rest-maven
2+
on:
3+
push:
4+
paths:
5+
- 'native-image/microservices/micronaut-hello-rest-maven/**'
6+
- '.github/workflows/microservices-micronaut-hello-rest-maven.yml'
7+
schedule:
8+
- cron: "0 0 1 * *" # run every month
9+
workflow_dispatch:
10+
permissions:
11+
contents: read
12+
jobs:
13+
run:
14+
name: Run 'microservices/micronaut-hello-rest-maven'
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 15
17+
strategy:
18+
matrix:
19+
java-version: ['21', '24-ea']
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: graalvm/setup-graalvm@v1
23+
with:
24+
java-version: ${{ matrix.java-version }}
25+
distribution: 'graalvm'
26+
github-token: ${{ secrets.GITHUB_TOKEN }}
27+
cache: 'maven'
28+
native-image-job-reports: 'true'
29+
- name: Run 'microservices/micronaut-hello-rest-maven'
30+
run: |
31+
cd native-image/microservices/micronaut-hello-rest-maven
32+
./run.sh

micronaut-hello-rest-gradle/README.md

Lines changed: 0 additions & 187 deletions
This file was deleted.

micronaut-hello-rest-maven/.gitignore

Lines changed: 0 additions & 15 deletions
This file was deleted.

micronaut-hello-rest-maven/.mvn/wrapper/maven-wrapper.properties

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)