Skip to content

Commit

Permalink
Merge pull request #317 from graalvm/move-cloud-demos
Browse files Browse the repository at this point in the history
[GR-60094] Move Native Image on Cloud Platforms demos into a subdirectory /clouds/.
  • Loading branch information
olyagpl authored Dec 13, 2024
2 parents aa73a9e + 1be9787 commit 77ec366
Show file tree
Hide file tree
Showing 102 changed files with 73 additions and 73 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-aws-fargate
name: clouds/native-aws-fargate
on:
push:
paths:
- 'native-aws-fargate/**'
- '.github/workflows/native-aws-fargate.yml'
- 'clouds/native-aws-fargate/**'
- '.github/workflows/clouds-native-aws-fargate.yml'
pull_request:
paths:
- 'native-aws-fargate/**'
- '.github/workflows/native-aws-fargate.yml'
- 'clouds/native-aws-fargate/**'
- '.github/workflows/clouds-native-aws-fargate.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-aws-fargate'
name: Run 'clouds/native-aws-fargate'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-aws-fargate'
- name: Run 'clouds/native-aws-fargate'
run: |
cd native-aws-fargate
cd clouds/native-aws-fargate
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: native-aws-lambda
name: clouds/native-aws-lambda
on:
push:
paths:
- 'native-aws-lambda/**'
- '.github/workflows/native-aws-lambda.yml'
- 'clouds/native-aws-lambda/**'
- '.github/workflows/clouds-native-aws-lambda.yml'
pull_request:
paths:
- 'native-aws-lambda/**'
- '.github/workflows/nativeaws-lambda.yml'
- 'clouds/native-aws-lambda/**'
- '.github/workflows/clouds-native-aws-lambda.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-aws-lambda'
name: Run 'clouds/native-aws-lambda'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-aws-lambda java'
- name: Run 'clouds/native-aws-lambda java'
run: |
cd native-aws-lambda
cd clouds/native-aws-lambda
./mvnw package
- name: Run 'native-aws-lambda native image'
- name: Run 'clouds/native-aws-lambda native image'
run: |
cd native-aws-lambda
cd clouds/native-aws-lambda
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-google-cloud-run
name: clouds/native-google-cloud-run
on:
push:
paths:
- 'native-google-cloud-run/**'
- '.github/workflows/native-google-cloud-run.yml'
- 'clouds/native-google-cloud-run/**'
- '.github/workflows/clouds-native-google-cloud-run.yml'
pull_request:
paths:
- 'native-google-cloud-run/**'
- '.github/workflows/native-google-cloud-run.yml'
- 'clouds/native-google-cloud-run/**'
- '.github/workflows/clouds-native-google-cloud-run.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-google-cloud-run'
name: Run 'clouds/native-google-cloud-run'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-google-cloud-run'
- name: Run 'clouds/native-google-cloud-run'
run: |
cd native-google-cloud-run
cd clouds/native-google-cloud-run
./mvnw package -Dpackaging=docker-native
31 changes: 31 additions & 0 deletions .github/workflows/clouds-native-oci-container-instances.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: clouds/native-oci-container-instances
on:
push:
paths:
- 'clouds/native-oci-container-instances/**'
- '.github/workflows/clouds-native-oci-container-instances.yml'
pull_request:
paths:
- 'clouds/native-oci-container-instances/**'
- '.github/workflows/clouds-native-oci-container-instances.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'clouds/native-oci-container-instances'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'clouds/native-oci-container-instances'
run: |
cd clouds/native-oci-container-instances
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-oci-generative-ai
name: clouds/native-oci-generative-ai
on:
push:
paths:
- 'native-oci-generative-ai/**'
- '.github/workflows/native-oci-generative-ai.yml'
- 'clouds/native-oci-generative-ai/**'
- '.github/workflows/clouds-native-oci-generative-ai.yml'
pull_request:
paths:
- 'native-oci-generative-ai/**'
- '.github/workflows/native-oci-generative-ai.yml'
- 'clouds/native-oci-generative-ai/**'
- '.github/workflows/clouds-native-oci-generative-ai.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-oci-generative-ai'
name: Run 'clouds/native-oci-generative-ai'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21.0.3'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-oci-generative-ai'
run: |
cd native-oci-generative-ai
cd clouds/native-oci-generative-ai
mvn --batch-mode clean package -Pnative
31 changes: 0 additions & 31 deletions .github/workflows/native-oci-container-instances.yml

