mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-12-06 15:11:29 +09:00
ADG-123: resolve ephemeral runner images from the edge channel (86)
This commit is contained in:
1 parent
13a429f0e4
commit
f44bb22813
1 file changed
+2
-24
@@ -67,26 +67,15 @@
|
||||
readonly exit_code
|
||||
|
||||
exit "$exit_code"
|
||||
'ResolveMacOSRunner':
|
||||
'runs-on': 'team-go'
|
||||
'outputs':
|
||||
'image': ${{ steps.kv.outputs.value }}
|
||||
'steps':
|
||||
- 'uses': 'AdGuardSoftwareLimited/actions/actions/kv-get@master'
|
||||
'id': 'kv'
|
||||
'with':
|
||||
'key': 'build-images/macos'
|
||||
'LintAndTestJobMacOS':
|
||||
'if': |
|
||||
${{ github.repository_owner == 'AdGuardSoftwareLimited' }}
|
||||
'needs':
|
||||
- 'ResolveMacOSRunner'
|
||||
'permissions':
|
||||
'contents': 'read'
|
||||
'runs-on':
|
||||
- 'ephemeral'
|
||||
- 'ephemeral-mac'
|
||||
- '${{ needs.ResolveMacOSRunner.outputs.image }}'
|
||||
- 'registry.int.agrd.dev/macos/tahoe-github-xcode26.4.1-26.11:@edge'
|
||||
- 'ephemeral-job-key-${{ github.run_id }}-${{ github.job }}-${{ strategy.job-index || 0 }}'
|
||||
'steps':
|
||||
- 'uses': 'actions/checkout@v6'
|
||||
@@ -111,26 +100,15 @@
|
||||
go-bench \
|
||||
go-fuzz \
|
||||
;
|
||||
'ResolveWindowsRunner':
|
||||
'runs-on': 'team-go'
|
||||
'outputs':
|
||||
'image': ${{ steps.kv.outputs.value }}
|
||||
'steps':
|
||||
- 'uses': 'AdGuardSoftwareLimited/actions/actions/kv-get@master'
|
||||
'id': 'kv'
|
||||
'with':
|
||||
'key': 'build-images/windows2022-go'
|
||||
'LintAndTestJobWindows':
|
||||
'if': |
|
||||
${{ github.repository_owner == 'AdGuardSoftwareLimited' }}
|
||||
'needs':
|
||||
- 'ResolveWindowsRunner'
|
||||
'permissions':
|
||||
'contents': 'read'
|
||||
'runs-on':
|
||||
- 'ephemeral'
|
||||
- 'ephemeral-vmwin'
|
||||
- '${{ needs.ResolveWindowsRunner.outputs.image }}'
|
||||
- 'registry.int.agrd.dev/windows/windows2022-go:@edge'
|
||||
- 'ephemeral-limit-memory-8192'
|
||||
- 'ephemeral-limit-cpu-4'
|
||||
- 'ephemeral-job-key-${{ github.run_id }}-${{ github.job }}-${{ strategy.job-index || 0 }}'
|
||||
|
||||
Reference in new issue
Block a user