@@ -149,7 +149,7 @@ jobs:
149149 strategy :
150150 fail-fast : false
151151 matrix :
152- SUITE : [aes_encryption, atomic_insert, base_58, data_types, datetime64_extended_range, disk_level_encryption, dns, engines, example, extended_precision_data_types, functions, kafka, kerberos, key_value, lightweight_delete, memory, part_moves_between_shards, rbac, selects, session_timezone, ssl_server, swarms, tiered_storage, version, window_functions]
152+ SUITE : [aes_encryption, atomic_insert, base_58, data_types, datetime64_extended_range, disk_level_encryption, dns, engines, example, extended_precision_data_types, functions, kafka, kerberos, key_value, lightweight_delete, memory, part_moves_between_shards, rbac, selects, session_timezone, swarms, tiered_storage, version, window_functions]
153153 needs : [runner_labels_setup]
154154 runs-on : ${{ fromJson(needs.runner_labels_setup.outputs.runner_labels) }}
155155 timeout-minutes : ${{ inputs.timeout_minutes }}
@@ -751,6 +751,72 @@ jobs:
751751 name : ${{ env.SUITE }}-${{ env.STORAGE }}-${{ inputs.arch }}-artifacts
752752 path : ${{ env.artifact_paths }}
753753
754+ SSLServer :
755+ strategy :
756+ fail-fast : false
757+ matrix :
758+ PART : [1, 2, 3]
759+ needs : [runner_labels_setup]
760+ runs-on : ${{ fromJson(needs.runner_labels_setup.outputs.runner_labels) }}
761+ timeout-minutes : ${{ inputs.timeout_minutes }}
762+ steps :
763+ - name : Checkout regression repo
764+ uses : actions/checkout@v4
765+ with :
766+ repository : Altinity/clickhouse-regression
767+ ref : ${{ inputs.commit }}
768+ - name : Set envs
769+ run : |
770+ cat >> "$GITHUB_ENV" << 'EOF'
771+ REPORTS_PATH=${{ runner.temp }}/reports_dir
772+ SUITE=ssl_server
773+ PART=${{ matrix.PART }}
774+ EOF
775+ - name : Setup
776+ run : .github/setup.sh
777+ - name : Get deb url
778+ env :
779+ S3_BASE_URL : https://altinity-build-artifacts.s3.amazonaws.com/
780+ PR_NUMBER : ${{ github.event.pull_request.number || 0 }}
781+ run : |
782+ mkdir -p $REPORTS_PATH
783+ cat > $REPORTS_PATH/workflow_config.json << 'EOF'
784+ ${{ inputs.workflow_config }}
785+ EOF
786+
787+ 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 }}
788+
789+ - name : Run ${{ env.SUITE }} suite
790+ id : run_suite
791+ run : EXITCODE=0;
792+ python3
793+ -u ${{ env.SUITE }}/regression.py
794+ --clickhouse-binary-path ${{ env.clickhouse_path }}
795+ --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.PART }})" job.retry=$GITHUB_RUN_ATTEMPT job.url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" arch="$(uname -i)"
796+ --only "part ${{ matrix.PART }}/*"
797+ ${{ env.args }} || EXITCODE=$?;
798+ .github/add_link_to_logs.sh;
799+ exit $EXITCODE
800+ - name : Set Commit Status
801+ if : always()
802+ run : python3 .github/set_builds_status.py
803+ env :
804+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
805+ JOB_OUTCOME : ${{ steps.run_suite.outcome }}
806+ SUITE_NAME : " Regression ${{ inputs.arch }} ${{ env.SUITE }}-${{ matrix.PART }}"
807+ - name : Create and upload logs
808+ if : always()
809+ run : .github/create_and_upload_logs.sh 1
810+ - name : Upload logs to regression results database
811+ if : always()
812+ timeout-minutes : 20
813+ run : .github/upload_results_to_database.sh 1
814+ - uses : actions/upload-artifact@v4
815+ if : always()
816+ with :
817+ name : ${{ env.SUITE }}-${{ matrix.PART }}-${{ inputs.arch }}-artifacts
818+ path : ${{ env.artifact_paths}}
819+
754820 S3 :
755821 strategy :
756822 fail-fast : false
0 commit comments