Skip to content

Commit 85ae7aa

Browse files
authored
Merge pull request #344 from graalvm/containerization-demos
Move Spring Jibber and Tiny Java Containers demos one level up
2 parents a3b9d77 + 4ba5c8a commit 85ae7aa

Some content is hidden

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

47 files changed

+14
-20
lines changed

.github/workflows/containerize-spring-boot-jibber.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: native-image/containerize/spring-boot-microservice-jibber
1+
name: native-image/spring-boot-microservice-jibber
22
on:
33
push:
44
paths:
5-
- 'native-image/containerize/spring-boot-microservice-jibber/**'
5+
- 'native-image/spring-boot-microservice-jibber/**'
66
- '.github/workflows/containerize-spring-boot-jibber.yml'
77
pull_request:
88
paths:
9-
- 'native-image/containerize/spring-boot-microservice-jibber/**'
9+
- 'native-image/spring-boot-microservice-jibber/**'
1010
- '.github/workflows/containerize-spring-boot-jibber.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
@@ -15,7 +15,7 @@ permissions:
1515
contents: read
1616
jobs:
1717
run:
18-
name: Run 'native-image/containerize/spring-boot-microservice-jibber'
18+
name: Run 'native-image/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/spring-boot-microservice-jibber'
33+
- name: Run 'native-image/spring-boot-microservice-jibber'
3434
run: |
35-
cd native-image/containerize/spring-boot-microservice-jibber
35+
cd native-image/spring-boot-microservice-jibber
3636
mvn --no-transfer-progress package
3737
mvn --no-transfer-progress native:compile -Pnative
3838
./target/benchmark-jibber &

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: native-image/containerize/tiny-java-containers
1+
name: native-image/tiny-java-containers
22
on:
33
push:
44
paths:
5-
- 'native-image/containerize/tiny-java-containers/**'
5+
- 'native-image/tiny-java-containers/**'
66
- '.github/workflows/containerize-tiny-java-containers.yml'
77
schedule:
88
- cron: "0 0 1 * *" # run every month
@@ -11,8 +11,8 @@ permissions:
1111
contents: read
1212
jobs:
1313
run:
14-
name: Run 'native-image/containerize/tiny-java-containers'
15-
runs-on: ubuntu-20.04 # Docker has changed its behavior on Ubuntu 22.04
14+
name: Run 'native-image/tiny-java-containers'
15+
runs-on: ubuntu-latest
1616
timeout-minutes: 20
1717
strategy:
1818
matrix:
@@ -24,10 +24,10 @@ jobs:
2424
java-version: ${{ matrix.java-version }}
2525
distribution: 'graalvm'
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
27-
- name: Run 'native-image/containerize/tiny-java-containers'
27+
- name: Run 'native-image/tiny-java-containers'
2828
run: |
2929
sleep_period=5
30-
cd native-image/containerize/tiny-java-containers
30+
cd native-image/tiny-java-containers
3131
# Hello World
3232
#
3333
cd helloworld

README.md

Lines changed: 2 additions & 2 deletions

native-image/clouds/native-oci-cloud-shell/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@
8080
<!-- <quickBuild>true</quickBuild> -->
8181
<buildArgs>
8282
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
83-
<!-- For mostly static native image (only on Linux AMD64 systems) -->
84-
<!-- <buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg> -->
85-
<!-- To generate the Native Image build output JSON -->
86-
<!-- <buildArg>-H:BuildOutputJSONFile=build.json</buildArg> -->
8783
</buildArgs>
8884
</configuration>
8985
</plugin>

native-image/microservices/micronaut-hello-rest-maven/pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,6 @@
119119
<quickBuild>true</quickBuild>
120120
<buildArgs combine.children="append">
121121
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
122-
<!-- For mostly static native image (only on Linux systems) -->
123-
<!-- <buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg> -->
124122
</buildArgs>
125123
</configuration>
126124
</plugin>

0 commit comments

Comments
 (0)