Skip to content

Commit 26e1841

Browse files
committed
Update CI workflow to not run monthly; Remove demo entry from top-level README
1 parent bbdb6e2 commit 26e1841

File tree

3 files changed

+13
-22
lines changed

3 files changed

+13
-22
lines changed

.github/workflows/native-netty-plot.yml renamed to .github/workflows/archive-native-netty-plot.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,39 @@
1-
name: native-netty-plot
1+
name: archive/native-netty-plot
22
on:
33
push:
44
paths:
5-
- 'native-netty-plot/**'
6-
- '.github/workflows/native-netty-plot.yml'
5+
- 'archive/native-netty-plot/**'
6+
- '.github/workflows/archive-native-netty-plot.yml'
77
pull_request:
88
paths:
9-
- 'native-netty-plot/**'
10-
- '.github/workflows/native-netty-plot.yml'
11-
schedule:
12-
- cron: "0 0 1 * *" # run every month
9+
- 'archive/native-netty-plot/**'
10+
- '.github/workflows/archive-native-netty-plot.yml'
1311
workflow_dispatch:
1412
permissions:
1513
contents: read
1614
jobs:
1715
run:
18-
name: Run 'native-netty-plot'
16+
name: Run 'archive/native-netty-plot'
1917
runs-on: ubuntu-latest
2018
timeout-minutes: 20
21-
strategy:
22-
matrix:
23-
java-version: ['21', 'dev']
2419
steps:
2520
- uses: actions/checkout@v4
2621
- uses: graalvm/setup-graalvm@v1
2722
with:
28-
java-version: ${{ matrix.java-version }}
23+
java-version: '21'
2924
distribution: 'graalvm'
3025
github-token: ${{ secrets.GITHUB_TOKEN }}
3126
cache: 'maven'
3227
native-image-job-reports: 'true'
33-
- name: Run 'native-netty-plot'
28+
- name: Run 'archive/native-netty-plot'
3429
run: |
35-
cd native-netty-plot
30+
cd archive/native-netty-plot
3631
mvn --no-transfer-progress package
3732
java -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image/com.oracle.substratevm/netty-plot -jar target/netty-plot-0.1-jar-with-dependencies.jar &
3833
pid=$!
3934
sleep 10
4035
# query service without isolate to trigger AWT code, so that it gets picked up by the agent
41-
curl -i http://127.0.0.1:8080/?useIsolate=false
36+
curl -i http://localhost:8080/?useIsolate=false
4237
kill $pid
4338
# re-package project to include new reachability metadata collected by agent
4439
mvn --no-transfer-progress package

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ cd graalvm-demos
5555
<td align="left" width="30%"><a href="/native-image-configure-examples/">native-image-configure-examples</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml"><img alt="streams" src="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml/badge.svg" /></a></td>
5656
<td align="left" width="70%">Demonstrates how you can influence the classes initialization at the image build time<br><strong>Technologies: </strong>Native Image, Maven<br><strong>Reference: </strong><a href="https://medium.com/graalvm/understanding-class-initialization-in-graalvm-native-image-generation-d765b7e4d6ed">Understanding Class Initialization in GraalVM Native Image Generation</a></td>
5757
</tr>
58-
<tr>
59-
<td align="left" width="30%"><a href="/native-netty-plot/">native-netty-plot</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-netty-plot.yml"><img alt="native-netty-plot" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-netty-plot.yml/badge.svg" /></a></td>
60-
<td align="left" width="70%">A web server application, using the Netty framework, to demonstrate the use of isolates with Native Image<br><strong>Technologies: </strong>Native Image, Maven, Netty<br><strong>Reference: </strong><a href="https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692">Instant Netty Startup using GraalVM Native Image Generation</a></td>
61-
</tr>
6258
<tr>
6359
<td align="left" width="30%"><a href="/javagdbnative/">javagdbnative</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/javagdbnative.yml"><img alt="javagdbnative" src="https://github.com/graalvm/graalvm-demos/actions/workflows/javagdbnative.yml/badge.svg" /></a></td>
6460
<td align="left" width="70%">Demonstrates how to debug a Java application, built into a native executable in VS Code<br><strong>Technologies: </strong>Native Image, Maven, GraalVM Tools for Java<br><strong>Reference: </strong><a href="https://medium.com/graalvm/native-image-debugging-in-vs-code-2d5dda1989c1">Native Image Debugging in VS Code</a></td>

archive/native-netty-plot/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The _reflect-config.json_ file specifies classes which must be available via Jav
4949
```bash
5050
java -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image -jar target/netty-plot-0.1-jar-with-dependencies.jar
5151
```
52-
The server is started. Open [http://127.0.0.1:8080/?useIsolate=false](http://127.0.0.1:8080/?useIsolate=false) in the browser to see the output.
52+
The server is started. Open [http://localhost:8080/?useIsolate=false](http://localhost:8080/?useIsolate=false) in the browser to see the output.
5353

5454
2. Terminate the application, `CTRL+C`.
5555

@@ -67,9 +67,9 @@ The _reflect-config.json_ file specifies classes which must be available via Jav
6767
```bash
6868
./netty-plot
6969
```
70-
Open your web browser and navigate to [http://127.0.0.1:8080/](http://127.0.0.1:8080/)
70+
Open your web browser and navigate to [http://localhost:8080/](http://localhost:8080/)
7171

72-
5. Finally, you can open your browser and request rendering of a function, for example, by browsing to [http://127.0.0.1:8080/?function=abs((x-31.4)sin(x-pi/2))&xmin=0&xmax=31.4](http://127.0.0.1:8080/?function=abs((x-31.4)sin(x-pi/2))&xmin=0&xmax=31.4).
72+
5. Finally, you can open your browser and request rendering of a function, for example, by browsing to [http://localhost:8080/?function=abs((x-31.4)sin(x-pi/2))&xmin=0&xmax=31.4](http://localhost:8080/?function=abs((x-31.4)sin(x-pi/2))&xmin=0&xmax=31.4).
7373

7474
### Background Information
7575

0 commit comments

Comments
 (0)