Skip to content

Commit

Permalink
Added 1es runner for linux, windows, and integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jie Chen committed Dec 11, 2024
1 parent ca5ca6e commit 8017e0c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:
test-linux:
needs: [lint, protos, verify-vendor, go-gen]
runs-on: ubuntu-latest
runs-on: [self-hosted, 1ES.Pool=jiechen3-github-1es-runner-pool-test, 1ES.ImageOverride=CTLinuxUbuntu20.04]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -267,11 +267,13 @@ jobs:

test-windows:
needs: [lint, protos, verify-vendor, go-gen]
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2022]
runner:
- [self-hosted, 1ES.Pool=jiechen3-github-1es-runner-pool-test, 1ES.ImageOverride=2019-datacenter]
- [self-hosted, 1ES.Pool=jiechen3-github-1es-runner-pool-test, 1ES.ImageOverride=2022-datacenter]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -393,12 +395,13 @@ jobs:
integration-tests:
needs: [lint, protos, verify-vendor, go-gen]
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2022]

runner:
- [self-hosted, 1ES.Pool=jiechen3-github-1es-runner-pool-test, 1ES.ImageOverride=2019-datacenter]
- [self-hosted, 1ES.Pool=jiechen3-github-1es-runner-pool-test, 1ES.ImageOverride=2022-datacenter]
steps:
- name: Checkout hcsshim
uses: actions/checkout@v4
Expand Down

0 comments on commit 8017e0c

Please sign in to comment.