Skip to content

Commit c4cb97e

Browse files
authored
Try fix 1es runners (#77)
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
1 parent 3503c6c commit c4cb97e

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/CreateRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
publish-hyperlight-js-packages-and-create-release:
2929
needs: [build, benchmarks]
3030
environment: release
31-
runs-on: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
31+
runs-on: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd", "JobId=publish-hyperlight-js-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}"]
3232
if: ${{ contains(github.ref, 'refs/heads/release/') }}
3333

3434
steps:

.github/workflows/dep_benchmarks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@ jobs:
4040
- build: linux-hyperv3-release
4141
os: [self-hosted, Linux, X64, "1ES.Pool=hld-azlinux3-mshv-amd"]
4242
hypervisor: hyperv3
43-
runs-on: ${{ matrix.os }}
43+
runs-on: ${{ fromJson(
44+
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-amd", "JobId=benchmark-{2}-{3}-{4}-{5}"]',
45+
matrix.hypervisor == 'whp' && 'Windows' || 'Linux',
46+
matrix.hypervisor == 'whp' && 'win2025' || matrix.hypervisor == 'hyperv3' && 'azlinux3-mshv' || 'kvm',
47+
matrix.build,
48+
github.run_id,
49+
github.run_number,
50+
github.run_attempt)) }}
4451

4552
steps:
4653
- uses: actions/checkout@v6

.github/workflows/dep_build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ jobs:
4545
os: [self-hosted, Linux, X64, "1ES.Pool=hld-azlinux3-mshv-amd"]
4646
hypervisor: hyperv3
4747
config: release
48-
runs-on: ${{ matrix.os }}
48+
runs-on: ${{ fromJson(
49+
format('["self-hosted", "{0}", "X64", "1ES.Pool=hld-{1}-amd", "JobId=build-{2}-{3}-{4}-{5}"]',
50+
matrix.hypervisor == 'whp' && 'Windows' || 'Linux',
51+
matrix.hypervisor == 'whp' && 'win2025' || matrix.hypervisor == 'hyperv3' && 'azlinux3-mshv' || 'kvm',
52+
matrix.build,
53+
github.run_id,
54+
github.run_number,
55+
github.run_attempt)) }}
4956

5057
steps:
5158
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)