Skip to content

Commit d6b60e0

Browse files
committed
Bump download artifacts
1 parent f4f25ae commit d6b60e0

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193

194194
# upload the binaries to artifact as well because cache@v3 hasn't support windows
195195
- name: Upload
196-
uses: actions/upload-artifact@v3
196+
uses: actions/upload-artifact@v4
197197
with:
198198
name: binary_artifacts
199199
path: build
@@ -206,7 +206,7 @@ jobs:
206206
- uses: actions/checkout@v4
207207

208208
- name: Download built artifacts
209-
uses: actions/download-artifact@v3
209+
uses: actions/download-artifact@v4
210210
with:
211211
name: binary_artifacts
212212
path: build
@@ -262,7 +262,7 @@ jobs:
262262
}
263263
Write-Output "Valid signature found from the package"
264264
- name: Upload the msi
265-
uses: actions/upload-artifact@v3
265+
uses: actions/upload-artifact@v4
266266
with:
267267
name: msi_artifacts
268268
path: "${{ env.PACKAGING_ROOT }}"
@@ -354,7 +354,7 @@ jobs:
354354
run: |
355355
ARCH=amd64 DEST=$PACKAGING_ROOT/debian/amd64 tools/packaging/debian/create_deb.sh
356356
ARCH=arm64 DEST=$PACKAGING_ROOT/debian/arm64 tools/packaging/debian/create_deb.sh
357-
357+
358358
- uses: aws-actions/configure-aws-credentials@v4
359359
with:
360360
role-to-assume: ${{ secrets.COLLECTOR_PROD_PKG_SIGNER_ROLE_ARN }}
@@ -433,7 +433,7 @@ jobs:
433433

434434
- name: Download built artifacts
435435
if: steps.cached_ssm.outputs.cache-hit != 'true'
436-
uses: actions/download-artifact@v3
436+
uses: actions/download-artifact@v4
437437
with:
438438
name: msi_artifacts
439439
path: "${{ env.PACKAGING_ROOT }}"
@@ -479,7 +479,7 @@ jobs:
479479

480480
- name: Download built artifacts
481481
if: steps.cached_packages.outputs.cache-hit != 'true'
482-
uses: actions/download-artifact@v3
482+
uses: actions/download-artifact@v4
483483
with:
484484
name: msi_artifacts
485485
path: "${{ env.PACKAGING_ROOT }}"
@@ -593,7 +593,7 @@ jobs:
593593
platforms : linux/amd64, linux/arm64
594594
labels: ${{ steps.meta.outputs.labels }}
595595

596-
get-testing-suites:
596+
get-testing-suites:
597597
runs-on: ubuntu-latest
598598
needs: [create-test-ref]
599599
outputs:
@@ -658,7 +658,7 @@ jobs:
658658
aws-region: us-west-2
659659
# 6 hours
660660
role-duration-seconds: 21600
661-
661+
662662
- name: Checkout testing framework
663663
uses: actions/checkout@v4
664664
with:
@@ -695,11 +695,11 @@ jobs:
695695
export TF_VAR_aoc_version=${{ needs.e2etest-preparation.outputs.version }}
696696
cd testing-framework/terraform
697697
make checkCacheHits
698-
698+
699699
# This is here just in case workflow cancel
700700
# We first kill terraform processes to ensure that no state
701701
# file locks are being held from SIGTERMS dispatched in previous
702-
# steps.
702+
# steps.
703703
- name: Destroy resources
704704
if: ${{ cancelled() }}
705705
shell: bash {0}
@@ -801,7 +801,7 @@ jobs:
801801
uses: actions/setup-go@v5
802802
with:
803803
go-version: ${{ env.GO_VERSION }}
804-
804+
805805
- name: Configure AWS Credentials
806806
uses: aws-actions/configure-aws-credentials@v4
807807
with:

.github/workflows/PR-build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
env:
2525
IMAGE_NAME: aws-otel-collector
26-
PACKAGING_ROOT: build/packages
26+
PACKAGING_ROOT: build/packages
2727
TESTING_FRAMEWORK_REPO: aws-observability/aws-otel-test-framework
2828
GO_VERSION: ~1.22.7
2929

@@ -60,7 +60,7 @@ jobs:
6060
${{ env.MDS }} \
6161
|| { echo "Check that anchor links are lowercase"; exit 1; }
6262
if: ${{ env.MDS }}
63-
63+
6464
create-test-ref:
6565
runs-on: ubuntu-latest
6666
outputs:
@@ -109,7 +109,7 @@ jobs:
109109
if: ${{ needs.changes.outputs.changed == 'true' }}
110110
run: make apply-patches
111111

