27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- name : Check out the codebase.
30
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v3
31
31
32
32
- name : Build image and bundle
33
33
env :
@@ -40,13 +40,13 @@ jobs:
40
40
mv signalfx-agent-latest.tar.gz ./dist/
41
41
42
42
- name : Uploading image artifacts
43
- uses : actions/upload-artifact@v2
43
+ uses : actions/upload-artifact@v3
44
44
with :
45
45
name : image
46
46
path : ./dist/image.tar
47
47
48
48
- name : Uploading bundle artifacts
49
- uses : actions/upload-artifact@v2
49
+ uses : actions/upload-artifact@v3
50
50
with :
51
51
name : bundle
52
52
path : ./dist/signalfx-agent-latest.tar.gz
61
61
run : apk add --no-cache curl make git bash coreutils
62
62
63
63
- name : Check out the codebase.
64
- uses : actions/checkout@v2
64
+ uses : actions/checkout@v3
65
65
with :
66
66
fetch-depth : 0
67
67
@@ -98,21 +98,21 @@ jobs:
98
98
timeout-minutes : 60
99
99
steps :
100
100
- name : Check out the codebase.
101
- uses : actions/checkout@v2
101
+ uses : actions/checkout@v3
102
102
103
103
- name : Downloading bundle
104
- uses : actions/download-artifact@v2
104
+ uses : actions/download-artifact@v3
105
105
with :
106
106
name : bundle
107
107
path : ./dist
108
108
109
109
- name : Setup python
110
- uses : actions/setup-python@v2
110
+ uses : actions/setup-python@v4
111
111
with :
112
112
python-version : ${{ env.PYTHON_VERSION }}
113
113
114
114
- name : Caching dependency
115
- uses : actions/cache@v2
115
+ uses : actions/cache@v3
116
116
with :
117
117
path : |
118
118
~/.cache/pip
@@ -130,7 +130,7 @@ jobs:
130
130
run : .github/scripts/run-pytest.sh
131
131
132
132
- name : Uploading pytest result artifacts
133
- uses : actions/upload-artifact@v2
133
+ uses : actions/upload-artifact@v3
134
134
with :
135
135
name : bundle-package-pytest-result
136
136
path : |
@@ -146,10 +146,10 @@ jobs:
146
146
options : --user root
147
147
steps :
148
148
- name : Check out the codebase.
149
- uses : actions/checkout@v2
149
+ uses : actions/checkout@v3
150
150
151
151
- name : Downloading bundle
152
- uses : actions/download-artifact@v2
152
+ uses : actions/download-artifact@v3
153
153
with :
154
154
name : bundle
155
155
path : ./dist
@@ -167,7 +167,7 @@ jobs:
167
167
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
168
168
169
169
- name : Caching dependency
170
- uses : actions/cache@v2
170
+ uses : actions/cache@v3
171
171
with :
172
172
path : |
173
173
/usr/share/dependency-check/data
@@ -187,7 +187,7 @@ jobs:
187
187
(echo -e "\nOne or more critical vulnerabilities were found in the agent bundle.\nCheck the report artifact, fix the issues, run 'make bundle && make dependency-check', and commit the changes when the issues are resolved." && exit 1)
188
188
189
189
- name : Uploading test result artifacts
190
- uses : actions/upload-artifact@v2
190
+ uses : actions/upload-artifact@v3
191
191
with :
192
192
name : dependency-check-result
193
193
path : reports
@@ -205,12 +205,12 @@ jobs:
205
205
apt-get install -y git
206
206
207
207
- name : Check out the codebase.
208
- uses : actions/checkout@v2
208
+ uses : actions/checkout@v3
209
209
with :
210
210
fetch-depth : 0
211
211
212
212
- name : Downloading bundle
213
- uses : actions/download-artifact@v2
213
+ uses : actions/download-artifact@v3
214
214
with :
215
215
name : bundle
216
216
path : ./dist
@@ -220,7 +220,7 @@ jobs:
220
220
AGENT_VERSION=$(./scripts/current-version) AGENT_BUNDLE=$(pwd)/dist/signalfx-agent-latest.tar.gz deployments/cloudfoundry/tile/make-latest-tile
221
221
222
222
- name : Uploading PCF tile build result artifacts
223
- uses : actions/upload-artifact@v2
223
+ uses : actions/upload-artifact@v3
224
224
with :
225
225
name : pcf-tile-build-result
226
226
path : deployments/cloudfoundry/tile/product/signalfx-monitoring-*.pivotal
@@ -237,21 +237,21 @@ jobs:
237
237
fail-fast : false
238
238
steps :
239
239
- name : Check out the codebase.
240
- uses : actions/checkout@v2
240
+ uses : actions/checkout@v3
241
241
242
242
- name : Downloading bundle
243
- uses : actions/download-artifact@v2
243
+ uses : actions/download-artifact@v3
244
244
with :
245
245
name : bundle
246
246
path : ./
247
247
248
248
- name : Setup python
249
- uses : actions/setup-python@v2
249
+ uses : actions/setup-python@v4
250
250
with :
251
251
python-version : ${{ env.PYTHON_VERSION }}
252
252
253
253
- name : Caching dependency
254
- uses : actions/cache@v2
254
+ uses : actions/cache@v3
255
255
with :
256
256
path : |
257
257
~/.cache/pip
@@ -312,7 +312,7 @@ jobs:
312
312
run : .github/scripts/run-pytest.sh
313
313
314
314
- name : Uploading pytest result artifacts
315
- uses : actions/upload-artifact@v2
315
+ uses : actions/upload-artifact@v3
316
316
with :
317
317
name : integration-test-result-${{ matrix.group }}
318
318
path : |
@@ -330,7 +330,7 @@ jobs:
330
330
fail-fast : false
331
331
steps :
332
332
- name : Check out the codebase.
333
- uses : actions/checkout@v2
333
+ uses : actions/checkout@v3
334
334
335
335
- uses : dorny/paths-filter@v2
336
336
id : filter
@@ -382,7 +382,7 @@ jobs:
382
382
383
383
- name : Downloading image
384
384
if : ${{ env.SKIP != 'true' }}
385
- uses : actions/download-artifact@v2
385
+ uses : actions/download-artifact@v3
386
386
with :
387
387
name : image
388
388
path : ./dist
@@ -395,7 +395,7 @@ jobs:
395
395
- name : Caching cni
396
396
id : cache-cni
397
397
if : ${{ env.WITH_CRIO == '1' && env.SKIP != 'true' }}
398
- uses : actions/cache@v2
398
+ uses : actions/cache@v3
399
399
with :
400
400
path : /tmp/cni.tgz
401
401
key : v2-cni-binaries-${{ env.CNI_VERSION }}
@@ -413,7 +413,7 @@ jobs:
413
413
- name : Caching cni plugins
414
414
id : cache-cni-plugins
415
415
if : ${{ env.WITH_CRIO == '1' && env.SKIP != 'true' }}
416
- uses : actions/cache@v2
416
+ uses : actions/cache@v3
417
417
with :
418
418
path : /tmp/cni-plugins.tgz
419
419
key : v2-cni-plugins-${{ env.CNI_PLUGINS_VERSION }}
@@ -435,7 +435,7 @@ jobs:
435
435
- name : Caching crictl
436
436
if : ${{ env.SKIP != 'true' }}
437
437
id : cache-crictl
438
- uses : actions/cache@v2
438
+ uses : actions/cache@v3
439
439
with :
440
440
path : /tmp/crictl.tar.gz
441
441
key : v2-crictl-binary-${{ env.CRICTL_VERSION }}
@@ -452,7 +452,7 @@ jobs:
452
452
- name : Caching kubectl
453
453
if : ${{ env.SKIP != 'true' }}
454
454
id : cache-kubectl
455
- uses : actions/cache@v2
455
+ uses : actions/cache@v3
456
456
with :
457
457
path : /tmp/kubectl
458
458
key : v5-kubectl-binary-${{ env.K8S_VERSION }}
@@ -469,7 +469,7 @@ jobs:
469
469
- name : Caching minikube
470
470
if : ${{ env.SKIP != 'true' }}
471
471
id : cache-minikube
472
- uses : actions/cache@v2
472
+ uses : actions/cache@v3
473
473
with :
474
474
path : /tmp/minikube
475
475
key : v2-minikube-binary-${{ env.MINIKUBE_VERSION }}
@@ -495,13 +495,13 @@ jobs:
495
495
496
496
- name : Setup python
497
497
if : ${{ env.SKIP != 'true' }}
498
- uses : actions/setup-python@v2
498
+ uses : actions/setup-python@v4
499
499
with :
500
500
python-version : ${{ env.PYTHON_VERSION }}
501
501
502
502
- name : Caching dependency
503
503
if : ${{ env.SKIP != 'true' }}
504
- uses : actions/cache@v2
504
+ uses : actions/cache@v3
505
505
with :
506
506
path : |
507
507
~/.cache/pip
@@ -526,7 +526,7 @@ jobs:
526
526
527
527
- name : Uploading pytest result artifacts
528
528
if : ${{ env.SKIP != 'true' }}
529
- uses : actions/upload-artifact@v2
529
+ uses : actions/upload-artifact@v3
530
530
with :
531
531
name : k8s-${{ matrix.K8S_VERSION }}-integration-test-result
532
532
path : |
0 commit comments