Repository navigation
78 lines (73 loc) · 3 KB
/
Copy pathexperimental_conformance.yaml
File metadata and controls
78 lines (73 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: Experimental Conformance Test
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v*.*.*"
paths:
- "charts/gateway-crds-helm/templates/experimental-gatewayapi-crds.yaml"
- "test/conformance/experimental_conformance_test.go"
- "internal/gatewayapi/conformance/suite.go"
pull_request:
paths:
- "charts/gateway-crds-helm/templates/experimental-gatewayapi-crds.yaml"
- "test/conformance/experimental_conformance_test.go"
- "internal/gatewayapi/conformance/suite.go"
# Add workflow_dispatch to trigger this workflow manually by maintainers.
workflow_dispatch:
permissions:
contents: read
jobs:
experimental-conformance-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- version: v1.34.11
ipFamily: ipv4
profile: default
- version: v1.35.8
ipFamily: ipv4
profile: default
- version: v1.36.4
# only run ipv6 test on this version to save time
ipFamily: ipv6
profile: default
# TODO: this's IPv4 first, need a way to test IPv6 first.
- version: v1.37.0
# only run dual test on latest version to save time
ipFamily: dual
profile: default
- version: v1.37.0
# only run dual test on latest version to save time
ipFamily: dual
profile: gateway-namespace-mode
- version: v1.37.0
ipFamily: ipv4
profile: watch-namespaces
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: ./tools/github-actions/setup-deps
# gateway api experimental conformance
- name: Run Experimental Conformance Tests
env:
IP_FAMILY: ${{ matrix.target.ipFamily }}
KUBE_DEPLOY_PROFILE: ${{ matrix.target.profile }}
CONFORMANCE_REPORT_PATH: conformance-report-k8s-${{ matrix.target.version }}-${{ matrix.target.profile }}.yaml
KIND_NODE_TAG: ${{ matrix.target.version }}
IMAGE_PULL_POLICY: IfNotPresent
E2E_ARTIFACTS_DIR: ${{ github.workspace }}/artifacts/experimental-conformance
run: make experimental-conformance
- name: Upload Conformance Report
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: conformance-report-k8s-${{ matrix.target.version }}-${{ matrix.target.profile }}
path: ./test/conformance/conformance-report-k8s-${{ matrix.target.version }}-${{ matrix.target.profile }}.yaml
- name: Upload failure artifacts
if: failure()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: experimental-conformance-failure-artifacts-${{ matrix.target.version }}-${{ matrix.target.ipFamily }}-${{ matrix.target.profile }}
path: artifacts/experimental-conformance/
if-no-files-found: ignore