mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
ci: (ent) specify instance types when using self hosted runners (#24015)
This commit is contained in:
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
- backport
|
||||
- backport-ent
|
||||
if: always() && (needs.backport.result == 'failure' || needs.backport-ent.result == 'failure')
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-latest' }}
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "type=m7a.2xlarge;m6a.2xlarge"]') || 'ubuntu-latest' }}
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
- uses: ./.github/actions/vault-secrets
|
||||
|
||||
2
.github/workflows/checks.yaml
vendored
2
.github/workflows/checks.yaml
vendored
@@ -21,7 +21,7 @@ on:
|
||||
jobs:
|
||||
checks:
|
||||
# largest available self-hosted disk for extra iops because linting is io-intensive
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "disk_gb=255"]') || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "disk_gb=255", "type=m7a.2xlarge;m6a.2xlarge"]') || 'ubuntu-22.04' }}
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
|
||||
2
.github/workflows/test-core.yaml
vendored
2
.github/workflows/test-core.yaml
vendored
@@ -49,7 +49,7 @@ env:
|
||||
jobs:
|
||||
# this caches dependencies for subsequent jobs, including private deps in enterprise
|
||||
mods:
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-22.04' }}
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "type=m7a.2xlarge;m6a.2xlarge"]') || 'ubuntu-22.04' }}
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
|
||||
4
.github/workflows/test-ui.yml
vendored
4
.github/workflows/test-ui.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
||||
tests:
|
||||
needs:
|
||||
- pre-test
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-latest' }}
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "type=m7a.2xlarge;m6a.2xlarge"]') || 'ubuntu-latest' }}
|
||||
timeout-minutes: 30
|
||||
continue-on-error: true
|
||||
defaults:
|
||||
@@ -62,7 +62,7 @@ jobs:
|
||||
needs:
|
||||
- pre-test
|
||||
- tests
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-latest' }}
|
||||
runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux", "type=m7a.2xlarge;m6a.2xlarge"]') || 'ubuntu-latest' }}
|
||||
timeout-minutes: 30
|
||||
defaults:
|
||||
run:
|
||||
|
||||
Reference in New Issue
Block a user