From 899519bc848e702f2d43841d144d45fd99f4f7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Mon, 21 Nov 2022 08:28:45 +0100 Subject: [PATCH 1/7] Make tests_locations optional in the JSON schema Not all projects provide tests --- library-and-framework-list-schema.json | 1 - 1 file changed, 1 deletion(-) diff --git a/library-and-framework-list-schema.json b/library-and-framework-list-schema.json index 23e36003..033253de 100644 --- a/library-and-framework-list-schema.json +++ b/library-and-framework-list-schema.json @@ -92,7 +92,6 @@ "required": [ "minimum_version", "metadata_locations", - "tests_locations", "test_level" ], "type": "object" From 494f0302a5a9a1a3fbc9496a27c14783ccb3d92a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Deleuze?= Date: Mon, 21 Nov 2022 08:29:13 +0100 Subject: [PATCH 2/7] Contribute a first list of supported libraries --- library-and-framework-list.json | 42 ++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/library-and-framework-list.json b/library-and-framework-list.json index fe51488c..d5910f5e 100644 --- a/library-and-framework-list.json +++ b/library-and-framework-list.json @@ -1 +1,41 @@ -[] +[ + { + "artifact": "io.netty:netty5-parent", + "details": [ + { + "minimum_version": "5.0", + "metadata_locations": [ + "https://github.com/netty/netty/tree/main/common/src/main/resources/META-INF/native-image" + ], + "tests_locations": [ + "https://github.com/netty/netty/actions" + ], + "test_level": "fully-tested" + } + ] + }, + { + "artifact": "org.apache.tomcat.embed:tomcat-embed-core", + "details": [ + { + "minimum_version": "9.0", + "metadata_locations": [ + "https://github.com/apache/tomcat/tree/9.0.x/res/graal" + ], + "test_level": "community-tested" + } + ] + }, + { + "artifact": "com.datastax.oss:java-driver-core", + "details": [ + { + "minimum_version": "4.1.5", + "metadata_locations": [ + "https://github.com/datastax/java-driver/tree/4.x/core/src/main/resources/META-INF/native-image" + ], + "test_level": "community-tested" + } + ] + } +] From 4f36e3f315872c9283425de741d89e58067812ce Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 5 Dec 2022 15:03:38 +0100 Subject: [PATCH 3/7] Keep `tests_locations` as required. --- library-and-framework-list-schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/library-and-framework-list-schema.json b/library-and-framework-list-schema.json index 033253de..23e36003 100644 --- a/library-and-framework-list-schema.json +++ b/library-and-framework-list-schema.json @@ -92,6 +92,7 @@ "required": [ "minimum_version", "metadata_locations", + "tests_locations", "test_level" ], "type": "object" From 2ac42cde5df8ff4902d6a7e6fc31a6a57c802266 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 5 Dec 2022 15:04:15 +0100 Subject: [PATCH 4/7] Add missing `tests_locations`. --- library-and-framework-list.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library-and-framework-list.json b/library-and-framework-list.json index d5910f5e..9dac0cb3 100644 --- a/library-and-framework-list.json +++ b/library-and-framework-list.json @@ -22,6 +22,10 @@ "metadata_locations": [ "https://github.com/apache/tomcat/tree/9.0.x/res/graal" ], + "tests_locations": [ + "https://github.com/micronaut-projects/micronaut-servlet/actions/workflows/graalvm.yml", + "https://github.com/spring-projects/spring-aot-smoke-tests" + ], "test_level": "community-tested" } ] @@ -34,6 +38,10 @@ "metadata_locations": [ "https://github.com/datastax/java-driver/tree/4.x/core/src/main/resources/META-INF/native-image" ], + "tests_locations": [ + "https://github.com/micronaut-projects/micronaut-cassandra/actions/workflows/graalvm.yml", + "https://github.com/spring-projects/spring-aot-smoke-tests" + ], "test_level": "community-tested" } ] From 48a7e19b74237d7680fac6726839bab92a949f87 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Mon, 5 Dec 2022 15:04:24 +0100 Subject: [PATCH 5/7] Add descriptions. --- library-and-framework-list.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library-and-framework-list.json b/library-and-framework-list.json index 9dac0cb3..689eeb11 100644 --- a/library-and-framework-list.json +++ b/library-and-framework-list.json @@ -1,6 +1,7 @@ [ { "artifact": "io.netty:netty5-parent", + "description": "Netty project - an event-driven asynchronous network application framework", "details": [ { "minimum_version": "5.0", @@ -16,6 +17,7 @@ }, { "artifact": "org.apache.tomcat.embed:tomcat-embed-core", + "description": "Apache Tomcat", "details": [ { "minimum_version": "9.0", @@ -32,6 +34,7 @@ }, { "artifact": "com.datastax.oss:java-driver-core", + "description": "DataStax Java Driver for Apache Cassandra", "details": [ { "minimum_version": "4.1.5", From 2167319b0b26300187f9ec916f80db2f01d22503 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 6 Dec 2022 17:06:24 +0100 Subject: [PATCH 6/7] `io.netty:netty5-parent` is `community-tested`. --- library-and-framework-list.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library-and-framework-list.json b/library-and-framework-list.json index 689eeb11..e9527d1b 100644 --- a/library-and-framework-list.json +++ b/library-and-framework-list.json @@ -11,7 +11,7 @@ "tests_locations": [ "https://github.com/netty/netty/actions" ], - "test_level": "fully-tested" + "test_level": "community-tested" } ] }, From f7f30e4226fc6c6274bc631daf2d49b47f3ec4c4 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 6 Dec 2022 17:10:36 +0100 Subject: [PATCH 7/7] Add `timeout-minutes` to all build jobs. --- .github/workflows/library-and-framework-list-validation.yml | 1 + .github/workflows/test-all-metadata.yml | 2 ++ .github/workflows/test-changed-metadata.yml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/library-and-framework-list-validation.yml b/.github/workflows/library-and-framework-list-validation.yml index 83645a3c..450edb30 100644 --- a/.github/workflows/library-and-framework-list-validation.yml +++ b/.github/workflows/library-and-framework-list-validation.yml @@ -6,6 +6,7 @@ jobs: validate-library-and-framework-list-json: name: "๐Ÿ“‹ Checks if the json file is written according to the existing schema" runs-on: "ubuntu-20.04" + timeout-minutes: 5 steps: - name: "โ˜๏ธ Checkout repository" uses: actions/checkout@v3 diff --git a/.github/workflows/test-all-metadata.yml b/.github/workflows/test-all-metadata.yml index 813aabeb..0edc6fae 100644 --- a/.github/workflows/test-all-metadata.yml +++ b/.github/workflows/test-all-metadata.yml @@ -18,6 +18,7 @@ jobs: get-all-metadata: name: "๐Ÿ“‹ Get list of all supported libraries" runs-on: "ubuntu-20.04" + timeout-minutes: 5 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -37,6 +38,7 @@ jobs: test-all-metadata: name: "๐Ÿงช ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})" runs-on: ${{ matrix.os }} + timeout-minutes: 20 needs: get-all-metadata strategy: fail-fast: false diff --git a/.github/workflows/test-changed-metadata.yml b/.github/workflows/test-changed-metadata.yml index 2d7a5b10..92909d22 100644 --- a/.github/workflows/test-changed-metadata.yml +++ b/.github/workflows/test-changed-metadata.yml @@ -17,6 +17,7 @@ jobs: get-changed-metadata: name: "๐Ÿ“‹ Get a list of all changed libraries" runs-on: "ubuntu-20.04" + timeout-minutes: 5 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} none-found: ${{ steps.set-matrix.outputs.none-found }} @@ -40,6 +41,7 @@ jobs: name: "๐Ÿงช ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})" if: needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true' runs-on: ${{ matrix.os }} + timeout-minutes: 20 needs: get-changed-metadata strategy: