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:14:31 UTC

[camel-k] 01/01: chore: e2e run before releasing

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

commit ea85d75b8374443625fc029680c26aadd98a34c4
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Aug 31 11:14:14 2022 +0200

    chore: e2e run before releasing
---
 .github/workflows/release-workflow.yml | 13 ++++++++-----
 .github/workflows/release.yml          | 27 +++------------------------
 2 files changed, 11 insertions(+), 29 deletions(-)

diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml
index fdb3eb130..94f0c6e6c 100644
--- a/.github/workflows/release-workflow.yml
+++ b/.github/workflows/release-workflow.yml
@@ -50,6 +50,13 @@ jobs:
         uses: actions/checkout@v2
         with:
           ref: ${{ inputs.ref }}
+
+      - name: Execute E2E common Tests
+        uses: ./.github/actions/e2e-common
+        with:
+          cluster-config-data: ${{ secrets.E2E_CLUSTER_CONFIG }}
+          cluster-kube-config-data: ${{ secrets.E2E_KUBE_CONFIG }}
+
       - name: Cache modules
         uses: actions/cache@v1
         with:
@@ -80,11 +87,7 @@ jobs:
           username: ${{ secrets.registryUsername }}
           password: ${{ secrets.registryPassword }}
 
-      - name: Codegen
-        run: |
-          make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} codegen set-version build-resources
-
-      - name: Build
+      - name: Build nightly image and push to registry
         run: |
           make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} release-nightly
 
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 26774974e..51236d1aa 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,35 +22,14 @@ on:
     - cron: "10 23 * * *"
 
 jobs:
-  main:
+  dev_v1_8_x:
     if: github.repository == 'apache/camel-k'
     uses: ./.github/workflows/release-workflow.yml
     with:
-      ref: "main"
-      goVersion: "1.17.x"
-      javaVersion: "11"
-    secrets:
-      registryUsername: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
-      registryPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
-
-  v1_8_x:
-    if: github.repository == 'apache/camel-k'
-    uses: ./.github/workflows/release-workflow.yml
-    with:
-      ref: "release-1.8.x"
-      goVersion: "1.17.x"
-      javaVersion: "11"
-    secrets:
-      registryUsername: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
-      registryPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
-
-  v1_9_x:
-    if: github.repository == 'apache/camel-k'
-    uses: ./.github/workflows/release-workflow.yml
-    with:
-      ref: "release-1.9.x"
+      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 }}
+