121121 build_sha : ${{ inputs.build_sha }}
122122 pr_number : ${{ github.event.number }}
123123 event_name : ${{ github.event_name }}
124+ version : ${{ fromJson(inputs.workflow_config).custom_data.version.string }}
124125
125126jobs :
126127 runner_labels_setup :
@@ -177,7 +178,7 @@ jobs:
177178 ${{ inputs.workflow_config }}
178179 EOF
179180
180- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
181+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
181182
182183 - name : Run ${{ env.SUITE }} suite
183184 id : run_suite
@@ -242,7 +243,7 @@ jobs:
242243 ${{ inputs.workflow_config }}
243244 EOF
244245
245- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
246+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
246247
247248 - name : Run ${{ env.SUITE }} suite
248249 id : run_suite
@@ -313,7 +314,7 @@ jobs:
313314 ${{ inputs.workflow_config }}
314315 EOF
315316
316- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
317+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
317318
318319 - name : Run ${{ env.SUITE }} suite
319320 id : run_suite
@@ -379,7 +380,7 @@ jobs:
379380 ${{ inputs.workflow_config }}
380381 EOF
381382
382- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
383+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
383384
384385 - name : Run ${{ env.SUITE }} suite
385386 id : run_suite
@@ -455,7 +456,7 @@ jobs:
455456 ${{ inputs.workflow_config }}
456457 EOF
457458
458- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
459+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
459460
460461 - name : Run ${{ env.SUITE }} suite
461462 id : run_suite
@@ -527,7 +528,7 @@ jobs:
527528 ${{ inputs.workflow_config }}
528529 EOF
529530
530- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
531+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
531532
532533 - name : Run ${{ env.SUITE }} suite
533534 id : run_suite
@@ -591,7 +592,7 @@ jobs:
591592 ${{ inputs.workflow_config }}
592593 EOF
593594
594- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
595+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
595596
596597 - name : Run ${{ env.SUITE }} suite
597598 id : run_suite
@@ -651,7 +652,7 @@ jobs:
651652 ${{ inputs.workflow_config }}
652653 EOF
653654
654- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
655+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
655656
656657 - name : Run ${{ env.SUITE }} suite
657658 id : run_suite
@@ -716,7 +717,7 @@ jobs:
716717 ${{ inputs.workflow_config }}
717718 EOF
718719
719- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
720+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
720721
721722 - name : Run ${{ env.SUITE }} suite
722723 id : run_suite
@@ -787,7 +788,7 @@ jobs:
787788 ${{ inputs.workflow_config }}
788789 EOF
789790
790- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
791+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
791792
792793 - name : Run ${{ env.SUITE }} suite
793794 id : run_suite
@@ -852,7 +853,7 @@ jobs:
852853 ${{ inputs.workflow_config }}
853854 EOF
854855
855- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
856+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
856857
857858 - name : Run ${{ env.SUITE }} suite
858859 id : run_suite
@@ -923,7 +924,7 @@ jobs:
923924 ${{ inputs.workflow_config }}
924925 EOF
925926
926- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
927+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
927928
928929 - name : Run ${{ env.SUITE }} suite
929930 id : run_suite
@@ -1000,7 +1001,7 @@ jobs:
10001001 ${{ inputs.workflow_config }}
10011002 EOF
10021003
1003- python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }}
1004+ python3 .github/get-deb-url.py --github-env $GITHUB_ENV --workflow-config $REPORTS_PATH/workflow_config.json --s3-base-url $S3_BASE_URL --pr-number $PR_NUMBER --branch-name ${{ github.ref_name }} --commit-hash ${{ inputs.build_sha }} --binary
10041005
10051006 - name : Run ${{ env.SUITE }} suite
10061007 id : run_suite
@@ -1014,7 +1015,7 @@ jobs:
10141015 --gcs-key-id ${{ secrets.REGRESSION_GCS_KEY_ID }}
10151016 --gcs-key-secret ${{ secrets.REGRESSION_GCS_KEY_SECRET }}
10161017 --gcs-uri ${{ secrets.REGRESSION_GCS_URI }}
1017- ${{ matrix.STORAGE == 'local' && '' || format('--with-{0}', matrix.STORAGE) }}
1018+ ${{ matrix.STORAGE != 'local' && format('--with-{0}', matrix.STORAGE) || '' }}
10181019 --attr project="$GITHUB_REPOSITORY" project.id="$GITHUB_REPOSITORY_ID" package="${{ env.clickhouse_path }}" version="${{ env.version }}" user.name="$GITHUB_ACTOR" repository="https://github.com/Altinity/clickhouse-regression" commit.hash="$(git rev-parse HEAD)" job.name="$GITHUB_JOB (${{ matrix.STORAGE }})" job.retry=$GITHUB_RUN_ATTEMPT job.url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" arch="$(uname -i)"
10191020 ${{ env.args }} || EXITCODE=$?;
10201021 .github/add_link_to_logs.sh;
0 commit comments