diff --git a/.github/workflows/merge-trigger-tke.yaml b/.github/workflows/merge-trigger-tke.yaml index 16781d35817f4..524a97b823d92 100644 --- a/.github/workflows/merge-trigger-tke.yaml +++ b/.github/workflows/merge-trigger-tke.yaml @@ -13,7 +13,7 @@ on: jobs: docker_image_build: - runs-on: amd64-tke-dind + runs-on: amd64-mo-guangzhou-dind if: ${{ github.event.pull_request.merged == true }} timeout-minutes: 60 name: BUILD MO DOCKER IMAGE @@ -55,7 +55,7 @@ jobs: setup_mo_test_env: if: ${{ always() && !cancelled() && needs.docker_image_build.result == 'success' }} needs: docker_image_build - runs-on: amd64-tke-mo + runs-on: amd64-mo-guangzhou-medium8 timeout-minutes: 90 name: SETUP MO TEST ENV outputs: @@ -85,9 +85,9 @@ jobs: echo '${{ needs.docker_image_build.outputs.version }}' cd $GITHUB_WORKSPACE/matrixone sed -i 's/nsformocheckin/mo-checkin-regression-${{ github.event.pull_request.number }}/g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml - sed -i 's/s3pathformocheckin/mo-checkin-regression-1308875761\/${{ github.event.pull_request.number }}/g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml - sed -i 's/regionformocheckin/ap-chengdu/g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml - sed -i 's@endpointformocheckin@https://cos.ap-chengdu.myqcloud.com@g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml + sed -i 's/s3pathformocheckin/mo-checkin-gz-1308875761\/${{ github.event.pull_request.number }}/g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml + sed -i 's/regionformocheckin/ap-guangzhou/g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml + sed -i 's@endpointformocheckin@https://cos.ap-guangzhou.myqcloud.com@g' $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml sed -i "s/imagetag/${{ needs.docker_image_build.outputs.version }}/g" $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml cat $GITHUB_WORKSPACE/matrixone/optools/mo_checkin_regression/mo_checkin_regression_tke.yaml @@ -189,7 +189,7 @@ jobs: bvt_test: if: ${{ always() && !cancelled() && needs.setup_mo_test_env.result == 'success' }} name: MO CHECKIN BVT TEST - runs-on: amd64-tke-mo + runs-on: amd64-mo-guangzhou-medium8 needs: [setup_mo_test_env,docker_image_build] steps: - name: Clone MO-Tester @@ -241,7 +241,7 @@ jobs: ssb_and_tpch_test: if: ${{ always() && !cancelled() && needs.setup_mo_test_env.result == 'success' }} name: MO CHECKIN SSB AND TPCH TEST - runs-on: amd64-tke-large + runs-on: amd64-mo-guangzhou-2xlarge16 needs: [setup_mo_test_env,bvt_test] steps: - name: Clone mo-load-data Repo @@ -251,7 +251,7 @@ jobs: repository: matrixorigin/mo-load-data token: ${{secrets.TOKEN_ACTION}} path: ./mo-load-data - ref: main + ref: change_cos_bucket - name: Clone mo-ssb Repo if: ${{ always() && !cancelled() }} @@ -290,7 +290,7 @@ jobs: - name: Modify Tool's Setting And Set PATH run: | cd $GITHUB_WORKSPACE/mo-load-data - sed -i '/.*ENDPOINT: ""*/c\ENDPOINT: "cos.ap-chengdu.myqcloud.com"' access.yml + sed -i '/.*ENDPOINT: ""*/c\ENDPOINT: "cos.ap-guangzhou.myqcloud.com"' access.yml sed -i '/.*ACCESS_KEY_ID: ""*/c\ACCESS_KEY_ID: "${{secrets.TENCENT_AK}}"' access.yml sed -i '/.*SECRET_ACCESS_KEY: ""*/c\SECRET_ACCESS_KEY: "${{secrets.TENCENT_SK}}"' access.yml echo "$JAVA_HOME/bin" >> $GITHUB_PATH @@ -448,7 +448,7 @@ jobs: sysbench_test: if: ${{ always() && !cancelled() && needs.setup_mo_test_env.result == 'success' }} name: SYSBENCH TEST - runs-on: amd64-tke-large + runs-on: amd64-mo-guangzhou-2xlarge16 needs: [setup_mo_test_env,bvt_test] steps: - name: Clone mo-load Repo @@ -543,7 +543,7 @@ jobs: tpcc_test: if: ${{ always() && !cancelled() && needs.setup_mo_test_env.result == 'success'}} name: TPCC TEST - runs-on: amd64-tke-large + runs-on: amd64-mo-guangzhou-2xlarge16 needs: [setup_mo_test_env,bvt_test] steps: - name: Clone mo-load-data Repo @@ -553,7 +553,7 @@ jobs: repository: matrixorigin/mo-load-data token: ${{secrets.TOKEN_ACTION}} path: ./mo-load-data - ref: main + ref: change_cos_bucket - name: Clone mo-tpcc Repo if: ${{ always() && !cancelled() }} @@ -584,7 +584,7 @@ jobs: - name: Modify Tool's Setting And Set PATH run: | cd $GITHUB_WORKSPACE/mo-load-data - sed -i '/.*ENDPOINT: ""*/c\ENDPOINT: "cos.ap-chengdu.myqcloud.com"' access.yml + sed -i '/.*ENDPOINT: ""*/c\ENDPOINT: "cos.ap-guangzhou.myqcloud.com"' access.yml sed -i '/.*ACCESS_KEY_ID: ""*/c\ACCESS_KEY_ID: "${{secrets.TENCENT_AK}}"' access.yml sed -i '/.*SECRET_ACCESS_KEY: ""*/c\SECRET_ACCESS_KEY: "${{secrets.TENCENT_SK}}"' access.yml @@ -668,7 +668,7 @@ jobs: clean_up_env: if: ${{ always() && github.event.pull_request.merged == true }} name: CLEAN ENV AND NOTICE - runs-on: amd64-tke-mo + runs-on: amd64-mo-guangzhou-medium8 needs: [docker_image_build,setup_mo_test_env,bvt_test,ssb_and_tpch_test,sysbench_test,tpcc_test] steps: - name: Check and Recreate Namespace