You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2020/09/22 13:51:09 UTC

[camel-kafka-connector] branch master updated (956a72e -> 464a8b5)

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.


    from 956a72e  Fixes typos when an invalid instance type is provided
     new 6cf39cf  Implement the connection timeout work-around on the remaining scenarios
     new 464a8b5  Enable repository caching in addition to the timeout work-around

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/automatic-sync-camel-master.yml     | 9 ++++++++-
 .github/workflows/master-pr-build.yml                 | 9 ++++++++-
 .github/workflows/master-push-build.yml               | 7 +++++++
 .github/workflows/rebase-master-onto-camel-master.yml | 9 ++++++++-
 4 files changed, 31 insertions(+), 3 deletions(-)


[camel-kafka-connector] 01/02: Implement the connection timeout work-around on the remaining scenarios

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 6cf39cf9ca055ecdf1cac2c16f824e5413f3199f
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Tue Sep 22 14:17:51 2020 +0200

    Implement the connection timeout work-around on the remaining scenarios
    
    Use the work-around suggested on https://github.com/actions/virtual-environments/issues/1499 to avoid connection timeout errors in the github actions
---
 .github/workflows/automatic-sync-camel-master.yml     | 2 +-
 .github/workflows/master-pr-build.yml                 | 2 +-
 .github/workflows/rebase-master-onto-camel-master.yml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/automatic-sync-camel-master.yml b/.github/workflows/automatic-sync-camel-master.yml
index 4bda00e..8dc540b 100644
--- a/.github/workflows/automatic-sync-camel-master.yml
+++ b/.github/workflows/automatic-sync-camel-master.yml
@@ -51,7 +51,7 @@ jobs:
         run: |
           ./mvnw -V --no-transfer-progress -DskipTests --projects org.apache.camel.kafkaconnector:parent,org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator,org.apache.camel.kafkaconnector:camel-buildtools clean install
           ./mvnw -V --no-transfer-progress --projects org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipTests clean install
-          ./mvnw -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
+          ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
       - name: Create Pull Request
         uses: peter-evans/create-pull-request@v2.4.1
         with:
diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
index 928332a..14cfb58 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -40,4 +40,4 @@ jobs:
         run: |
           ./mvnw -V --no-transfer-progress -DskipTests --projects org.apache.camel.kafkaconnector:parent,org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator,org.apache.camel.kafkaconnector:camel-buildtools clean install
           ./mvnw -V --no-transfer-progress --projects org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipTests clean install
-          ./mvnw -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
+          ./mvnw -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
diff --git a/.github/workflows/rebase-master-onto-camel-master.yml b/.github/workflows/rebase-master-onto-camel-master.yml
index 4333294..59f178f 100644
--- a/.github/workflows/rebase-master-onto-camel-master.yml
+++ b/.github/workflows/rebase-master-onto-camel-master.yml
@@ -53,7 +53,7 @@ jobs:
         run: |
           ./mvnw -V --no-transfer-progress -DskipTests --projects org.apache.camel.kafkaconnector:parent,org.apache.camel.kafkaconnector:camel-kafka-connector-aggregator,org.apache.camel.kafkaconnector:camel-buildtools clean install
           ./mvnw -V --no-transfer-progress --projects org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipTests clean install
-          ./mvnw -V --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
+          ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress --projects '!org.apache.camel.kafkaconnector:camel-kafka-connector-generator-maven-plugin' -Dcheckstyle.failOnViolation=true -Psourcecheck -DskipIntegrationTests=false clean test
       - name: Sync branch Master to Camel Master
         run: |
           git push --force-with-lease origin camel-master


[camel-kafka-connector] 02/02: Enable repository caching in addition to the timeout work-around

Posted by or...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 464a8b57a9aeca86d4d1fdd60c8ca747821d3264
Author: Otavio Rodolfo Piske <op...@redhat.com>
AuthorDate: Tue Sep 22 14:59:18 2020 +0200

    Enable repository caching in addition to the timeout work-around
---
 .github/workflows/automatic-sync-camel-master.yml     | 7 +++++++
 .github/workflows/master-pr-build.yml                 | 7 +++++++
 .github/workflows/master-push-build.yml               | 7 +++++++
 .github/workflows/rebase-master-onto-camel-master.yml | 7 +++++++
 4 files changed, 28 insertions(+)

diff --git a/.github/workflows/automatic-sync-camel-master.yml b/.github/workflows/automatic-sync-camel-master.yml
index 8dc540b..5f48be2 100644
--- a/.github/workflows/automatic-sync-camel-master.yml
+++ b/.github/workflows/automatic-sync-camel-master.yml
@@ -39,6 +39,13 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
+      - name: Cache local Maven repository
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: Build Camel Project
         run: ./mvnw -V --no-transfer-progress clean install -DskipTests
         working-directory: ${{ github.workspace }}/camel
diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
index 14cfb58..273da5f 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -33,6 +33,13 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
+      - name: Cache local Maven repository
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: mvn sourcecheck + build and itests
         # first command builds the source check module,
         # second one source check and install :camel-kafka-connector-generator-maven-plugin. This is needed to add maven plugin metadata to it,
diff --git a/.github/workflows/master-push-build.yml b/.github/workflows/master-push-build.yml
index daa5e21..6558b20 100644
--- a/.github/workflows/master-push-build.yml
+++ b/.github/workflows/master-push-build.yml
@@ -33,6 +33,13 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
+      - name: Cache local Maven repository
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: mvn sourcecheck + build and itests
         # first command builds the source check module,
         # second one source check and install :camel-kafka-connector-generator-maven-plugin. This is needed to add maven plugin metadata to it,
diff --git a/.github/workflows/rebase-master-onto-camel-master.yml b/.github/workflows/rebase-master-onto-camel-master.yml
index 59f178f..bfebb7c 100644
--- a/.github/workflows/rebase-master-onto-camel-master.yml
+++ b/.github/workflows/rebase-master-onto-camel-master.yml
@@ -38,6 +38,13 @@ jobs:
         with:
           ref: camel-master
           fetch-depth: 0
+      - name: Cache local Maven repository
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
       - name: Rebase branch master onto camel-master
         run: |
           git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"