forked from kyma-project/api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
144 lines (138 loc) · 5.36 KB
/
call-integration-release.yaml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
name: Release integration tests
on:
workflow_call:
inputs:
image:
description: Image used to run tests
required: true
type: string
jobs:
e2e-tests-k3d:
name: E2E tests K3D
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_make_target: [ "test-integration-ory", "test-integration-istio", "test-integration-v2alpha1", "test-integration-gateway" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/e2e-test-k3d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
test_client_id: ${{ secrets.CLIENT_ID }}
test_client_secret: ${{ secrets.CLIENT_SECRET }}
test_oidc_well_known_url: "${{ secrets.OIDC_ISSUER_URL }}/.well-known/openid-configuration"
manager_image: ${{ inputs.image }}
test_make_target: ${{ matrix.test_make_target }}
migration-downtime-tests:
name: Zero Downtime Migration Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_make_target: [ "test-migration-zero-downtime HANDLER=no_auth", "test-migration-zero-downtime HANDLER=allow", "test-migration-zero-downtime HANDLER=noop", "test-migration-zero-downtime HANDLER=jwt", "test-migration-zero-downtime HANDLER=oauth2_introspection" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/e2e-test-k3d
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manager_image: ${{ inputs.image }}
test_make_target: ${{ matrix.test_make_target }}
k8s-compatibility-check:
name: Kubernetes version compatibility test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_make_target: [ "test-integration-ory", "test-integration-istio", "test-integration-v2alpha1", "test-integration-gateway" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/k8s-compatibility-test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
test_client_id: ${{ secrets.CLIENT_ID }}
test_client_secret: ${{ secrets.CLIENT_SECRET }}
test_oidc_well_known_url: "${{ secrets.OIDC_ISSUER_URL }}/.well-known/openid-configuration"
manager_image: ${{ inputs.image }}
test_make_target: ${{ matrix.test_make_target }}
upgrade-tests:
name: Upgrade tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/upgrade-test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manager_image: ${{ inputs.image }}
test_client_id: ${{ secrets.CLIENT_ID }}
test_client_secret: ${{ secrets.CLIENT_SECRET }}
test_oidc_well_known_url: "${{ secrets.OIDC_ISSUER_URL }}/.well-known/openid-configuration"
target_branch: ${{ github.base_ref }}
e2e-custom-domain-gcp:
name: E2E custom domain tests GCP
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_make_target: [ "test-custom-domain", "test-integration-gateway" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/e2e-test-gardener
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manager_image: ${{ inputs.image }}
gardener_secret: ${{ secrets.GARDENER_TOKEN }}
gardener_project_name: ${{ vars.GARDENER_PROJECT_NAME }}
gardener_provider: gcp
test_client_id: ${{ secrets.CLIENT_ID }}
test_client_secret: ${{ secrets.CLIENT_SECRET }}
test_oidc_well_known_url: "${{ secrets.OIDC_ISSUER_URL }}/.well-known/openid-configuration"
dns_secret_json: ${{ secrets.DNS_SECRET_JSON }}
test_make_target: ${{ matrix.test_make_target }}
test_custom_domain: ${{ vars.TEST_CUSTOM_DOMAIN }}
e2e-custom-domain-aws:
name: E2E custom domain tests AWS
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test_make_target: [ "test-custom-domain", "test-integration-gateway" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- uses: ./.github/actions/e2e-test-gardener
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manager_image: ${{ inputs.image }}
gardener_secret: ${{ secrets.GARDENER_TOKEN }}
gardener_project_name: ${{ vars.GARDENER_PROJECT_NAME }}
gardener_provider: aws
test_client_id: ${{ secrets.CLIENT_ID }}
test_client_secret: ${{ secrets.CLIENT_SECRET }}
test_oidc_well_known_url: "${{ secrets.OIDC_ISSUER_URL }}/.well-known/openid-configuration"
dns_secret_json: ${{ secrets.DNS_SECRET_JSON }}
test_make_target: ${{ matrix.test_make_target }}
test_custom_domain: ${{ vars.TEST_CUSTOM_DOMAIN }}