You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2023/04/30 22:04:54 UTC
[camel-quarkus] 02/03: Limit aether.connector.http.connectionMaxTtl to 120 seconds to avoid Connection timeouts on Github actions #4842
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit f66584aabe8f4ff86bc1bb06af0b58a8de859604
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Sun Apr 30 21:22:13 2023 +0200
Limit aether.connector.http.connectionMaxTtl to 120 seconds to avoid
Connection timeouts on Github actions #4842
---
.github/workflows/camel-master-cron.yaml | 2 +-
.github/workflows/ci-build.yaml | 2 +-
.github/workflows/generate-sbom-main.yml | 6 +++++-
.github/workflows/pr-validate.yml | 2 +-
.github/workflows/quarkus-master-cron.yaml | 2 +-
5 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml
index 7c95f4c8e8..f39d7d3b10 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -25,7 +25,7 @@ on:
env:
LANG: en_US.UTF-8
MAVEN_OPTS: -Xmx3000m
- CQ_MAVEN_ARGS: -V -ntp -e
+ CQ_MAVEN_ARGS: -V -ntp -e -Daether.connector.http.connectionMaxTtl=120
BRANCH_OPTIONS: -Papache-snapshots
TESTCONTAINERS_RYUK_DISABLED: true
ISSUE_ID: 2927
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 097a5c2686..cdae7f887a 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -53,7 +53,7 @@ concurrency:
env:
LANG: en_US.UTF-8
MAVEN_OPTS: -Xmx3000m
- CQ_MAVEN_ARGS: -V -ntp -e
+ CQ_MAVEN_ARGS: -V -ntp -e -Daether.connector.http.connectionMaxTtl=120
TESTCONTAINERS_RYUK_DISABLED: true
CHECKOUT_REF: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' && github.head_ref || '' }}
diff --git a/.github/workflows/generate-sbom-main.yml b/.github/workflows/generate-sbom-main.yml
index 0fc8595582..649fef15b3 100644
--- a/.github/workflows/generate-sbom-main.yml
+++ b/.github/workflows/generate-sbom-main.yml
@@ -21,6 +21,10 @@ on:
schedule:
- cron: '30 10 * * 0'
workflow_dispatch:
+env:
+ LANG: en_US.UTF-8
+ MAVEN_OPTS: -Xmx3000m
+ CQ_MAVEN_ARGS: -V -ntp -e -Daether.connector.http.connectionMaxTtl=120
permissions: {}
jobs:
@@ -47,7 +51,7 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'
- name: mvn build and sbom generation
- run: ./mvnw -V --no-transfer-progress -e -Psbom -Dquickly -DskipTests verify
+ run: ./mvnw -V --no-transfer-progress -e -Psbom -Dquickly -DskipTests verify ${CQ_MAVEN_ARGS}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index ee37632c04..5a38be0ffa 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -38,7 +38,7 @@ concurrency:
env:
LANG: en_US
MAVEN_OPTS: -Xmx3000m
- CQ_MAVEN_ARGS: -V -ntp -e
+ CQ_MAVEN_ARGS: -V -ntp -e -Daether.connector.http.connectionMaxTtl=120
jobs:
check-format:
diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml
index fa41989469..ed16c129cf 100644
--- a/.github/workflows/quarkus-master-cron.yaml
+++ b/.github/workflows/quarkus-master-cron.yaml
@@ -25,7 +25,7 @@ on:
env:
LANG: en_US.UTF-8
MAVEN_OPTS: -Xmx3000m
- CQ_MAVEN_ARGS: -V -ntp -e
+ CQ_MAVEN_ARGS: -V -ntp -e -Daether.connector.http.connectionMaxTtl=120
TESTCONTAINERS_RYUK_DISABLED: true
ISSUE_ID: 2926