Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

22.8 Fix workflows to work on recent infrastructure #400

Open
wants to merge 2 commits into
base: customizations/22.8.21
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 44 additions & 44 deletions .github/workflows/release_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ on: # yamllint disable-line rule:truthy

jobs:
# DockerHubPushAarch64:
# runs-on: [self-hosted, style-checker-aarch64]
# runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86-aarch64]
# steps:
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# - name: Images check
# run: |
# cd "$GITHUB_WORKSPACE/tests/ci"
Expand All @@ -46,10 +46,10 @@ jobs:
# path: ${{ runner.temp }}/docker_images_check/changed_images_aarch64.json
# Former DockerHubPushAmd64
DockerHubPush:
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Images check
Expand All @@ -68,10 +68,10 @@ jobs:
path: ${{ runner.temp }}/docker_images_check/changed_images.json
# DockerHubPush:
# needs: [DockerHubPushAmd64, DockerHubPushAarch64]
# runs-on: [self-hosted, style-checker]
# runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
# steps:
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# - name: Download changed aarch64 images
# uses: actions/download-artifact@v2
# with:
Expand All @@ -93,7 +93,7 @@ jobs:
# path: ${{ runner.temp }}/changed_images.json
CompatibilityCheck:
needs: [BuilderDebRelease]
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
steps:
- name: Set envs
run: |
Expand All @@ -103,7 +103,7 @@ jobs:
REPORTS_PATH=${{runner.temp}}/reports_dir
EOF
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Download json reports
Expand All @@ -129,7 +129,7 @@ jobs:
#########################################################################################
BuilderDebRelease:
needs: [DockerHubPush]
runs-on: [self-hosted, builder]
runs-on: [self-hosted, altinity-on-demand, altinity-setup-builder, altinity-type-ccx53, altinity-in-ash, altinity-image-x86-app-docker-ce]
steps:
- name: Set envs
run: |
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Trust My Directory
run: git config --global --add safe.directory * # https://stackoverflow.com/a/71940133
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
submodules: true
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
# name: changed_images
# path: ${{ runner.temp }}/images_path
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# with:
# fetch-depth: 0 # otherwise we will have no info about contributors
# - name: Build
Expand Down Expand Up @@ -225,10 +225,10 @@ jobs:
needs:
- BuilderDebRelease
# - BuilderDebAarch64
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
fetch-depth: 0 # It MUST BE THE SAME for all dependencies and the job itself
Expand All @@ -251,11 +251,11 @@ jobs:
##################################### BUILD REPORTER #######################################
############################################################################################
BuilderReport:
if: ${{ success() || failure() }}
needs:
- BuilderDebRelease
# - BuilderDebAarch64
runs-on: [self-hosted, style-checker]
if: ${{ success() || failure() }}
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Set envs
run: |
Expand All @@ -271,7 +271,7 @@ jobs:
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Report Builder
Expand All @@ -295,7 +295,7 @@ jobs:
# needs:
# # - BuilderBinDarwin
# - BuilderBinDarwinAarch64
# runs-on: [self-hosted, style-checker]
# runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
# if: ${{ success() || failure() }}
# steps:
# - name: Set envs
Expand All @@ -311,7 +311,7 @@ jobs:
# with:
# path: ${{ env.REPORTS_PATH }}
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# with:
# clear-repository: true
# - name: Report Builder
Expand All @@ -337,10 +337,10 @@ jobs:
# - BuilderBinDarwinAarch64
- BuilderDebRelease
# - BuilderDebAarch64
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Mark Commit Release Ready
Expand All @@ -352,7 +352,7 @@ jobs:
##############################################################################################
FunctionalStatelessTestRelease:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Set envs
run: |
Expand All @@ -368,7 +368,7 @@ jobs:
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Functional test
Expand All @@ -388,7 +388,7 @@ jobs:
sudo rm -fr "$TEMP_PATH"
# FunctionalStatelessTestAarch64:
# needs: [BuilderDebAarch64]
# runs-on: [self-hosted, func-tester-aarch64]
# runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86-aarch64]
# steps:
# - name: Set envs
# run: |
Expand All @@ -404,7 +404,7 @@ jobs:
# with:
# path: ${{ env.REPORTS_PATH }}
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# with:
# clear-repository: true
# - name: Functional test
Expand All @@ -427,7 +427,7 @@ jobs:
##############################################################################################
FunctionalStatefulTestRelease:
needs: [BuilderDebRelease]
runs-on: [self-hosted, func-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Set envs
run: |
Expand All @@ -443,7 +443,7 @@ jobs:
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Functional test
Expand All @@ -463,7 +463,7 @@ jobs:
sudo rm -fr "$TEMP_PATH"
# FunctionalStatefulTestAarch64:
# needs: [BuilderDebAarch64]
# runs-on: [self-hosted, func-tester-aarch64]
# runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86-aarch64]
# steps:
# - name: Set envs
# run: |
Expand All @@ -479,7 +479,7 @@ jobs:
# with:
# path: ${{ env.REPORTS_PATH }}
# - name: Check out repository code
# uses: ClickHouse/checkout@v1
# uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
# with:
# clear-repository: true
# - name: Functional test
Expand All @@ -502,7 +502,7 @@ jobs:
#############################################################################################
IntegrationTestsRelease0:
needs: [BuilderDebRelease]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
steps:
- name: Set envs
run: |
Expand All @@ -519,7 +519,7 @@ jobs:
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Integration test
Expand All @@ -539,7 +539,7 @@ jobs:
sudo rm -fr "$TEMP_PATH"
IntegrationTestsRelease1:
needs: [BuilderDebRelease]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
steps:
- name: Set envs
run: |
Expand All @@ -556,7 +556,7 @@ jobs:
with:
path: ${{ env.REPORTS_PATH }}
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Integration test
Expand Down Expand Up @@ -590,7 +590,7 @@ jobs:
matrix:
SUITE: [aes_encryption, aggregate_functions, atomic_insert, base_58, clickhouse_keeper, datetime64_extended_range, disk_level_encryption, dns, engines, example, extended_precision_data_types, kafka, kerberos, lightweight_delete, data_types, part_moves_between_shards, rbac, selects, session_timezone, ssl_server, tiered_storage, window_functions]
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -650,7 +650,7 @@ jobs:
matrix:
STORAGE: [minio, aws_s3, gcs]
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -715,7 +715,7 @@ jobs:

clickhouse_keeper_ssl:
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -772,7 +772,7 @@ jobs:
./*/*/_instances/*.log
key_value:
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -832,7 +832,7 @@ jobs:
matrix:
SUITE: [authentication, external_user_directory, role_mapping]
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -888,7 +888,7 @@ jobs:

parquet:
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -945,7 +945,7 @@ jobs:

parquet_minio:
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -1003,7 +1003,7 @@ jobs:

parquet_aws:
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -1069,7 +1069,7 @@ jobs:
matrix:
STORAGE: [minio, aws_s3, gcs]
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -1138,7 +1138,7 @@ jobs:
matrix:
STORAGE: [minio, s3amazon, s3gcs]
needs: [regression_start]
runs-on: [self-hosted, stress-tester]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-app-docker-ce]
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_REPORT_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_REPORT_SECRET_ACCESS_KEY }}
Expand Down Expand Up @@ -1266,10 +1266,10 @@ jobs:
- parquet_aws
- s3
- tiered_storage_s3
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-snapshot-docker_ipv6_x86]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
clear-repository: true
- name: Finish label
Expand Down
Loading