Skip to content

Commit

Permalink
ci: BI-0 back k8s runners
Browse files Browse the repository at this point in the history
  • Loading branch information
flukolo4ek committed Dec 23, 2024
1 parent 413bacc commit ce84f11
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]

Expand Down Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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' }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ce84f11

Please sign in to comment.