Skip to content

Get rid of docker pause containers with a custom runtime #3056

Get rid of docker pause containers with a custom runtime

Get rid of docker pause containers with a custom runtime #3056

Workflow file for this run

# Run 'make check' on paths ignored by test-core.yaml.
name: Run checks
on:
pull_request:
paths:
- 'demo/**'
- 'e2e/terraform/**'
- 'terraform/**'
- 'website/**'
push:
branches:
- 'main'
- 'release/**'
paths:
- 'demo/**'
- 'e2e/terraform/**'
- 'terraform/**'
- 'website/**'
workflow_call:
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", "type=m7a.2xlarge;m6a.2xlarge"]') || 'custom-linux-xl-nomad-22.04' }}
timeout-minutes: 15
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # needs tags for checkproto
- uses: ./.github/actions/vault-secrets
with:
paths: |-
kv/data/github/hashicorp/nomad-enterprise/gha ELEVATED_GITHUB_TOKEN ;
- name: Git config token
if: endsWith(github.repository, '-enterprise')
run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com'
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
cache: true
go-version-file: .go-version
cache-dependency-path: '**/go.sum'
- name: Run make check
run: |
make missing
make bootstrap
make check
permissions:
contents: read
id-token: write