Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/containerize-spring-boot-jibber.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: native-image/containerize/spring-boot-microservice-jibber
name: native-image/spring-boot-microservice-jibber
on:
push:
paths:
- 'native-image/containerize/spring-boot-microservice-jibber/**'
- 'native-image/spring-boot-microservice-jibber/**'
- '.github/workflows/containerize-spring-boot-jibber.yml'
pull_request:
paths:
- 'native-image/containerize/spring-boot-microservice-jibber/**'
- 'native-image/spring-boot-microservice-jibber/**'
- '.github/workflows/containerize-spring-boot-jibber.yml'
schedule:
- cron: "0 0 1 * *" # run every month
Expand All @@ -15,7 +15,7 @@ permissions:
contents: read
jobs:
run:
name: Run 'native-image/containerize/spring-boot-microservice-jibber'
name: Run 'native-image/spring-boot-microservice-jibber'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
Expand All @@ -30,9 +30,9 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
native-image-job-reports: 'true'
- name: Run 'native-image/containerize/spring-boot-microservice-jibber'
- name: Run 'native-image/spring-boot-microservice-jibber'
run: |
cd native-image/containerize/spring-boot-microservice-jibber
cd native-image/spring-boot-microservice-jibber
mvn --no-transfer-progress package
mvn --no-transfer-progress native:compile -Pnative
./target/benchmark-jibber &
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/containerize-tiny-java-containers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: native-image/containerize/tiny-java-containers
name: native-image/tiny-java-containers
on:
push:
paths:
- 'native-image/containerize/tiny-java-containers/**'
- 'native-image/tiny-java-containers/**'
- '.github/workflows/containerize-tiny-java-containers.yml'
schedule:
- cron: "0 0 1 * *" # run every month
Expand All @@ -11,8 +11,8 @@ permissions:
contents: read
jobs:
run:
name: Run 'native-image/containerize/tiny-java-containers'
runs-on: ubuntu-20.04 # Docker has changed its behavior on Ubuntu 22.04
name: Run 'native-image/tiny-java-containers'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
Expand All @@ -24,10 +24,10 @@ jobs:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-image/containerize/tiny-java-containers'
- name: Run 'native-image/tiny-java-containers'
run: |
sleep_period=5
cd native-image/containerize/tiny-java-containers
cd native-image/tiny-java-containers
# Hello World
#
cd helloworld
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ Demos illustrating how to compile applications with Native Image that use some d
### Containerize
Demos focusing on containerizing native Java applications and following best practices.

* [spring-boot-microservice-jibber](native-image/containerize/spring-boot-microservice-jibber/) - Demonstrates how to create a native executable for a Spring Boot web server, containerize it, and run
* [tiny-java-containers](native-image/containerize/tiny-java-containers/) - Shows how a simple Java application and the `jdk.httpserver` module can be compiled to produce small container images
* [spring-boot-microservice-jibber](native-image/spring-boot-microservice-jibber/) - Demonstrates how to create a native executable for a Spring Boot web server, containerize it, and run
* [tiny-java-containers](native-image/tiny-java-containers/) - Shows how a simple Java application and the `jdk.httpserver` module can be compiled to produce small container images

### Monitor
Demos showcasing how to monitor native applications using observability and diagnostics tools.
Expand Down
4 changes: 0 additions & 4 deletions native-image/clouds/native-oci-cloud-shell/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@
<!-- <quickBuild>true</quickBuild> -->
<buildArgs>
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
<!-- For mostly static native image (only on Linux AMD64 systems) -->
<!-- <buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg> -->
<!-- To generate the Native Image build output JSON -->
<!-- <buildArg>-H:BuildOutputJSONFile=build.json</buildArg> -->
</buildArgs>
</configuration>
</plugin>
Expand Down
2 changes: 0 additions & 2 deletions native-image/microservices/micronaut-hello-rest-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@
<quickBuild>true</quickBuild>
<buildArgs combine.children="append">
<buildArg>-H:+ReportExceptionStackTraces</buildArg>
<!-- For mostly static native image (only on Linux systems) -->
<!-- <buildArg>-H:+StaticExecutableWithDynamicLibC</buildArg> -->
</buildArgs>
</configuration>
</plugin>
Expand Down