Skip to content

Commit

Permalink
Migrating to CI Runners
Browse files Browse the repository at this point in the history
  • Loading branch information
ola-rozenfeld committed Aug 21, 2024
1 parent 16fde1a commit fe2d35b
Showing 1 changed file with 37 additions and 14 deletions.
51 changes: 37 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ jobs:
fail-fast: false
matrix:
include:
- os: linux
arch: x64
os_distribution: debian
os_version: 11
revision: d04e89854b3931f4aaced77aa3a2fcad5834b3a6
remote_execution: 'false'

- os: linux
arch: x64
os_distribution: debian
os_version: 11
revision: d04e89854b3931f4aaced77aa3a2fcad5834b3a6
remote_execution: 'true'

- os: macos
arch: x64
os_distribution: monterey
Expand Down Expand Up @@ -79,3 +65,40 @@ jobs:
OS: ${{ matrix.os }}
REMOTE_EXECUTION: ${{ matrix.remote_execution }}
run: python3 infra/test-all.py

ci-runners-test-matrix:
runs-on:
- self-hosted
- "os=linux"
- "arch=x64"
- "remote_execution=${{ matrix.remote_execution }}"
- "engflow-container-image=docker://645088952840.dkr.ecr.eu-west-1.amazonaws.com/engflow-ci/debian11-dind-x64@sha256:604855f1ecd6edad3f45f513ed0112b9e8e32589871133767a1a51944b07f487"
- "engflow-pool=ci_sysbox_x64"
- "engflow-runtime=sysbox-runc"
- "engflow-runner-id=${{ github.repository_id }}_ci-runners-test-matrix_${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}"
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- remote_execution: 'false'

- remote_execution: 'true'

steps:
- uses: actions/checkout@v3

- name: Set up authentication
shell: bash
run: cp infra/bazelrc .bazelrc.user

- name: Generate python requirements lock
shell: bash
run: bazel run //python:requirements.update

- name: Build and test
env:
ARCH: x64
OS: linux
REMOTE_EXECUTION: ${{ matrix.remote_execution }}
run: python3 infra/test-all.py

0 comments on commit fe2d35b

Please sign in to comment.