Skip to content

Commit

Permalink
Move Micronaut demos under native-image/microservices; Add Gradle dem…
Browse files Browse the repository at this point in the history
…o sources; Sycnhronize READMEs
  • Loading branch information
olyagpl committed Dec 18, 2024
1 parent 97ed34c commit 2fe4851
Show file tree
Hide file tree
Showing 31 changed files with 165 additions and 1,393 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/micronaut-hello-rest-maven.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/microservices-micronaut-hello-rest-gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: microservices/micronaut-hello-rest-gradle
on:
push:
paths:
- 'native-image/microservices/micronaut-hello-rest-gradle/**'
- '.github/workflows/microservices-micronaut-hello-rest-gradle.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'microservices/micronaut-hello-rest-gradle'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'gradle'
native-image-job-reports: 'true'
- name: Run 'microservices/micronaut-hello-rest-gradle'
run: |
cd native-image/microservices/micronaut-hello-rest-gradle
./run.sh
32 changes: 32 additions & 0 deletions .github/workflows/microservices-micronaut-hello-rest-maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: microservices/micronaut-hello-rest-maven
on:
push:
paths:
- 'native-image/microservices/micronaut-hello-rest-maven/**'
- '.github/workflows/microservices-micronaut-hello-rest-maven.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'microservices/micronaut-hello-rest-maven'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
native-image-job-reports: 'true'
- name: Run 'microservices/micronaut-hello-rest-maven'
run: |
cd native-image/microservices/micronaut-hello-rest-maven
./run.sh
187 changes: 0 additions & 187 deletions micronaut-hello-rest-gradle/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions micronaut-hello-rest-maven/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions micronaut-hello-rest-maven/.mvn/wrapper/maven-wrapper.properties

This file was deleted.

Loading

0 comments on commit 2fe4851

Please sign in to comment.