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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6eaf9eb31 feat(ci): smoke test before nightly release
6eaf9eb31 is described below

commit 6eaf9eb31518d6ee62d4d5ef013146c790eb8774
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Aug 31 14:58:35 2022 +0200

    feat(ci): smoke test before nightly release
    
    Adding common e2e workflow as a first simple smoke test
    
    Ref #3572
---
 .github/workflows/release-workflow.yml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release-workflow.yml 
b/.github/workflows/release-workflow.yml
index fdb3eb130..7e96beb94 100644
--- a/.github/workflows/release-workflow.yml
+++ b/.github/workflows/release-workflow.yml
@@ -50,6 +50,16 @@ jobs:
         uses: actions/checkout@v2
         with:
           ref: ${{ inputs.ref }}
+          persist-credentials: false
+          submodules: recursive
+
+      # Reuse the testing flows used for PRs
+      - name: Smoke 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:
@@ -57,11 +67,13 @@ jobs:
           key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
           restore-keys: |
             ${{ runner.os }}-go-
-      - name: Get nightly version
+      - name: Get nightly version and update date
         shell: bash
         run: |
           V=$(make get-version | sed s/-SNAPSHOT/-nightly/)
+          D=$(date)
           echo "VERSION=$V" >> $GITHUB_ENV
+          echo "UPD_DATE=$D" >> $GITHUB_ENV
       - name: Global Env
         run: |
           echo "Using VERSION=${{ env.VERSION }}"
@@ -105,6 +117,8 @@ jobs:
             ```
             kamel install --olm=false --maven-repository=${{ 
env.MAVEN_REPOSITORY }}
             ```
+            
+            NOTE: last updated on ${{ env.UPD_DATE }}
           token: ${{ secrets.GITHUB_TOKEN }}
           draft: false
           prerelease: true

Reply via email to