Skip to content

Commit 9984bfd

Browse files
committed
Checkout release branch for nightly test
1 parent 65afa62 commit 9984bfd

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.github/workflows/nightly-test-integrations.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ jobs:
3131
compute-xl: ${{ steps.runners.outputs.compute-xl }}
3232
enterprise: ${{ steps.runners.outputs.enterprise }}
3333
steps:
34-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
34+
- name: Checkout code
35+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
36+
with:
37+
ref: ${{ inputs.branch }}
3538
- id: runners
3639
run: .github/scripts/get_runner_classes.sh
3740

@@ -52,7 +55,10 @@ jobs:
5255
outputs:
5356
envoy-matrix: ${{ steps.set-matrix.outputs.envoy-matrix }}
5457
steps:
55-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
58+
- name: Checkout code
59+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
60+
with:
61+
ref: ${{ inputs.branch }}
5662
- name: Generate Envoy Job Matrix
5763
id: set-matrix
5864
env:
@@ -93,15 +99,18 @@ jobs:
9399
strategy:
94100
fail-fast: false
95101
matrix:
96-
envoy-version: ["1.24.10", "1.25.9", "1.26.4"]
102+
envoy-version: ["1.24.10", "1.25.9", "1.26.4", "1.27.0"]
97103
xds-target: ["server", "client"]
98104
test-cases: ${{ fromJSON(needs.generate-envoy-job-matrices.outputs.envoy-matrix) }}
99105
env:
100106
ENVOY_VERSION: ${{ matrix.envoy-version }}
101107
XDS_TARGET: ${{ matrix.xds-target }}
102108
AWS_LAMBDA_REGION: us-west-2
103109
steps:
104-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
110+
- name: Checkout code
111+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
112+
with:
113+
ref: ${{ inputs.branch }}
105114
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
106115
with:
107116
go-version-file: 'go.mod'
@@ -189,7 +198,10 @@ jobs:
189198
CONSUL_LATEST_VERSION: ${{ matrix.consul-version }}
190199
ENVOY_VERSION: "1.24.6"
191200
steps:
192-
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
201+
- name: Checkout code
202+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
203+
with:
204+
ref: ${{ inputs.branch }}
193205
# NOTE: This step is specifically needed for ENT. It allows us to access the required private HashiCorp repos.
194206
- name: Setup Git
195207
if: ${{ endsWith(github.repository, '-enterprise') }}

0 commit comments

Comments
 (0)