File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 3838 type : string
3939 required : false
4040 default : ' '
41+ CLOUD_TEST_KB_VERSION :
42+ description : " The cloud test kubeblocks version"
43+ type : string
44+ required : false
45+ default : ' '
4146 workflow_call :
4247 inputs :
4348 TEST_ENGINES :
7580 type : string
7681 required : false
7782 default : ' '
83+ CLOUD_TEST_KB_VERSION :
84+ description : " The cloud test kubeblocks version"
85+ type : string
86+ required : false
87+ default : ' '
7888
79- run-name : Cloud E2E Engine Test on Env:${{ inputs.CLOUD_ENV_NAME }}:${{ inputs.CLOUD_TEST_ENV }} ${{ inputs.TEST_ENGINES }} Ref:${{ inputs.CLOUD_BRANCH }}
89+ run-name : Cloud E2E Engine Test on Env:${{ inputs.CLOUD_ENV_NAME }}:${{ inputs.CLOUD_TEST_ENV }}:${{ inputs.CLOUD_TEST_KB_VERSION }} ${{ inputs.TEST_ENGINES }} Ref:${{ inputs.CLOUD_BRANCH }}
8090
8191env :
8292 ACK_KUBECONFIG_DEV : ${{ secrets.ACK_KUBECONFIG_DEV }}
@@ -261,6 +271,9 @@ jobs:
261271 echo "export KB_CLOUD_TEST_NODE=node3"
262272 export KB_CLOUD_TEST_NODE="node3"
263273 fi
274+ CLOUD_TEST_KB_VERSION="${{ inputs.CLOUD_TEST_KB_VERSION }}"
275+ echo "export KB_CLOUD_TEST_KUBEBLOCKS_VERSION=${CLOUD_TEST_KB_VERSION}"
276+ export KB_CLOUD_TEST_KUBEBLOCKS_VERSION="${CLOUD_TEST_KB_VERSION}"
264277
265278 # run e2e clear cluster
266279 bash test/cloud/test_cloud_e2e_clear.sh \
@@ -436,6 +449,9 @@ jobs:
436449 echo "export KB_CLOUD_TEST_NODE=node3"
437450 export KB_CLOUD_TEST_NODE="node3"
438451 fi
452+ CLOUD_TEST_KB_VERSION="${{ inputs.CLOUD_TEST_KB_VERSION }}"
453+ echo "export KB_CLOUD_TEST_KUBEBLOCKS_VERSION=${CLOUD_TEST_KB_VERSION}"
454+ export KB_CLOUD_TEST_KUBEBLOCKS_VERSION="${CLOUD_TEST_KB_VERSION}"
439455
440456 TEST_ENGINES="${{ matrix.test-engine }}"
441457 TEST_JOB_INDEX="${{ matrix.test-job-index }}"
Original file line number Diff line number Diff line change 7070 BRANCH_NAME : " main"
7171 WORKFLOW_ID : " cloud-e2e-engine.yml"
7272 APECD_REF : " main"
73- EXTRA_ARGS : " CLOUD_ENV_NAME=idc1#CLOUD_BRANCH=release-2.0#CURRENT_VERSION=v2.0#TEST_ENGINES=${{ vars.KB_CLOUD_TEST_ENGINES_10 }}#TEST_INDEX=${{ needs.schedule-cron.outputs.day-of-week }}"
73+ EXTRA_ARGS : " CLOUD_ENV_NAME=idc1#CLOUD_TEST_KB_VERSION=1.0# CLOUD_BRANCH=release-2.0#CURRENT_VERSION=v2.0#TEST_ENGINES=${{ vars.KB_CLOUD_TEST_ENGINES_10 }}#TEST_INDEX=${{ needs.schedule-cron.outputs.day-of-week }}"
7474 secrets : inherit
7575
7676 e2e-engine-test-20-09 :
8181 BRANCH_NAME : " main"
8282 WORKFLOW_ID : " cloud-e2e-engine.yml"
8383 APECD_REF : " main"
84- EXTRA_ARGS : " CLOUD_TEST_ENV=idc#CLOUD_ENV_NAME=idc1#CLOUD_BRANCH=release-2.0#CURRENT_VERSION=v2.0#TEST_ENGINES=${{ vars.KB_CLOUD_TEST_ENGINES_10 }}#TEST_INDEX=${{ needs.schedule-cron.outputs.day-of-week }}"
84+ EXTRA_ARGS : " CLOUD_TEST_ENV=idc#CLOUD_TEST_KB_VERSION=0.9# CLOUD_ENV_NAME=idc1#CLOUD_BRANCH=release-2.0#CURRENT_VERSION=v2.0#TEST_ENGINES=${{ vars.KB_CLOUD_TEST_ENGINES_10 }}#TEST_INDEX=${{ needs.schedule-cron.outputs.day-of-week }}"
8585 secrets : inherit
You can’t perform that action at this time.
0 commit comments