From ce84f1114a79aec5858459f32ffa1f6a3d2ca4c2 Mon Sep 17 00:00:00 2001 From: flukolo4ek Date: Mon, 23 Dec 2024 12:42:08 +0300 Subject: [PATCH] ci: BI-0 back k8s runners --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c06a5167b..0e751e563 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -110,7 +110,7 @@ jobs: run: git branch --contains ${{ github.event.pull_request.base.sha }} gh_build_image: - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-build ] needs: [ check-ci-allowed ] @@ -151,7 +151,7 @@ jobs: /bin/bash ci/build_naive.sh router: - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-no-compose ] needs: gh_build_image container: image: "ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}/datalens_ci_with_code:${{ github.sha }}" @@ -234,7 +234,7 @@ jobs: pytest_split: name: Split pytest into jobs for each test type - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-no-compose ] needs: [ router, check-skip-tests-label ] if: ${{ needs.check-skip-tests-label.outputs.result != 'true' }} @@ -267,7 +267,7 @@ jobs: run_tests_base: name: "🐍[pytest]${{ matrix.value }}" - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-light ] permissions: packages: write contents: read @@ -313,7 +313,7 @@ jobs: run_tests_no_compose: name: "🐍[pytest][no_compose]${{ matrix.value }}" - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-no-compose ] permissions: packages: write contents: read @@ -359,7 +359,7 @@ jobs: run_tests_fat: name: "🐍[pytest][fat]${{ matrix.value }}" - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-fat ] permissions: packages: write contents: read @@ -406,7 +406,7 @@ jobs: run_tests_ext_public: name: "🐍[pytest][ext_public]${{ matrix.value }}" # using light runners for now, TBD: change when we have ext_public - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-ext-public ] permissions: packages: read contents: read @@ -456,7 +456,7 @@ jobs: run: bash /src/ci/stop_compose.sh "${{ matrix.value }}" "${{ job.container.network }}" "${{ env.compose_prj }}" mypy: - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-no-compose ] needs: gh_build_image container: # until https://github.com/github/docs/issues/25520 is resolved, using vars @@ -504,7 +504,7 @@ jobs: needs_json: ${{ toJson(needs) }} codestyle_all: - runs-on: ubuntu-22.04 + runs-on: [ self-hosted, linux, k8s-runner-no-compose ] needs: gh_build_image container: # until https://github.com/github/docs/issues/25520 is resolved, using vars