forked from kgateway-dev/kgateway
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves gw api env var to Setup test env step
Signed-off-by: Daneyon Hansen <[email protected]>
- Loading branch information
Showing
6 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
k8sgateway_api_version='v1.2.0' | ||
k8sgateway_api_version='v1.2.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -489,7 +489,15 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
ref: main | ||
- name: Dotenv Action | ||
uses: falti/[email protected] | ||
id: dotenv | ||
with: | ||
path: ${{ matrix.version-files.file }} | ||
log-variables: true | ||
- uses: ./.github/workflows/composite-actions/kube-gateway-api-conformance-tests | ||
with: | ||
k8sgateway-api-version: ${{ steps.dotenv.outputs.k8sgateway_api_version }} | ||
|
||
kube_gateway_api_conformance_tests_18: | ||
name: Conformance (branch=v1.18.x, type=Kubernetes Gateway API, version=${{matrix.kube-version.node}} ) | ||
|
@@ -507,8 +515,15 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
ref: v1.18.x | ||
- name: Dotenv Action | ||
uses: falti/[email protected] | ||
id: dotenv | ||
with: | ||
path: ${{ matrix.version-files.file }} | ||
log-variables: true | ||
- uses: ./.github/workflows/composite-actions/kube-gateway-api-conformance-tests | ||
|
||
with: | ||
k8sgateway-api-version: ${{ steps.dotenv.outputs.k8sgateway_api_version }} | ||
|
||
kube_gateway_api_conformance_tests_17: | ||
name: Conformance (branch=v1.17.x, type=Kubernetes Gateway API, version=${{matrix.kube-version.node}} ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,12 +82,29 @@ jobs: | |
# (see https://github.com/solo-io/solo-projects/issues/6094) | ||
image-variant: | ||
- standard | ||
version-files: | ||
- label: 'min' | ||
file: './.github/workflows/.env/pr-tests/min_versions.env' | ||
- label: 'max' | ||
file: './.github/workflows/.env/pr-tests/max_versions.env' | ||
steps: | ||
# Checkout the branch that initiated the action | ||
- uses: actions/checkout@v4 | ||
- id: auto-succeed-tests | ||
if: needs.prepare_env.outputs.should-auto-succeed-regression-tests == 'true' | ||
run: | | ||
echo "Kubernetes Gateway API conformance tests auto-succeeded" | ||
# The dotenv action is used to load key-value pairs from files. | ||
# In this case, the file is specified in the matrix and will contain the versions of the tools to use | ||
- name: Dotenv Action | ||
uses: falti/[email protected] | ||
id: dotenv | ||
with: | ||
path: ${{ matrix.version-files.file }} | ||
log-variables: true | ||
# Run the k8s gateway api conformance tests | ||
- id: run-tests | ||
if: needs.prepare_env.outputs.should-auto-succeed-regression-tests != 'true' | ||
uses: ./.github/workflows/composite-actions/kube-gateway-api-conformance-tests | ||
with: | ||
k8sgateway-api-version: ${{ steps.dotenv.outputs.k8sgateway_api_version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.