From a05087103d4b19d1ebb7d9a4320cb5666df641b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:54:47 +0000 Subject: [PATCH 01/15] Bump io.quarkus.develocity:quarkus-project-develocity-extension Bumps [io.quarkus.develocity:quarkus-project-develocity-extension](https://github.com/quarkusio/quarkus-project-develocity-extension) from 1.1.5 to 1.1.6. - [Commits](https://github.com/quarkusio/quarkus-project-develocity-extension/compare/1.1.5...1.1.6) --- updated-dependencies: - dependency-name: io.quarkus.develocity:quarkus-project-develocity-extension dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] (cherry picked from commit e2fa52c94d8d7997b5f2861b02fa7a526ae45f2e) --- .mvn/extensions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 4f66fedddc634..4e043844853d3 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -17,6 +17,6 @@ io.quarkus.develocity quarkus-project-develocity-extension - 1.1.5 + 1.1.6 From 507010de5f2c5032dcd95d3f7154197362e5a958 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 22:17:39 +0000 Subject: [PATCH 02/15] Bump io.quarkus.develocity:quarkus-project-develocity-extension Bumps [io.quarkus.develocity:quarkus-project-develocity-extension](https://github.com/quarkusio/quarkus-project-develocity-extension) from 1.1.6 to 1.1.7. - [Commits](https://github.com/quarkusio/quarkus-project-develocity-extension/compare/1.1.6...1.1.7) --- updated-dependencies: - dependency-name: io.quarkus.develocity:quarkus-project-develocity-extension dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] (cherry picked from commit 6ddd2d4d0ff345fe45201cbe9ca8b54bc4cc245f) --- .mvn/extensions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 4e043844853d3..f5c3d7ab4c99d 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -17,6 +17,6 @@ io.quarkus.develocity quarkus-project-develocity-extension - 1.1.6 + 1.1.7 From d5115522aa69556b30f02b53232922f444bb37f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 22:20:11 +0000 Subject: [PATCH 03/15] Bump com.gradle:develocity-maven-extension from 1.22.2 to 1.23 Bumps com.gradle:develocity-maven-extension from 1.22.2 to 1.23. --- updated-dependencies: - dependency-name: com.gradle:develocity-maven-extension dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] (cherry picked from commit 90c98ce9df5aabbf6022743bd58cb706078bbad9) --- .mvn/extensions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index f5c3d7ab4c99d..a70bff8760fd9 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -2,7 +2,7 @@ com.gradle develocity-maven-extension - 1.21.6 + 1.23 com.gradle From e5c10977fc4fe8e34ded19b2099d0e00a990dd9b Mon Sep 17 00:00:00 2001 From: Maciej Lisowski Date: Tue, 17 Dec 2024 14:36:29 +0100 Subject: [PATCH 04/15] Docs: Correct word form in Native Applications Tips Signed-off-by: Maciej Lisowski (cherry picked from commit 732833d6b7f3b66fcb5965d999c07d7ea7a3ade7) --- docs/src/main/asciidoc/writing-native-applications-tips.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/writing-native-applications-tips.adoc b/docs/src/main/asciidoc/writing-native-applications-tips.adoc index b7ca08afcc0c3..acb6ff35f3c39 100644 --- a/docs/src/main/asciidoc/writing-native-applications-tips.adoc +++ b/docs/src/main/asciidoc/writing-native-applications-tips.adoc @@ -197,7 +197,7 @@ public class MyReflectionConfiguration { } ---- -Note: By default the `@RegisterForReflection` annotation will also registered any potential nested classes for reflection. If you want to avoid this behavior, you can set the `ignoreNested` attribute to `true`. +Note: By default the `@RegisterForReflection` annotation will also register any potential nested classes for reflection. If you want to avoid this behavior, you can set the `ignoreNested` attribute to `true`. ==== Using a configuration file From db9706625d9120ec86eb1e9327e8f3f496c2f953 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 18 Dec 2024 17:37:49 +0100 Subject: [PATCH 05/15] Fix matrix computation for Ubuntu 24 (cherry picked from commit 38f44a759e77ab8599788b0faa40f2668ff1a1e4) --- .github/workflows/ci-actions-incremental.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 725f88fd9eaa4..122ceeebd0094 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -315,13 +315,13 @@ jobs: elif [ "${GIB_IMPACTED_MODULES}" != '_all_' ] then # Important: keep -pl ... in actual jobs in sync with the following grep commands! - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv 'integration-tests/(devtools|gradle|maven|devmode|kubernetes/.*)|tcks/.*'; then run_jvm=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/devtools'; then run_devtools=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/gradle'; then run_gradle=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/(maven|devmode)'; then run_maven=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/kubernetes/.*'; then run_kubernetes=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv '(docs|integration-tests|tcks)/.*'; then run_quickstarts=false; fi - if ! echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'tcks/.*'; then run_tcks=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv 'integration-tests/(devtools|gradle|maven|devmode|kubernetes/.*)|tcks/.*'); then run_jvm=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/devtools'); then run_devtools=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/gradle'); then run_gradle=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/(maven|devmode)'); then run_maven=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/kubernetes/.*'); then run_kubernetes=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv '(docs|integration-tests|tcks)/.*'); then run_quickstarts=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'tcks/.*'); then run_tcks=false; fi fi echo "run_jvm=${run_jvm}, run_devtools=${run_devtools}, run_gradle=${run_gradle}, run_maven=${run_maven}, run_kubernetes=${run_kubernetes}, run_quickstarts=${run_quickstarts}, run_tcks=${run_tcks}" echo "run_jvm=${run_jvm}" >> $GITHUB_OUTPUT From dc08bfd453b9f59e17ec2f2cbb8c7f67445ad2da Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Fri, 20 Dec 2024 18:20:00 +0100 Subject: [PATCH 06/15] Update quarkus-project-develocity-extension to 1.1.8 (cherry picked from commit ed814fddc66c93ec961057a3b201cb80240cea65) --- .mvn/extensions.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index a70bff8760fd9..aa2e11c78392c 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -17,6 +17,6 @@ io.quarkus.develocity quarkus-project-develocity-extension - 1.1.7 + 1.1.8 From e894a34f63b70822f945a6c01ed17621429688de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 22:19:28 +0000 Subject: [PATCH 07/15] Bump hibernate-orm.version from 6.6.3.Final to 6.6.4.Final Bumps `hibernate-orm.version` from 6.6.3.Final to 6.6.4.Final. Updates `org.hibernate.orm:hibernate-core` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) Updates `org.hibernate.orm:hibernate-graalvm` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) Updates `org.hibernate.orm:hibernate-envers` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) Updates `org.hibernate.orm:hibernate-jpamodelgen` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) Updates `org.hibernate:hibernate-jpamodelgen` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) Updates `org.hibernate.orm:hibernate-community-dialects` from 6.6.3.Final to 6.6.4.Final - [Release notes](https://github.com/hibernate/hibernate-orm/releases) - [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt) - [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4) --- updated-dependencies: - dependency-name: org.hibernate.orm:hibernate-core dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.hibernate.orm:hibernate-graalvm dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.hibernate.orm:hibernate-envers dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.hibernate.orm:hibernate-jpamodelgen dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.hibernate:hibernate-jpamodelgen dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.hibernate.orm:hibernate-community-dialects dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] (cherry picked from commit 760c5c9d65aa67b8a01d4d5c5fc80e879629b92c) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f24d3a25d994b..6c8abbf5b0b12 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ 0.8.12 6.13.4 5.5.0 - 6.6.3.Final + 6.6.4.Final 4.13.0 1.14.18 7.0.3.Final From f453f7f86d68dfaabbaca0b9fcead4f95e8f79f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Fri, 20 Dec 2024 18:04:02 +0100 Subject: [PATCH 08/15] Upgrade to Hibernate Reactive 2.4.3.Final (cherry picked from commit 128186c6eaeac08cc6db1092b4fbea042decefe3) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6c8abbf5b0b12..a77608d4959a6 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ 4.13.0 1.14.18 7.0.3.Final - 2.4.2.Final + 2.4.3.Final 8.0.1.Final 7.2.1.Final From aa4888530d5e663e117cb08508fcc7df4576164b Mon Sep 17 00:00:00 2001 From: Johnathan Gilday Date: Mon, 23 Dec 2024 10:13:20 -0500 Subject: [PATCH 09/15] Typo in Proxy Configuration Guidance HTTP documentation includes guidance for configuring a reverse proxy. It states that the proxy should strip "X-Forwarded" and "X-Forwarded-*" headers, but I believe it meant "Forwarded" and "X-Forwarded-*" headers. (cherry picked from commit ab5ac962ed09db20946f07316abc60e6ee4c33ae) --- docs/src/main/asciidoc/http-reference.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/http-reference.adoc b/docs/src/main/asciidoc/http-reference.adoc index 56a55dff12a9b..0e76cba31ee16 100644 --- a/docs/src/main/asciidoc/http-reference.adoc +++ b/docs/src/main/asciidoc/http-reference.adoc @@ -554,7 +554,7 @@ quarkus.http.proxy.trusted-proxies=127.0.0.1 <1> ---- <1> Configure trusted proxy with the IP address `127.0.0.1`. Request headers from any other address are going to be ignored. -Both configurations related to standard and non-standard headers can be combined, although the standard headers configuration will have precedence. However, combining them has security implications as clients can forge requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected `X-Forwarded` or `X-Forwarded-*` headers from the client. +Both configurations related to standard and non-standard headers can be combined, although the standard headers configuration will have precedence. However, combining them has security implications as clients can forge requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected `Forwarded` or `X-Forwarded-*` headers from the client. Supported forwarding address headers are: From 78dc4392817f80e55a9b6251ff236ed040451644 Mon Sep 17 00:00:00 2001 From: Johnathan Gilday Date: Mon, 23 Dec 2024 12:50:57 -0500 Subject: [PATCH 10/15] Typo in ProxyConfig `X-Forwarded` means to refer to `Forwarded` (cherry picked from commit 0b097eb581c7edaa5bad901eb1421b1e4f3a5a0c) --- .../main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java index 210fe6ddfb1ba..5dac111e613eb 100644 --- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java +++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/ProxyConfig.java @@ -35,7 +35,7 @@ public class ProxyConfig { * the precedence. * Activating this together with {@code quarkus.http.proxy.allow-x-forwarded} has security implications as clients can forge * requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected - * `X-Forwarded` or `X-Forwarded-*` headers from the client. + * `Forwarded` or `X-Forwarded-*` headers from the client. */ @ConfigItem public boolean allowForwarded; @@ -47,7 +47,7 @@ public class ProxyConfig { * precedence. * Activating this together with {@code quarkus.http.proxy.allow-forwarded} has security implications as clients can forge * requests with a forwarded header that is not overwritten by the proxy. Therefore, proxies should strip unexpected - * `X-Forwarded` or `X-Forwarded-*` headers from the client. + * `Forwarded` or `X-Forwarded-*` headers from the client. */ @ConfigItem public Optional allowXForwarded; From 83a01bd2cb2d050e77dabca7d5c63f7d3da11f79 Mon Sep 17 00:00:00 2001 From: Maciej Lisowski Date: Sat, 28 Dec 2024 13:10:49 +0100 Subject: [PATCH 11/15] Docs: Correct sentence in Simplified MongoDB with Panache Signed-off-by: Maciej Lisowski (cherry picked from commit 7cc984932120b7d6c10d69e3a2e52ad25b75edee) --- docs/src/main/asciidoc/mongodb-panache.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/mongodb-panache.adoc b/docs/src/main/asciidoc/mongodb-panache.adoc index 60ab35867ab0e..1b5c9273779ff 100644 --- a/docs/src/main/asciidoc/mongodb-panache.adoc +++ b/docs/src/main/asciidoc/mongodb-panache.adoc @@ -242,7 +242,7 @@ List namesButEmmanuels = persons .collect(Collectors.toList()); ---- -NOTE: A `persistOrUpdate()` method exist that persist or update an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query. +NOTE: A `persistOrUpdate()` method persists or updates an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query. === Adding entity methods @@ -410,7 +410,7 @@ List namesButEmmanuels = persons .collect(Collectors.toList()); ---- -NOTE: A `persistOrUpdate()` method exist that persist or update an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query. +NOTE: A `persistOrUpdate()` method persists or updates an entity in the database, it uses the __upsert__ capability of MongoDB to do it in a single query. NOTE: The rest of the documentation show usages based on the active record pattern only, but keep in mind that they can be performed with the repository pattern as well. From a2468388aa05976ab40612a0d1949ba468efa845 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Thu, 2 Jan 2025 15:11:46 +0100 Subject: [PATCH 12/15] swapi.dev is down, use swapi.tech (cherry picked from commit 42ccd1700f8fe9d08b0069c501ebd9be20e790ca) --- docs/src/main/asciidoc/context-propagation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/context-propagation.adoc b/docs/src/main/asciidoc/context-propagation.adoc index fdfef1d23bae8..a9e4628f965b9 100644 --- a/docs/src/main/asciidoc/context-propagation.adoc +++ b/docs/src/main/asciidoc/context-propagation.adoc @@ -135,7 +135,7 @@ them to the client as JSON using xref:rest-json.adoc[Jackson or JSON-B]: // Create a REST client to the Star Wars API WebClient client = WebClient.create(vertx, new WebClientOptions() - .setDefaultHost("swapi.dev") + .setDefaultHost("swapi.net") .setDefaultPort(443) .setSsl(true)); // get the list of Star Wars people, with context capture From 5591526d30c13a2f447fe465d205b170a01e001b Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Tue, 7 Jan 2025 09:11:04 +0100 Subject: [PATCH 13/15] Use swapi.tech for The Star Wars API calls (cherry picked from commit b5755ed8ae573e1945e82c4768bcbc40ce62f7eb) --- docs/src/main/asciidoc/context-propagation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/context-propagation.adoc b/docs/src/main/asciidoc/context-propagation.adoc index a9e4628f965b9..59db1b0086d7c 100644 --- a/docs/src/main/asciidoc/context-propagation.adoc +++ b/docs/src/main/asciidoc/context-propagation.adoc @@ -135,7 +135,7 @@ them to the client as JSON using xref:rest-json.adoc[Jackson or JSON-B]: // Create a REST client to the Star Wars API WebClient client = WebClient.create(vertx, new WebClientOptions() - .setDefaultHost("swapi.net") + .setDefaultHost("swapi.tech") .setDefaultPort(443) .setSsl(true)); // get the list of Star Wars people, with context capture From 6e034e929709975337b9b7f6995518110897ccfd Mon Sep 17 00:00:00 2001 From: row Date: Tue, 7 Jan 2025 17:07:21 +0100 Subject: [PATCH 14/15] fix typo (cherry picked from commit c7f68aeb88c7f72b537f2567fc5828a5af79b59c) --- docs/src/main/asciidoc/deploying-to-kubernetes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/deploying-to-kubernetes.adoc b/docs/src/main/asciidoc/deploying-to-kubernetes.adoc index 40f358744db22..3690974cd5e22 100644 --- a/docs/src/main/asciidoc/deploying-to-kubernetes.adoc +++ b/docs/src/main/asciidoc/deploying-to-kubernetes.adoc @@ -301,7 +301,7 @@ of secret that contains the required credentials. Quarkus can automatically gene quarkus.kubernetes.generate-image-pull-secret=true ---- -More specifically a `Secret`like the one bellow is genrated: +More specifically a `Secret` like the one below is generated: [source,yaml] ---- From e5b521984a9762be65f417530bb9cf817c293134 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 8 Jan 2025 10:25:18 +0100 Subject: [PATCH 15/15] Do not use grep -q when calculating the matrix grep -q exits as soon as it matches which can cause broken pipes if echo is not finished with the output. It should hopefully fix the issues with calculating the matrix in Ubuntu 24 (no idea why the Ubuntu 24 runners are more sensitive...). (cherry picked from commit 1937736b7be679ef8d2b1f93e0a8b4dd504a3168) --- .github/workflows/ci-actions-incremental.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-actions-incremental.yml b/.github/workflows/ci-actions-incremental.yml index 122ceeebd0094..4a43b68b3d7b4 100644 --- a/.github/workflows/ci-actions-incremental.yml +++ b/.github/workflows/ci-actions-incremental.yml @@ -315,13 +315,14 @@ jobs: elif [ "${GIB_IMPACTED_MODULES}" != '_all_' ] then # Important: keep -pl ... in actual jobs in sync with the following grep commands! - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv 'integration-tests/(devtools|gradle|maven|devmode|kubernetes/.*)|tcks/.*'); then run_jvm=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/devtools'); then run_devtools=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'integration-tests/gradle'); then run_gradle=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/(maven|devmode)'); then run_maven=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qP 'integration-tests/kubernetes/.*'); then run_kubernetes=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -qPv '(docs|integration-tests|tcks)/.*'); then run_quickstarts=false; fi - if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -q 'tcks/.*'); then run_tcks=false; fi + # do not use grep -q as it can exit before echo has finished outputting and cause broken pipes + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -Pv 'integration-tests/(devtools|gradle|maven|devmode|kubernetes/.*)|tcks/.*' > /dev/null); then run_jvm=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep 'integration-tests/devtools' > /dev/null); then run_devtools=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep 'integration-tests/gradle' > /dev/null); then run_gradle=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -P 'integration-tests/(maven|devmode)' > /dev/null); then run_maven=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -P 'integration-tests/kubernetes/.*' > /dev/null); then run_kubernetes=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep -Pv '(docs|integration-tests|tcks)/.*' > /dev/null); then run_quickstarts=false; fi + if ! (echo -n "${GIB_IMPACTED_MODULES}" | grep 'tcks/.*' > /dev/null); then run_tcks=false; fi fi echo "run_jvm=${run_jvm}, run_devtools=${run_devtools}, run_gradle=${run_gradle}, run_maven=${run_maven}, run_kubernetes=${run_kubernetes}, run_quickstarts=${run_quickstarts}, run_tcks=${run_tcks}" echo "run_jvm=${run_jvm}" >> $GITHUB_OUTPUT