112-
# Set up building environment, patch the dev repo code on dispatch events.
112+
# Set up building environment, patch the dev repo code on dispatch events.
113113
- name: Set up Go 1.x
114114
if: ${{ needs.changes.outputs.changed == 'true' }}
115115
uses: actions/setup-go@v5
@@ -119,12 +119,12 @@ jobs:
119119
- name: install tools
120120
if: ${{ needs.changes.outputs.changed == 'true' }}
121121
run: make install-tools
122-
122+
123123
- name: Lint
124124
if: ${{ needs.changes.outputs.changed == 'true'}}
125125
run: make golint
126-
127-
# only run unit tests on windows. The unix build job will lint, test, and build.
126+
127+
# only run unit tests on windows. The unix build job will lint, test, and build.
128128
- name: Unit test
129129
if: ${{ needs.changes.outputs.changed == 'true'}}
130130
run: make gotest
@@ -145,7 +145,7 @@ jobs:
145145
if: ${{ needs.changes.outputs.changed == 'true' }}
146146
run: make apply-patches
147147

148-
# Set up building environment, patch the dev repo code on dispatch events.
148+
# Set up building environment, patch the dev repo code on dispatch events.
149149
- name: Set up Go 1.x
150150
if: ${{ needs.changes.outputs.changed == 'true' }}
151151
uses: actions/setup-go@v5
@@ -179,7 +179,7 @@ jobs:
179179
# upload the binaries to artifact as well because cache@v2 hasn't support windows
180180
- name: Upload
181181
if: ${{ needs.changes.outputs.changed == 'true' }}
182-
uses: actions/upload-artifact@v3
182+
uses: actions/upload-artifact@v4
183183
with:
184184
name: binary_artifacts
185185
path: build
@@ -195,7 +195,7 @@ jobs:
195195

196196
- name: Download built artifacts
197197
if: ${{ needs.changes.outputs.changed == 'true' }}
198-
uses: actions/download-artifact@v3
198+
uses: actions/download-artifact@v4
199199
with:
200200
name: binary_artifacts
201201
path: build
@@ -302,11 +302,11 @@ jobs:
302302
run: |
303303
matrix=$(python e2etest/get-testcases.py local_matrix)
304304
echo "matrix=$matrix" >> $GITHUB_OUTPUT
305-
305+
306306
- name: List testing suites
307307
run: |
308308
echo ${{ steps.set-matrix.outputs.matrix }}
309-
309+
310310
run-test-case:
311311
runs-on: ubuntu-latest
312312
needs: [changes, get-test-cases, build, create-test-ref]
@@ -364,7 +364,7 @@ jobs:
364364
registry: public.ecr.aws
365365
env:
366366
AWS_REGION: us-east-1
367-
367+
368368
- name: Run test
369369
if: ${{ needs.changes.outputs.changed == 'true' }}
370370
uses: nick-invision/retry@v2

.github/workflows/perf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
cd testing-framework/terraform/performance && terraform init && terraform apply -auto-approve -lock=false -var="data_rate=${{ matrix.data_rate }}" -var="commit_id=${{ needs.get-testing-version.outputs.commit_id }}" $opts -var="aoc_version=${{ needs.get-testing-version.outputs.testing_version }}" -var="testcase=../testcases/${{ matrix.testcase }}" -var="testing_ami=${{ matrix.testing_ami }}" -var="ssh_key_name=aoc-ssh-key-2022-09-13" -var="sshkey_s3_bucket=aoc-ssh-key" -var="sshkey_s3_private_key=aoc-ssh-key-2022-09-13.txt"
191191
192192
- name: Upload the performance model as an artifact
193-
uses: actions/upload-artifact@v3
193+
uses: actions/upload-artifact@v4
194194
with:
195195
name: "performance-model-${{ matrix.testcase }}-${{ matrix.data_rate }}-${{ matrix.testing_ami }}"
196196
path: testing-framework/terraform/performance/output/performance.json
@@ -216,7 +216,7 @@ jobs:
216216
run: pip install Jinja2
217217

218218
- name: get all artifacts
219-
uses: actions/download-artifact@v3
219+
uses: actions/download-artifact@v4
220220
with:
221221
path: artifacts
222222

.github/workflows/rollback.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
fi
175175
done
176176
- name: Upload versions artifact
177-
uses: actions/upload-artifact@v3
177+
uses: actions/upload-artifact@v4
178178
with:
179179
name: ${{ matrix.type }}-versions
180180
path: ${{ env.SSM_ARTIFACT_ROOT }}
@@ -322,7 +322,7 @@ jobs:
322322
aws-secret-access-key: ${{ secrets.RELEASE_CN_SECRET }}
323323
aws-region: cn-north-1
324324
- name: Download versions artifact
325-
uses: actions/download-artifact@v3
325+
uses: actions/download-artifact@v4
326326
with:
327327
name: ${{ matrix.type }}-versions
328328
path: ${{ env.SSM_ARTIFACT_ROOT }}

0 commit comments

Comments
 (0)