You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/08/31 09:22:19 UTC

[camel-k] branch dev-release-1.8.x updated: chore: use common to trigger manually

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

pcongiusti pushed a commit to branch dev-release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/dev-release-1.8.x by this push:
     new 9f6370c05 chore: use common to trigger manually
9f6370c05 is described below

commit 9f6370c05ff768d24cdcdb63a7fc21175e4f7e42
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Aug 31 11:22:06 2022 +0200

    chore: use common to trigger manually
---
 .github/workflows/common.yml | 76 ++++++--------------------------------------
 1 file changed, 10 insertions(+), 66 deletions(-)

diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml
index bbc948a91..f61c487d9 100644
--- a/.github/workflows/common.yml
+++ b/.github/workflows/common.yml
@@ -18,73 +18,17 @@
 name: common
 
 on:
-  pull_request:
-    branches:
-      - main
-      - "release-*"
-    paths-ignore:
-      - 'docs/**'
-      - 'proposals/**'
-      - '**.adoc'
-      - '**.md'
-      - 'KEYS'
-      - 'LICENSE'
-      - 'NOTICE'
-  push:
-    branches:
-      - main
-      - "release-*"
-    paths-ignore:
-      - 'docs/**'
-      - 'proposals/**'
-      - '**.adoc'
-      - '**.md'
-      - 'KEYS'
-      - 'LICENSE'
-      - 'NOTICE'
   workflow_dispatch:
     inputs:
-      pre-built-kamel-image:
-        description: 'Kamel image url for skipping building of kamel stages. Used for debugging'
-        required: false
-      skip-problematic:
-        description: 'Whether tests marked as problematic should be skipped - false by default (sets CAMEL_K_TEST_SKIP_PROBLEMATIC)'
-        required: false
-        default: false
-      test-filters:
-        description: |
-          List of comma-separated key/value pairs to filter the tests in this test suite:
-            TEST_INTEGRATION_COMMON_RUN,        TEST_INTEGRATION_COMMON_BUILD_RUN, TEST_INTEGRATION_COMMON_CONFIG_RUN,
-            TEST_INTEGRATION_COMMON_LANG_RUN,   TEST_INTEGRATION_COMMON_TRAITS_RUN
-            TEST_SERVICE_RUN,                   TEST_REGISTRY_MAVEN_WAGON_RUN
-          eg. TEST_INTEGRATION_COMMON_RUN=TestBasic will only run tests prefixed with 'TestBasic'
-        required: false
-
-concurrency:
-  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
-  cancel-in-progress: true
 
 jobs:
-  common-it:
-
-    runs-on: ubuntu-20.04
-
-    steps:
-    - name: Checkout code
-      uses: actions/checkout@v2
-      with:
-        persist-credentials: false
-        submodules: recursive
-    - name: Convert input parameters to env vars
-      shell: bash
-      run: |
-        ./.github/workflows/manual-exec-process-inputs.sh \
-          -i "${{ github.event.inputs.pre-built-kamel-image }}" \
-          -p "${{ github.event.inputs.skip-problematic }}" \
-          -t "${{ github.event.inputs.test-filters }}"
-
-    - name: Execute Tests
-      uses: ./.github/actions/e2e-common
-      with:
-        cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
-        cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
+  dev_v1_8_x:
+    if: github.repository == 'apache/camel-k'
+    uses: ./.github/workflows/release-workflow.yml
+    with:
+      ref: "dev-release-1.8.x"
+      goVersion: "1.17.x"
+      javaVersion: "11"
+    secrets:
+      registryUsername: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
+      registryPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
\ No newline at end of file