Browse Source

ci: skip 1.18 nightly int tests on CE (#21349)

This version is no longer active in CE.
pull/21351/head
Michael Zalimeni 5 months ago committed by GitHub
parent
commit
a16bfc6a3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 9
      .github/workflows/nightly-test-1.18.x.yaml
  2. 10
      .github/workflows/nightly-test-integrations-1.18.x.yml

9
.github/workflows/nightly-test-1.18.x.yaml

@ -14,8 +14,15 @@ env:
GOPRIVATE: github.com/hashicorp # Required for enterprise deps GOPRIVATE: github.com/hashicorp # Required for enterprise deps
jobs: jobs:
check-ent:
runs-on: ubuntu-latest
if: ${{ endsWith(github.repository, '-enterprise') }}
steps:
- run: echo "Building Enterprise"
frontend-test-workspace-node: frontend-test-workspace-node:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-ent]
steps: steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with: with:
@ -45,6 +52,7 @@ jobs:
frontend-build-ce: frontend-build-ce:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-ent]
env: env:
JOBS: 2 JOBS: 2
CONSUL_NSPACES_ENABLED: 0 CONSUL_NSPACES_ENABLED: 0
@ -117,6 +125,7 @@ jobs:
frontend-build-ent: frontend-build-ent:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-ent]
env: env:
JOBS: 2 JOBS: 2
CONSUL_NSPACES_ENABLED: 1 CONSUL_NSPACES_ENABLED: 1

10
.github/workflows/nightly-test-integrations-1.18.x.yml

@ -23,8 +23,15 @@ env:
BRANCH_NAME: "release-1.18.x" # Used for naming artifacts BRANCH_NAME: "release-1.18.x" # Used for naming artifacts
jobs: jobs:
check-ent:
runs-on: ubuntu-latest
if: ${{ endsWith(github.repository, '-enterprise') }}
steps:
- run: echo "Building Enterprise"
setup: setup:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [check-ent]
name: Setup name: Setup
outputs: outputs:
compute-small: ${{ steps.runners.outputs.compute-small }} compute-small: ${{ steps.runners.outputs.compute-small }}
@ -41,6 +48,7 @@ jobs:
run: .github/scripts/get_runner_classes.sh run: .github/scripts/get_runner_classes.sh
get-go-version: get-go-version:
needs: [check-ent]
uses: ./.github/workflows/reusable-get-go-version.yml uses: ./.github/workflows/reusable-get-go-version.yml
dev-build: dev-build:
@ -418,7 +426,7 @@ jobs:
- upgrade-integration-test - upgrade-integration-test
- upgrade-integration-test-deployer - upgrade-integration-test-deployer
runs-on: ${{ fromJSON(needs.setup.outputs.compute-small) }} runs-on: ${{ fromJSON(needs.setup.outputs.compute-small) }}
if: ${{ always() }} if: ${{ always() && endsWith(github.repository, '-enterprise') }}
steps: steps:
- name: evaluate upstream job results - name: evaluate upstream job results
run: | run: |

Loading…
Cancel
Save