4
4
push :
5
5
branches :
6
6
- " **"
7
+ paths-ignore :
8
+ - " .circleci/**"
9
+ - " .gitlab/**"
10
+ - " appraisal/**"
11
+ - " benchmarks/**"
12
+ - " docs/**"
13
+ - " gemfiles/**"
14
+ - " integration/**"
15
+ - " sig/**"
16
+ - " spec/**"
17
+ - " suppressions/**"
18
+ - " tools/**"
19
+ - " vendor/**"
7
20
workflow_dispatch : {}
8
21
schedule :
9
- - cron : ' 00 04 * * 2-6'
22
+ - cron : " 00 04 * * 2-6"
10
23
11
24
env :
12
25
REGISTRY : ghcr.io
33
46
- name : Checkout
34
47
uses : actions/checkout@v4
35
48
with :
36
- repository : ' DataDog/system-tests'
49
+ repository : " DataDog/system-tests"
37
50
ref : ${{ env.SYSTEM_TESTS_REF }}
38
51
persist-credentials : false
39
52
- name : Login to Docker Hub
@@ -61,21 +74,18 @@ jobs:
61
74
run : |
62
75
echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
63
76
- name : Tag image for CI run
64
- run :
65
- docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:gha${{ github.run_id }}-g${{ github.sha }}
77
+ run : docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:gha${{ github.run_id }}-g${{ github.sha }}
66
78
- name : Push image for CI run
67
79
run : |
68
80
docker push ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:gha${{ github.run_id }}-g${{ github.sha }}
69
81
- name : Tag image for commit
70
- run :
71
- docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:g${{ github.sha }}
82
+ run : docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:g${{ github.sha }}
72
83
- name : Push image for commit
73
84
run : |
74
85
docker push ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:g${{ github.sha }}
75
86
- name : Tag image for release
76
87
if : ${{ github.ref == 'refs/heads/master' }}
77
- run :
78
- docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:latest
88
+ run : docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:latest
79
89
- name : Push image for release
80
90
if : ${{ github.ref == 'refs/heads/master' }}
81
91
run : |
@@ -122,14 +132,14 @@ jobs:
122
132
- name : Checkout
123
133
uses : actions/checkout@v4
124
134
with :
125
- repository : ' DataDog/system-tests'
135
+ repository : " DataDog/system-tests"
126
136
ref : ${{ env.SYSTEM_TESTS_REF }}
127
137
persist-credentials : false
128
138
- name : Checkout ${{ matrix.library.repository }}
129
139
uses : actions/checkout@v4
130
140
with :
131
- repository : ' ${{ matrix.library.repository }}'
132
- path : ' binaries/${{ matrix.library.path }}'
141
+ repository : " ${{ matrix.library.repository }}"
142
+ path : " binaries/${{ matrix.library.path }}"
133
143
fetch-depth : 2
134
144
persist-credentials : false
135
145
- name : Read forced-tests-list.json file
@@ -168,21 +178,18 @@ jobs:
168
178
echo "cache args: ${cache_from[*]}"
169
179
./build.sh --library ${{ matrix.library.name }} --weblog-variant ${{ matrix.app }} --images ${{ matrix.image }} --extra-docker-args "${cache_from[*]}"
170
180
- name : Tag image for CI run
171
- run :
172
- docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:gha${{ github.run_id }}-g${{ github.sha }}
181
+ run : docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:gha${{ github.run_id }}-g${{ github.sha }}
173
182
- name : Push image for CI run
174
183
run : |
175
184
docker push ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:gha${{ github.run_id }}-g${{ github.sha }}
176
185
- name : Tag image for commit
177
- run :
178
- docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:g${{ github.sha }}
186
+ run : docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:g${{ github.sha }}
179
187
- name : Push image for commit
180
188
run : |
181
189
docker push ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:g${{ github.sha }}
182
190
- name : Tag image for release
183
191
if : ${{ github.ref == 'refs/heads/master' }}
184
- run :
185
- docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:latest
192
+ run : docker tag system_tests/${{ matrix.image }}:latest ${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:latest
186
193
- name : Push image for release
187
194
if : ${{ github.ref == 'refs/heads/master' }}
188
195
run : |
@@ -306,7 +313,7 @@ jobs:
306
313
- name : Checkout
307
314
uses : actions/checkout@v4
308
315
with :
309
- repository : ' DataDog/system-tests'
316
+ repository : " DataDog/system-tests"
310
317
ref : ${{ env.SYSTEM_TESTS_REF }}
311
318
persist-credentials : false
312
319
- name : Login to Docker Hub
@@ -390,11 +397,11 @@ jobs:
390
397
- name : Setup python 3.12
391
398
uses : actions/setup-python@v5
392
399
with :
393
- python-version : ' 3.12'
400
+ python-version : " 3.12"
394
401
- name : Checkout
395
402
uses : actions/checkout@v4
396
403
with :
397
- repository : ' DataDog/system-tests'
404
+ repository : " DataDog/system-tests"
398
405
ref : ${{ env.SYSTEM_TESTS_REF }}
399
406
persist-credentials : false
400
407
- name : Retrieve logs
@@ -446,9 +453,9 @@ jobs:
446
453
echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
447
454
- uses : actions/delete-package-versions@v5
448
455
with :
449
- package-version-ids : ' gha${{ github.run_id }}-g${{ github.sha }}'
450
- package-name : ' system-tests/${{ matrix.image }}'
451
- package-type : ' container'
456
+ package-version-ids : " gha${{ github.run_id }}-g${{ github.sha }}"
457
+ package-name : " system-tests/${{ matrix.image }}"
458
+ package-type : " container"
452
459
continue-on-error : true
453
460
454
461
build-artifacts :
@@ -475,4 +482,4 @@ jobs:
475
482
library : ruby
476
483
binaries_artifact : system_tests_binaries
477
484
_experimental_job_count : 8
478
- _experimental_job_matrix : ' [1,2,3,4,5,6,7,8]'
485
+ _experimental_job_matrix : " [1,2,3,4,5,6,7,8]"
0 commit comments