generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 176
482 lines (450 loc) · 14.9 KB
/
integration_omnibus.yml
File metadata and controls
482 lines (450 loc) · 14.9 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
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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
name: integration-omnibus
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
env:
GOPROXY: https://proxy.golang.org,direct
permissions:
contents: read
jobs:
integrations:
name: ${{ matrix.name }}-${{ matrix.arch }}
runs-on:
- codebuild-aws-lc-ci-github-actions-${{ github.run_id }}-${{ github.run_attempt }}
image:${{ matrix.arch == 'x86_64' && 'linux-5.0' || matrix.arch == 'aarch64' && 'arm-3.0' }}
instance-size:${{ matrix.size }}
strategy:
fail-fast: false
matrix:
include:
# s2n-tls Integration Tests
- name: s2n-tls
arch: x86_64
size: small
image: ubuntu:20.04
compiler: clang-9
run: ./tests/ci/integration/run_s2n_integration.sh
# AWS Common Runtime (CRT) Integration Tests
- name: aws-crt
arch: x86_64
size: small
image: amazonlinux:2023
compiler: gcc-11
run: ./tests/ci/integration/run_crt_integration.sh
- name: aws-crt
arch: aarch64
size: small
image: amazonlinux:2023
compiler: gcc-11
run: ./tests/ci/integration/run_crt_integration.sh
# libgit2
- name: libgit2
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_libgit2_integration.sh
# OpenSSH Integration Tests
- name: openssh-master
arch: x86_64
size: small
image: amazonlinux:2023
compiler: clang-15
openssh_branch: master
run: ./tests/ci/integration/run_openssh_integration.sh
- name: openssh-v8.9
arch: x86_64
size: small
image: amazonlinux:2023
compiler: clang-15
openssh_branch: V_8_9
run: ./tests/ci/integration/run_openssh_integration.sh
- name: openssh-master
arch: aarch64
size: 2xlarge
image: amazonlinux:2023
compiler: clang-15
openssh_branch: master
run: ./tests/ci/integration/run_openssh_integration.sh
- name: openssh-v8.9
arch: aarch64
size: 2xlarge
image: amazonlinux:2023
compiler: clang-15
openssh_branch: V_8_9
run: ./tests/ci/integration/run_openssh_integration.sh
# PostgreSQL Integration Tests
- name: postgresql
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
user: postgres
run: ./tests/ci/integration/run_postgres_integration.sh
- name: postgresql
arch: aarch64
size: large
image: ubuntu:22.04
compiler: gcc-12
user: postgres
run: ./tests/ci/integration/run_postgres_integration.sh
# MySQL Integration Tests
- name: mysql
arch: x86_64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
credentials: true
user: postgres
run: ./tests/ci/integration/run_mysql_integration.sh
- name: mysql
arch: aarch64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
credentials: true
user: postgres
run: ./tests/ci/integration/run_mysql_integration.sh
# MariaDB Integration Tests
- name: mariadb
arch: x86_64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_mariadb_integration.sh
- name: mariadb
arch: aarch64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_mariadb_integration.sh
# Curl Integration Tests
- name: curl
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-11
ipv6: true
run: ./tests/ci/integration/run_curl_integration.sh
- name: curl
arch: aarch64
size: large
image: ubuntu:22.04
compiler: gcc-11
ipv6: true
run: ./tests/ci/integration/run_curl_integration.sh
# NGINX Integration Tests
- name: nginx
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
user: postgres
run: ./tests/ci/integration/run_nginx_integration.sh
- name: nginx
arch: aarch64
size: large
image: ubuntu:22.04
compiler: gcc-12
user: postgres
run: ./tests/ci/integration/run_nginx_integration.sh
# SSLProxy Integration Tests
- name: sslproxy
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_sslproxy_integration.sh
- name: sslproxy
arch: aarch64
size: large
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_sslproxy_integration.sh
# Monit Integration Tests
- name: monit
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
credentials: true
run: ./tests/ci/integration/run_monit_integration.sh
# librelp Integration Tests
- name: librelp
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_librelp_integration.sh
# HAProxy Integration Tests
- name: haproxy
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_haproxy_integration.sh
# Trousers Integration Tests
- name: trousers
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_trousers_integration.sh
# NTP Integration Tests
- name: ntp
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_ntp_integration.sh
# PQ TLS Integration Tests
- name: pq-tls
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_pq_tls_integration.sh
# tpm2-tss Integration Tests
- name: tpm2-tss
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_tpm2_tss_integration.sh
# tcpdump Integration Tests
- name: tcpdump
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_tcpdump_integration.sh
# OpenLDAP Integration Tests
- name: openldap-master
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_openldap_integration.sh master
- name: openldap-v2.5
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_openldap_integration.sh OPENLDAP_REL_ENG_2_5
# Cyrus SASL Integration Tests
- name: cyrus-sasl
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_cyrus_sasl_integration.sh
# Amazon Corretto Crypto Provider Integration Tests
- name: accp-aarch64
arch: aarch64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
accp_fips: false
run: ./tests/ci/integration/run_accp_integration.sh
- name: accp-fips-aarch64
arch: aarch64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
accp_fips: true
run: ./tests/ci/integration/run_accp_integration.sh
- name: accp-x86_64
arch: x86_64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
accp_fips: false
run: ./tests/ci/integration/run_accp_integration.sh
- name: accp-fips-x86_64
arch: x86_64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
accp_fips: true
run: ./tests/ci/integration/run_accp_integration.sh
# NMAP Integration Tests
- name: nmap
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_nmap_integration.sh
# IBM TPM Integration Tests
- name: ibmtpm
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_ibmtpm_integration.sh
# libwebsockets Integration Tests
- name: libwebsockets
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_libwebsockets_integration.sh
# GRPC Integration Tests
- name: grpc
arch: x86_64
size: 2xlarge
image: ubuntu:22.04
compiler: gcc-12
ipv6: true
run: ./tests/ci/integration/run_grpc_integration.sh
# Bind9 Integration Tests
- name: bind9
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
ipv6: true
options: --privileged
run: |
python3 -m pip install --upgrade meson
./tests/ci/integration/run_bind9_integration.sh
# strongSwan Integration Tests
- name: strongswan
arch: x86_64
size: small
image: ubuntu:22.04
compiler: gcc-12
ipv6: true
run: ./tests/ci/integration/run_strongswan_integration.sh
# OpenVPN Integration Tests
- name: openvpn-master
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
ipv6: true
run: ./tests/ci/integration/run_openvpn_integration.sh master
- name: openvpn-v2.6
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
ipv6: true
run: ./tests/ci/integration/run_openvpn_integration.sh release/2.6
# XMLSec Integration Tests
- name: xmlsec
arch: x86_64
size: medium
image: ubuntu:22.04
compiler: gcc-12
options: --privileged
run: ./tests/ci/integration/run_xmlsec_integration.sh
# XtraBackup Integration Tests
- name: xtrabackup
arch: x86_64
size: large
image: ubuntu:22.04
compiler: gcc-12
run: ./tests/ci/integration/run_xtrabackup_integration.sh
env:
OPENSSH_BRANCH: ${{ matrix.openssh_branch || '' }}
ACCP_FIPS: ${{ matrix.accp_fips || '' }}
steps:
- uses: actions/checkout@v5
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- uses: ./.github/actions/codebuild-docker-run
name: Run Container
with:
image: ${{ steps.login-ecr.outputs.registry }}/aws-lc/${{ matrix.image }}
env: |
OPENSSH_BRANCH
ACCP_FIPS
options: ${{ matrix.options || '' }}
user: ${{ matrix.user || '' }}
ipv6: ${{ matrix.ipv6 || false }}
withCredentials: ${{ matrix.credentials || false }}
run: |
source /opt/compiler-env/setup-${{ matrix.compiler }}.sh
${{ matrix.run }}
python:
name: python-${{ matrix.version }}${{ matrix.buildFIPS == 1 && '-fips' || '' }}-${{ matrix.crtUseSystemCrypto == 1 && 'crt-vendored-crypto' || 'crt-system-crypto' }}-${{ matrix.arch }}
runs-on:
- codebuild-aws-lc-ci-github-actions-${{ github.run_id }}-${{ github.run_attempt }}
image:linux-5.0
instance-size:medium
strategy:
fail-fast: false
matrix:
arch: ["x86_64"]
version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
buildFIPS: [0, 1]
crtUseSystemCrypto: [0, 1]
include:
- version: main
buildFIPS: 0
crtUseSystemCrypto: 0
arch: x86_64
env:
FIPS: ${{ matrix.buildFIPS }}
AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO: ${{ matrix.crtUseSystemCrypto }}
steps:
- uses: actions/checkout@v5
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- uses: ./.github/actions/codebuild-docker-run
name: Run Container
with:
image: ${{ steps.login-ecr.outputs.registry }}/aws-lc/ubuntu:22.04
env: |
FIPS
AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO
ipv6: true
run: |
source /opt/compiler-env/setup-gcc-12.sh
./tests/ci/integration/run_python_integration.sh ${{ matrix.version }}
ruby:
name: ruby-${{ matrix.version }}${{ matrix.buildFIPS == 1 && '-fips' || '' }}-${{ matrix.arch }}
runs-on:
- codebuild-aws-lc-ci-github-actions-${{ github.run_id }}-${{ github.run_attempt }}
image:linux-5.0
instance-size:medium
strategy:
fail-fast: false
matrix:
arch: ["x86_64"]
version:
- master
- ruby_3_2
- ruby_3_3
- ruby_3_4
buildFIPS: [0, 1]
env:
FIPS: ${{ matrix.buildFIPS }}
steps:
- uses: actions/checkout@v5
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2
- uses: ./.github/actions/codebuild-docker-run
name: Run Container
with:
image: ${{ steps.login-ecr.outputs.registry }}/aws-lc/ubuntu:24.04
env: |
FIPS
ipv6: true
run: |
source /opt/compiler-env/setup-gcc-13.sh
./tests/ci/integration/run_ruby_integration.sh ${{ matrix.version }}