Skip to content

Commit

Permalink
ci: BI-0 use GH runners
Browse files Browse the repository at this point in the history
  • Loading branch information
flukolo4ek committed Dec 20, 2024
1 parent a9ed24a commit 5e2a261
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 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: [ self-hosted, linux, k8s-runner-build ]
runs-on: ubuntu-22.04

needs: [ check-ci-allowed ]

Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
/bin/bash ci/build_naive.sh
router:
runs-on: [ self-hosted, linux, k8s-runner-no-compose ]
runs-on: ubuntu-22.04
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: [ self-hosted, linux, k8s-runner-no-compose ]
runs-on: ubuntu-22.04

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: [ self-hosted, linux, k8s-runner-light ]
runs-on: ubuntu-22.04
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: [ self-hosted, linux, k8s-runner-no-compose ]
runs-on: ubuntu-22.04
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -359,7 +359,7 @@ jobs:

run_tests_fat:
name: "🐍[pytest][fat]${{ matrix.value }}"
runs-on: [ self-hosted, linux, k8s-runner-fat ]
runs-on: ubuntu-22.04
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: [ self-hosted, linux, k8s-runner-ext-public ]
runs-on: ubuntu-22.04
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: [ self-hosted, linux, k8s-runner-no-compose ]
runs-on: ubuntu-22.04
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: [ self-hosted, linux, k8s-runner-no-compose ]
runs-on: ubuntu-22.04
needs: gh_build_image
container:
# until https://github.com/github/docs/issues/25520 is resolved, using vars
Expand Down
2 changes: 0 additions & 2 deletions lib/dl_file_uploader_lib/dl_file_uploader_lib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
# TEST DL FILE UPLOADER

2 changes: 1 addition & 1 deletion lib/testenv-common/docker-compose.common.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: '3.9'

x-constants:
US_MASTER_TOKEN: &c-us-master-token "AC1ofiek8coB"
Expand Down

0 comments on commit 5e2a261

Please sign in to comment.