-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
286 lines (278 loc) · 10.1 KB
/
config.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# `policy` is the root object for the policy and bundle commands. Any
# parent policy options provided here can be overridden by repo
# specific/ branch specific options.
policy:
# Owner component of Github reponame
owner: TykTechnologies
# deletedfiles are files that should not exist, usually the
# detritutus of failed experiments or features than have been
# superceded, they will be removed if policy sync encounters them
deletedfiles:
- .github/workflows/del-env.yml
- .github/workflows/sync-automation.yml
- .github/workflows/update-config-docs.yml
- .github/workflows/pac.yml
- .github/workflows/int-image.yml
- .github/workflows/e2e_api_tests.yml
- .github/workflows/api-tests.yml
- repo-policy
- bin/dist_push.sh
- bin/dist_build.sh
- bin/integration_build.sh
- ci/Dockerfile.slim
- ci/aws
- ci/image
- ci/auto
# Groups collect repos that have some common feature
groups:
# cgo-services contains the metadata required to manage repos that
# are services and require cgo
cgo-services:
# features act as flags whose presence/absence can be used to render
# a common set of features across branch(es)
# For eg: all regular builds now support el/7 by default,
# but in order to build the pure go version of dashboard which can run on el7
# we make use of the `el7-pgo-build` feature flag to write the template conditions
# accordingly to it
features:
- releng
# The build environment used for this repo. Right now, this value
# is used for selecting the appropriate golang-cross image
# used for building the binary, packages and docker images.
buildenv: 1.22-bullseye
# baseimage what the container images are based on. It needs to be a
# debian compatible distro as the Dockerfile assumes apt-get
baseimage: debian:bookworm-slim
# distrolessbaseimage is used for container images when the
# distroless feature is set. base is appropriate for cgo
# builds, static for pure go.
distrolessbaseimage: base-debian12:nonroot
# Repo specific policies start here->
repos:
# Repo specific policy for `tyk` starts here->
tyk:
distrolessbaseimage: base-debian12:latest
# Description for the repo - this will be used as description for
# deb/rpm packages, docker images etc.
description: >-
Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols
# The packagecloud repo name for this git repo.
pcrepo: tyk-gateway
# The dockerhub image name for this repo. in the form of repo/image
dhrepo: tykio/tyk-gateway
# Cloudsmith image name for this repo.
csrepo: docker.tyk.io/tyk-gateway/tyk-gateway
# (eg: TykTechnologies/devops) that will be automatically set as
# It also is used while generating dependabot templates to set
# The name for the deb/rpm packages generated by release workflow.
packagename: tyk-gateway
# The name of the binary generated after the build.
binary: tyk
# `protected` specifies repo specific protected branches - this gets
# appended to the common protected branches if any.
# Ports exposed by the docker images built for this repo/
exposeports: "8080"
# Specifies whether this repo had to be built with cgo
# enabled. This will also generate separate packages for
# older glibc versions (el7 and non-el7 release workflows)
cgo: true
# The version that's used for upgrade tests. This version
# will be installed first and will then be upgraded with the
# recently generated packages. Make sure that this is a version
# that has candidate packages for all our supported OSes and archs.
upgradefromver: 3.0.8
# The default config file used by the application.
configfile: tyk.conf
# The go package which contains the `VERSION` string for this REPO.
versionpackage: github.com/TykTechnologies/tyk/internal/build
# tests are the automated tests that should be run on the the
# official images. These tests are usually required for PRs to
# pass so be careful with names
tests: [api]
# Different branches could have different policy as older branches
# could be on a different releaese workflow. To override any branch
# policy for a specific branch, they could be specified here, under
# the respective branches.
# Branch specific policy for different branches starts here.->
branches:
master:
features:
- s390x
- release-test
- distroless
- ee
- fips
release-5.6:
features:
- distroless
- s390x
- release-test
release-5-lts:
buildenv: 1.16
features:
- plugin-compiler-fix-vendor
- python-support
release-5.7:
features:
- s390x
- release-test
- distroless
- ee
- fips
tyk-analytics:
description: >-
Dashboard for the Tyk API Gateway
pcrepo: tyk-dashboard
dhrepo: tykio/tyk-dashboard
csrepo: docker.tyk.io/tyk-dashboard/tyk-dashboard
exposeports: "3000 5000"
binary: tyk-analytics
packagename: tyk-dashboard
cgo: true
upgradefromver: 3.0.9
configfile: tyk_analytics.conf
deletedfiles:
- .github/workflows/release-tests-api.yml
- .github/workflows/release-tests-ui.yml
versionpackage: github.com/TykTechnologies/tyk-analytics/internal/build
tests:
- ui
- api
branches:
master:
cgo: false
features:
- nightly-e2e
- distroless
- s390x
- distroless
- release-test
release-5.6:
features:
- distroless
- s390x
- release-test
release-5-lts:
buildenv: 1.16
features:
- el7-pgo-build
release-5.7:
features:
- distroless
- s390x
- release-test
portal:
description: >-
Developer portal for the Tyk API Gateway
pcrepo: portal
dhrepo: tykio/portal
exposeports: 80
binary: dev-portal
packagename: portal
buildenv: 1.22-bullseye
cgo: true
upgradefromver: 1.0.0
configfile: portal.conf
versionpackage: github.com/TykTechnologies/portal/model/version
features:
- distroless
branches:
master:
pgo-services:
features:
- releng
- distroless
buildenv: 1.21-bookworm
baseimage: debian:bookworm-slim
distrolessbaseimage: static-debian12:nonroot
repos:
tyk-pump:
description: >-
Tyk Analytics Pump to move analytics data from Redis to any supported back end (multiple back ends can be written to at once).
pcrepo: tyk-pump
dhrepo: tykio/tyk-pump-docker-pub
csrepo: docker.tyk.io/tyk-pump/tyk-pump
exposeports: "80"
binary: tyk-pump
packagename: tyk-pump
cgo: false
upgradefromver: 1.6.0
configfile: pump.conf
versionpackage: github.com/TykTechnologies/tyk-pump/pumps
tests: [api]
features:
- s390x
- distroless
branches:
master:
tyk-identity-broker:
description: >-
Tyk Authentication Proxy for third-party login
pcrepo: tyk-identity-broker
dhrepo: tykio/tyk-identity-broker
csrepo: docker.tyk.io/tyk-identity-broker/tyk-identity-broker
exposeports: 80
binary: tyk-identity-broker
packagename: tyk-identity-broker
cgo: false
upgradefromver: 1.1.0
configfile: tib.conf
versionpackage: github.com/TykTechnologies/tyk-identity-broker/main
branches:
master:
tyk-sink:
description: >-
Tyk RPC server backend (bridge)
pcrepo: tyk-mdcb
dhrepo: tykio/tyk-mdcb-docker
csrepo: docker.tyk.io/tyk-sink/tyk-sink
buildenv: 1.22-bullseye
exposeports: 80
binary: tyk-sink
packagename: tyk-sink
cgo: false
upgradefromver: 1.8.2
configfile: tyk_sink.conf
versionpackage: github.com/TykTechnologies/tyk-sink/main
tests: [api]
features:
- s390x
- distroless
branches:
master:
midsommar:
description: >-
Tyk AI Portal
pcrepo: midsommar
dhrepo: tykio/midsommar
csrepo: docker.tyk.io/midsommar/midsommar
buildenv: 1.22-bullseye
exposeports: 80
binary: midsommar
packagename: midsommar
cgo: false
upgradefromver: 0.0.1
configfile: midsommar.conf
versionpackage: github.com/TykTechnologies/midsommar/main
features:
- s390x
- distroless
branches:
main:
# Quis qustodiet ipsos custodes?
# A:
test-square:
repos:
tyk-pro:
owner: tyklabs
deletedfiles:
- .github/workflows/release-tests.yml
description: >-
Tyk automation repo environment for regression testing
tests:
- api
- ui
features:
- test-square
branches:
main: