github.com/hernad/nomad@v1.6.112/.github/workflows/test-e2e.yml (about) 1 name: test-e2e 2 on: 3 pull_request: 4 paths-ignore: 5 - 'README.md' 6 - 'CHANGELOG.md' 7 - '.changelog/**' 8 - '.tours/**' 9 - 'contributing/**' 10 - 'demo/**' 11 - 'dev/**' 12 - 'integrations/**' 13 - 'pkg/**' 14 - 'scripts/**' 15 - 'terraform/**' 16 - 'ui/**' 17 - 'website/**' 18 push: 19 branches: 20 - main 21 - release/** 22 paths-ignore: 23 - 'README.md' 24 - 'CHANGELOG.md' 25 - '.changelog/**' 26 - '.tours/**' 27 - 'contributing/**' 28 - 'demo/**' 29 - 'dev/**' 30 - 'integrations/**' 31 - 'pkg/**' 32 - 'scripts/**' 33 - 'terraform/**' 34 - 'ui/**' 35 - 'website/**' 36 37 jobs: 38 test-e2e: 39 runs-on: ${{ endsWith(github.repository, '-enterprise') && fromJSON('["self-hosted", "ondemand", "linux"]') || 'ubuntu-latest' }} 40 steps: 41 - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 42 - uses: ./.github/actions/vault-secrets 43 with: 44 paths: |- 45 kv/data/github/hashicorp/nomad-enterprise/gha ELEVATED_GITHUB_TOKEN ; 46 - name: Git config token 47 if: endsWith(github.repository, '-enterprise') 48 run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' 49 - uses: hashicorp/setup-golang@v1 50 - run: make deps 51 - run: make integration-test 52 - run: make e2e-test 53 permissions: 54 contents: read 55 id-token: write