Skip to content

Commit 0fa6a7e

Browse files
authored
Merge pull request #336 from graalvm/move-tiny-containers-demo
[GR-60094] Move tiny containers demo under native-image/containerize category.
2 parents 46fe4af + d4d9d1a commit 0fa6a7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+127
-25
lines changed

.github/workflows/native-image-containerize.yml renamed to .github/workflows/containerize-spring-boot-jibber.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
name: native-image/containerize
1+
name: native-image/containerize/spring-boot-microservice-jibber
22
on:
33
push:
44
paths:
5-
- 'native-image/containerize/**'
6-
- '.github/workflows/native-image-containerize.yml'
5+
- 'native-image/containerize/spring-boot-microservice-jibber/**'
6+
- '.github/workflows/containerize-spring-boot-jibber.yml'
77
pull_request:
88
paths:
9-
- 'native-image/containerize/**'
10-
- '.github/workflows/native-image-containerize.yml'
9+
- 'native-image/containerize/spring-boot-microservice-jibber/**'
10+
- '.github/workflows/containerize-spring-boot-jibber.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:
1414
permissions:
1515
contents: read
1616
jobs:
1717
run:
18-
name: Run 'native-image/containerize'
18+
name: Run 'native-image/containerize/spring-boot-microservice-jibber'
1919
runs-on: ubuntu-latest
2020
timeout-minutes: 20
2121
strategy:
@@ -30,9 +30,9 @@ jobs:
3030
github-token: ${{ secrets.GITHUB_TOKEN }}
3131
cache: 'maven'
3232
native-image-job-reports: 'true'
33-
- name: Run 'native-image/containerize'
33+
- name: Run 'native-image/containerize/spring-boot-microservice-jibber'
3434
run: |
35-
cd native-image/containerize
35+
cd native-image/containerize/spring-boot-microservice-jibber
3636
mvn --no-transfer-progress package
3737
mvn --no-transfer-progress native:compile -Pnative
3838
./target/benchmark-jibber &

.github/workflows/tiny-java-containers.yml renamed to .github/workflows/containerize-tiny-java-containers.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
1-
name: tiny-java-containers
1+
name: native-image/containerize/tiny-java-containers
22
on:
33
push:
44
paths:
5-
- 'tiny-java-containers/**'
6-
- '.github/workflows/tiny-java-containers.yml'
5+
- 'native-image/containerize/tiny-java-containers/**'
6+
- '.github/workflows/containerize-tiny-java-containers.yml'
77
schedule:
88
- cron: "0 0 1 * *" # run every month
99
workflow_dispatch:
1010
permissions:
1111
contents: read
1212
jobs:
1313
run:
14-
name: Run 'tiny-java-containers'
14+
name: Run 'native-image/containerize/tiny-java-containers'
1515
runs-on: ubuntu-20.04 # Docker has changed its behavior on Ubuntu 22.04
1616
timeout-minutes: 20
17+
strategy:
18+
matrix:
19+
java-version: ['21', '24-ea']
1720
steps:
1821
- uses: actions/checkout@v4
1922
- uses: graalvm/setup-graalvm@v1
2023
with:
21-
java-version: '21'
24+
java-version: ${{ matrix.java-version }}
2225
distribution: 'graalvm'
2326
github-token: ${{ secrets.GITHUB_TOKEN }}
24-
- name: Run 'tiny-java-containers'
27+
- name: Run 'native-image/containerize/tiny-java-containers'
2528
run: |
2629
sleep_period=5
27-
cd tiny-java-containers
30+
cd native-image/containerize/tiny-java-containers
2831
# Hello World
2932
#
3033
cd helloworld

README.md

Lines changed: 3 additions & 3 deletions

native-image/containerize/README.md renamed to native-image/containerize/spring-boot-microservice-jibber/README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)