Skip to content

Commit 2a879f9

Browse files
committed
Review and move polyglot-javascript-java-r to archive; Don't run CI workflow monthly; Clean top README.md
1 parent bcf2be7 commit 2a879f9

File tree

8 files changed

+18
-22
lines changed

8 files changed

+18
-22
lines changed

.github/workflows/polyglot-javascript-java-r.yml renamed to .github/workflows/archive-polyglot-javascript-java-r.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
name: polyglot-javascript-java-r
1+
name: archive/polyglot-javascript-java-r
22
on:
33
push:
44
paths:
5-
- 'polyglot-javascript-java-r/**'
6-
- '.github/workflows/polyglot-javascript-java-r.yml'
5+
- 'archive/polyglot-javascript-java-r/**'
6+
- '.github/workflows/archive-polyglot-javascript-java-r.yml'
77
pull_request:
88
paths:
9-
- 'polyglot-javascript-java-r/**'
10-
- '.github/workflows/polyglot-javascript-java-r.yml'
11-
schedule:
12-
- cron: "0 0 1 * *" # run every month
9+
- 'archive/polyglot-javascript-java-r/**'
10+
- '.github/workflows/archive-polyglot-javascript-java-r.yml'
1311
workflow_dispatch:
1412
permissions:
1513
contents: read
1614
jobs:
1715
run:
18-
name: Run 'polyglot-javascript-java-r'
16+
name: Run 'archive/polyglot-javascript-java-r'
1917
runs-on: ubuntu-latest
2018
timeout-minutes: 15
2119
steps:
@@ -26,9 +24,9 @@ jobs:
2624
java-version: '17'
2725
components: 'nodejs,R'
2826
github-token: ${{ secrets.GITHUB_TOKEN }}
29-
- name: Run 'polyglot-javascript-java-r'
27+
- name: Run 'archive/polyglot-javascript-java-r'
3028
run: |
31-
cd polyglot-javascript-java-r
29+
cd archive/polyglot-javascript-java-r
3230
npm install
3331
$GRAALVM_HOME/bin/node --jvm --polyglot server.js &
3432
sleep 10

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,6 @@ cd graalvm-demos
235235
<td align="left" width="30%"><a href="/polyglot-debug/">polyglot-debug</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/polyglot-debug.yml"><img alt="polyglot-debug" src="https://github.com/graalvm/graalvm-demos/actions/workflows/polyglot-debug.yml/badge.svg" /></a></td>
236236
<td align="left" width="70%">Demonstrates how to debug a polyglot Java and JavaScript application using GraalVM Tools for Java in VS Code <br><strong>Technologies: </strong>Java, JavaScript, Maven, GraalVM Extension Pack</td>
237237
</tr>
238-
<tr>
239-
<td align="left" width="30%"><a href="/polyglot-javascript-java-r/">polyglot-javascript-java-r</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/polyglot-javascript-java-r.yml"><img alt="polyglot-javascript-java-r" src="https://github.com/graalvm/graalvm-demos/actions/workflows/polyglot-javascript-java-r.yml/badge.svg" /></a></td>
240-
<td align="left" width="70%">Demonstrates the polyglot capabilities of GraalVM and how to run a JavaScript-Java-R application <br><strong>Technologies: </strong>JavaScript, Node.js, Java, R <br><strong>Reference: </strong><a href="https://medium.com/graalvm/graalvm-ten-things-12d9111f307d#656f">Top 10 Things To Do With GraalVM</a></td>
241-
</tr>
242238
<tr>
243239
<td align="left" width="30%"><a href="/functionGraphDemo/">functionGraphDemo</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/functionGraphDemo.yml"><img alt="functionGraphDemo" src="https://github.com/graalvm/graalvm-demos/actions/workflows/functionGraphDemo.yml/badge.svg" /></a></td>
244240
<td align="left" width="70%">Demonstrates how to run a polyglot JavaScript-Java-R application on the GraalVM Node.js runtime <br><strong>Technologies: </strong>JavaScript, Node.js, Java, R</td>

polyglot-javascript-java-r/README.md renamed to archive/polyglot-javascript-java-r/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Polyglot JavaScript Application mixing Java and R
1+
# Polyglot JavaScript Application Mixing Java and R
22

3-
This is a multi-language JavaScript application mixing Java and R to demonstrate GraalVM's polyglot capabilities.
3+
This is a multi-language JavaScript application mixing Java and R to demonstrate GraalVM's polyglot capabilities.
44

55
### Prerequisites
66

@@ -52,3 +52,5 @@ Open the URL the application prints at the startup in Chrome browser, and start
5252

5353
This is a sample application that for brevity contains reasonably large snippets of code inside the strings.
5454
This is not the best approach for structuring polyglot apps, but the easiest to show in a single file.
55+
56+
This demo application is referenced from the blog post [Top 10 Things To Do With GraalVM](https://medium.com/graalvm/graalvm-ten-things-12d9111f307d#656f).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
set -ex
33

4-
npm install
4+
npm install
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
$JAVA_HOME/bin/node --jvm --polyglot server.js

polyglot-javascript-java-r/run.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)