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 2020/09/05 14:23:54 UTC

[camel-quarkus] branch master updated (ec6a26a -> 4e55679)

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

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


    from ec6a26a  Replace mvnd.builder.rules with virtual dependencies via mvn process-resources -Pformat -N
     new e60c735  Speedup the initial CI mvn install by adding -T1C
     new 4e55679  Order native tests before other kinds of tests on the CI because they take longest

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/ci-build.yaml | 139 ++++++++++++++++++++--------------------
 1 file changed, 70 insertions(+), 69 deletions(-)


[camel-quarkus] 02/02: Order native tests before other kinds of tests on the CI because they take longest

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

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

commit 4e5567942feaa7a303019714cd52f6add1ed31ca
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Sat Sep 5 13:25:04 2020 +0200

    Order native tests before other kinds of tests on the CI because they take longest
---
 .github/workflows/ci-build.yaml | 136 ++++++++++++++++++++--------------------
 1 file changed, 68 insertions(+), 68 deletions(-)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 681943e..fe40916 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -109,6 +109,74 @@ jobs:
           CATEGORIES=$(cat tooling/scripts/test-categories.yaml | yq r - --printMode p "*." | sed "s/\(.*\)/'\1'/" | sed ':a;N;$!ba;s/\n/,/g')
           echo "::set-output name=matrix::{'category': [${CATEGORIES}]}"
 
+  native-tests:
+    name: Native Tests - ${{matrix.category}}
+    needs: initial-mvn-install
+    runs-on: ubuntu-latest
+    if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM')
+    strategy:
+      fail-fast: false
+      matrix: ${{ fromJson(needs.initial-mvn-install.outputs.matrix) }}
+    steps:
+      - name: Setup apache-snapshots profile
+        if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
+        run: |
+          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+      - name: Setup oss-snapshots profile
+        if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
+        run: |
+          echo '::set-env name=BRANCH_OPTIONS::-Poss-snapshots -Dquarkus.version=999-SNAPSHOT'
+      - name: Checkout
+        uses: actions/checkout@v2
+      - name: Set up JDK 11
+        uses: AdoptOpenJDK/install-jdk@v1
+        with:
+          version: '11'
+      - name: Download Maven Repo
+        uses: actions/download-artifact@v1
+        with:
+          name: maven-repo
+          path: ..
+      - name: Extract Maven Repo
+        shell: bash
+        run: |
+          df -h /
+          tar -xzf ../maven-repo.tgz -C ~
+          df -h /
+      - name: Install yq
+        run: |
+          sudo wget -O /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64"
+          sudo chmod +x /usr/local/bin/yq
+      - name: Integration Tests
+        env:
+          TEST_MODULES: ${{matrix.test-modules}}
+        run: |
+          TEST_MODULES=""
+          for MODULE in $(cat tooling/scripts/test-categories.yaml | yq r - "${{ matrix.category }}.*"); do
+            if [ "${MODULE}" == "-" ]; then
+              continue
+            fi
+            TEST_MODULES="${TEST_MODULES} ${MODULE}"
+          done
+          TEST_MODULES=$(echo ${TEST_MODULES} | sed 's/^[ \t]*//;s/[ \t]*$//')
+
+          if [ -z "${TEST_MODULES}" ]; then
+            echo "No test modules were found for category ${{ matrix.category }}"
+            exit 1
+          fi
+
+          for i in $TEST_MODULES
+          do modules+=("integration-tests/$i"); done
+          IFS=,
+          eval ./mvnw -V -ntp ${BRANCH_OPTIONS} clean verify \
+            -Dformatter.skip -Dimpsort.skip -Denforce=false \
+            -Pnative,docker,ci \
+            -pl "${modules[*]}"
+      - name: Fail if there are uncommitted changes
+        shell: bash
+        run: |
+          [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
+
   functional-extension-tests:
     runs-on: ubuntu-latest
     needs: initial-mvn-install
@@ -240,74 +308,6 @@ jobs:
             -Dformatter.skip -Dimpsort.skip -Denforce=false \
             clean verify
 
-  native-tests:
-    name: Native Tests - ${{matrix.category}}
-    needs: initial-mvn-install
-    runs-on: ubuntu-latest
-    if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'JVM')
-    strategy:
-      fail-fast: false
-      matrix: ${{ fromJson(needs.initial-mvn-install.outputs.matrix) }}
-    steps:
-      - name: Setup apache-snapshots profile
-        if: github.ref == 'refs/heads/camel-master' || github.base_ref == 'camel-master'
-        run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
-      - name: Setup oss-snapshots profile
-        if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
-        run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Poss-snapshots -Dquarkus.version=999-SNAPSHOT'
-      - name: Checkout
-        uses: actions/checkout@v2
-      - name: Set up JDK 11
-        uses: AdoptOpenJDK/install-jdk@v1
-        with:
-          version: '11'
-      - name: Download Maven Repo
-        uses: actions/download-artifact@v1
-        with:
-          name: maven-repo
-          path: ..
-      - name: Extract Maven Repo
-        shell: bash
-        run: |
-          df -h /
-          tar -xzf ../maven-repo.tgz -C ~
-          df -h /
-      - name: Install yq
-        run: |
-          sudo wget -O /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/3.2.1/yq_linux_amd64"
-          sudo chmod +x /usr/local/bin/yq
-      - name: Integration Tests
-        env:
-          TEST_MODULES: ${{matrix.test-modules}}
-        run: |
-          TEST_MODULES=""
-          for MODULE in $(cat tooling/scripts/test-categories.yaml | yq r - "${{ matrix.category }}.*"); do
-            if [ "${MODULE}" == "-" ]; then
-              continue
-            fi
-            TEST_MODULES="${TEST_MODULES} ${MODULE}"
-          done
-          TEST_MODULES=$(echo ${TEST_MODULES} | sed 's/^[ \t]*//;s/[ \t]*$//')
-
-          if [ -z "${TEST_MODULES}" ]; then
-            echo "No test modules were found for category ${{ matrix.category }}"
-            exit 1
-          fi
-
-          for i in $TEST_MODULES
-          do modules+=("integration-tests/$i"); done
-          IFS=,
-          eval ./mvnw -V -ntp ${BRANCH_OPTIONS} clean verify \
-            -Dformatter.skip -Dimpsort.skip -Denforce=false \
-            -Pnative,docker,ci \
-            -pl "${modules[*]}"
-      - name: Fail if there are uncommitted changes
-        shell: bash
-        run: |
-          [[ -z $(git status --porcelain) ]] || { echo 'There are uncommitted changes'; git status; exit 1; }
-
   examples-tests:
     needs: initial-mvn-install
     runs-on: ubuntu-latest


[camel-quarkus] 01/02: Speedup the initial CI mvn install by adding -T1C

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

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

commit e60c735e6884866c47e13170fba7ac5efda00b96
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Sat Sep 5 12:11:43 2020 +0200

    Speedup the initial CI mvn install by adding -T1C
---
 .github/workflows/ci-build.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index cc34476..681943e 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -84,7 +84,8 @@ jobs:
         uses: actions/checkout@v2
       - name: mvn clean install -DskipTests
         run: |
-          ./mvnw -V -ntp ${BRANCH_OPTIONS} clean install -DskipTests -Dquarkus.build.skip
+          ./mvnw -V -ntp ${BRANCH_OPTIONS} clean install -DskipTests -Dquarkus.build.skip \
+            -T1C -Dorg.slf4j.simpleLogger.showThreadName=true
       - name: Fail if there are uncommitted changes
         shell: bash
         run: |