This file was deleted.

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,23 @@ cd graalvm-demos
</thead>
<tbody>
<tr>
<td align="left" width="30%"><a href="/native-aws-fargate/">native-aws-fargate</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-aws-fargate.yml"><img alt="native-aws-fargate" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-aws-fargate.yml/badge.svg"/></a></td>
<td align="left" width="30%"><a href="/clouds/native-aws-fargate/">clouds/native-aws-fargate</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-aws-fargate.yml"><img alt="clouds/native-aws-fargate" src="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-aws-fargate.yml/badge.svg"/></a></td>
<td align="left" width="70%">This demo covers the steps required to create a container image of a native executable application and deploy the image on AWS Fargate.<br><strong>Technologies: </strong> Native Image, Apache Maven, Docker, AWS Fargate <br>
</tr>
<tr>
<td align="left" width="30%"><a href="/native-aws-lambda/">native-aws-lambda</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-aws-lambda.yml"><img alt="native-aws-lambda" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-aws-lambda.yml/badge.svg"/></a></td>
<td align="left" width="30%"><a href="/clouds/native-aws-lambda/">clouds/native-aws-lambda</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-aws-lambda.yml"><img alt="clouds/native-aws-lambda" src="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-aws-lambda.yml/badge.svg"/></a></td>
<td align="left" width="70%">This demo covers the steps required to deploy a native executable application on AWS Lambda.<br><strong>Technologies: </strong> Native Image, Apache Maven, Docker, AWS Lambda <br>
</tr>
<tr>
<td align="left" width="30%"><a href="/native-google-cloud-run/">native-google-cloud-run</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-google-cloud-run.yml"><img alt="native-google-cloud-run" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-google-cloud-run.yml/badge.svg"/></a></td>
<td align="left" width="30%"><a href="/clouds/native-google-cloud-run/">clouds/native-google-cloud-run</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-google-cloud-run.yml"><img alt="clouds/native-google-cloud-run" src="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-google-cloud-run.yml/badge.svg"/></a></td>
<td align="left" width="70%">This demo covers the steps required to create a container image of a native executable application and deploy the image on Google Cloud Run.<br><strong>Technologies: </strong> Native Image, Apache Maven, Docker, Google Cloud CLI, Google Cloud Run <br>
</tr>
<tr>
<td align="left" width="30%"><a href="/native-oci-container-instances/">native-oci-container-instances</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-oci-container-instances.yml"><img alt="native-oci-container-instances" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-oci-container-instances.yml/badge.svg" /></a></td>
<td align="left" width="30%"><a href="/clouds/native-oci-container-instances/">clouds/native-oci-container-instances</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-oci-container-instances.yml"><img alt="clouds/native-oci-container-instances" src="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-oci-container-instances.yml/badge.svg"/></a></td>
<td align="left" width="70%">This demo covers the steps required to create a container image of a native executable application and deploy the image on OCI Container Instances.<br><strong>Technologies: </strong> Native Image, Apache Maven, Docker, OCI Container Instances<br></td>
</tr>
<tr>
<td align="left" width="30%"><a href="/native-oci-generative-ai/">native-oci-generative-ai</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-oci-generative-ai.yml"><img alt="native-oci-generative-ai" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-oci-generative-ai.yml/badge.svg" /></a></td>
<td align="left" width="30%"><a href="/clouds/native-oci-generative-ai/">clouds/native-oci-generative-ai</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-oci-generative-ai.yml"><img alt="clouds/native-oci-generative-ai" src="https://github.com/graalvm/graalvm-demos/actions/workflows/clouds-native-oci-generative-ai.yml/badge.svg"/></a></td>
<td align="left" width="70%">This demo covers the steps required to use the Generative AI service provided by Oracle Cloud Infrastructure. It uses a state-of-the-art, customizable large language model to generate text.<br><strong>Technologies: </strong> Native Image, Apache Maven, Generative AI<br></td>
</tr>
</tbody>
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 77ec366

Please sign in to comment.