Skip to content

Commit a5c4cdb

Browse files
authored
Merge pull request #448 from redhat-openshift-ecosystem/ISV-5234
[ISV-5234] Upgrade download/upload-artifact to v4
2 parents aed7a01 + 1d03a5b commit a5c4cdb

File tree

5 files changed

+24
-24
lines changed

5 files changed

+24
-24
lines changed

ci/legacy/.github/workflows/operator_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ jobs:
228228
run: |
229229
mkdir -p ./pr
230230
echo ${{ github.event.number }} > ./pr/NR
231-
- uses: actions/upload-artifact@v2
231+
- uses: actions/upload-artifact@v4
232232
with:
233233
name: pr
234234
path: pr/

ci/legacy/scripts/template/workflow/operator_test.yaml.js2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ jobs:
259259
run: |
260260
mkdir -p ./pr
261261
echo ${{ github.event.number }} > ./pr/NR
262-
- uses: actions/upload-artifact@v2
262+
- uses: actions/upload-artifact@v4
263263
with:
264264
name: pr
265265
path: pr/

ci/templates/workflow/dco_test.yaml.js2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
run: |
9696
mkdir -p ./pr
9797
echo ${{ github.event.number }} > ./pr/NR
98-
- uses: actions/upload-artifact@v2
98+
- uses: actions/upload-artifact@v4
9999
with:
100100
name: pr
101101
path: pr/

ci/templates/workflow/operator_release.yaml.js2

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,12 @@ jobs:
363363
cd operator-test-playbooks
364364
ansible-playbook -i localhost, -e ansible_connection=local -e run_upstream=true -e run_prepare_catalog_repo_upstream=true -e catalog_repo=$OPP_THIS_REPO_BASE/$OPP_THIS_REPO -e catalog_repo_branch=$OPP_THIS_BRANCH upstream/local.yml --tags reset_tools,operator_info -e operator_base_dir=/tmp/community-operators-for-catalog/operators -e operators=$OPP_FORCE_OPERATORS -e cluster_type=$OPP_PRODUCTION_TYPE -e strict_cluster_version_labels=true -e production_registry_namespace=$OPP_RELEASE_BUNDLE_REGISTRY/$OPP_RELEASE_BUNDLE_ORGANIZATION $ANSIBLE_ARGS
365365
- name: Upload operator_info
366-
uses: actions/upload-artifact@v2
366+
uses: actions/upload-artifact@v4
367367
with:
368368
name: operator_info
369369
path: "/tmp/operator-test/op_info.yaml"
370370
- name: Upload converted operators
371-
uses: actions/upload-artifact@v2
371+
uses: actions/upload-artifact@v4
372372
with:
373373
name: operators_converted
374374
path: "/tmp/operator-test/operators"
@@ -389,12 +389,12 @@ jobs:
389389
runs-on: ubuntu-latest
390390
steps:
391391
- name: Download operator_info
392-
uses: actions/download-artifact@v2
392+
uses: actions/download-artifact@v4
393393
with:
394394
name: operator_info
395395
path: /tmp/operator-test/
396396
- name: Download converted operators
397-
uses: actions/download-artifact@v2
397+
uses: actions/download-artifact@v4
398398
with:
399399
name: operators_converted
400400
path: /tmp/operator-test/operators
@@ -445,12 +445,12 @@ jobs:
445445
fail-fast: false
446446
steps:
447447
- name: Download operator_info
448-
uses: actions/download-artifact@v2
448+
uses: actions/download-artifact@v4
449449
with:
450450
name: operator_info
451451
path: /tmp/operator-test/
452452
- name: Download converted operators
453-
uses: actions/download-artifact@v2
453+
uses: actions/download-artifact@v4
454454
with:
455455
name: operators_converted
456456
path: /tmp/operator-test/operators
@@ -712,12 +712,12 @@ jobs:
712712
ansible-playbook -i localhost, -e ansible_connection=local -e run_upstream=true -e run_prepare_catalog_repo_upstream=true -e catalog_repo=$OPP_THIS_REPO_BASE/$OPP_THIS_REPO -e catalog_repo_branch=$OPP_THIS_BRANCH upstream/local.yml --tags reset_tools,operator_info -e operator_base_dir=/tmp/community-operators-for-catalog/operators -e operators=$OPP_FORCE_OPERATORS -e cluster_type=$OPP_PRODUCTION_TYPE -e strict_cluster_version_labels=true -e stream_kind=openshift_upstream -e production_registry_namespace=$OPP_RELEASE_BUNDLE_REGISTRY/$OPP_RELEASE_BUNDLE_ORGANIZATION $ANSIBLE_ARGS
713713

714714
- name: Upload operator_info
715-
uses: actions/upload-artifact@v2
715+
uses: actions/upload-artifact@v4
716716
with:
717717
name: operator_info
718718
path: "/tmp/operator-test/op_info.yaml"
719719
- name: Upload converted operators
720-
uses: actions/upload-artifact@v2
720+
uses: actions/upload-artifact@v4
721721
with:
722722
name: operators_converted
723723
path: "/tmp/operator-test/operators"
@@ -739,12 +739,12 @@ jobs:
739739
runs-on: ubuntu-latest
740740
steps:
741741
- name: Download operator_info
742-
uses: actions/download-artifact@v2
742+
uses: actions/download-artifact@v4
743743
with:
744744
name: operator_info
745745
path: /tmp/operator-test/
746746
- name: Download converted operators
747-
uses: actions/download-artifact@v2
747+
uses: actions/download-artifact@v4
748748
with:
749749
name: operators_converted
750750
path: /tmp/operator-test/operators
@@ -796,12 +796,12 @@ jobs:
796796
fail-fast: false
797797
steps:
798798
- name: Download operator_info
799-
uses: actions/download-artifact@v2
799+
uses: actions/download-artifact@v4
800800
with:
801801
name: operator_info
802802
path: /tmp/operator-test/
803803
- name: Download converted operators
804-
uses: actions/download-artifact@v2
804+
uses: actions/download-artifact@v4
805805
with:
806806
name: operators_converted
807807
path: /tmp/operator-test/operators

ci/templates/workflow/operator_test.yaml.js2

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,14 @@ jobs:
223223
{% endif %}
224224
{% raw %}
225225
- name: Upload operator_info
226-
uses: actions/upload-artifact@v2
226+
uses: actions/upload-artifact@v4
227227
if: (steps.op-traffic-light.outputs.opp_op_delete == '0' || steps.op-traffic-light.outputs.opp_is_new_operatror == '1' || steps.op-traffic-light.outputs.opp_recreate == '1') && (steps.op-traffic-light.outputs.opp_ci_yaml_only == '0')
228228
with:
229229
name: operator_info
230230
path: "/tmp/operator-test/op_info.yaml"
231231
- name: Upload converted operators
232232
if: (steps.op-traffic-light.outputs.opp_op_delete == '0' || steps.op-traffic-light.outputs.opp_is_new_operatror == '1' || steps.op-traffic-light.outputs.opp_recreate == '1') && (steps.op-traffic-light.outputs.opp_ci_yaml_only == '0')
233-
uses: actions/upload-artifact@v2
233+
uses: actions/upload-artifact@v4
234234
with:
235235
name: operators_converted
236236
path: "/tmp/operator-test/operators"
@@ -265,12 +265,12 @@ jobs:
265265
with:
266266
ref: ${{ github.event.pull_request.head.sha }}
267267
- name: Download operator_info
268-
uses: actions/download-artifact@v2
268+
uses: actions/download-artifact@v4
269269
with:
270270
name: operator_info
271271
path: "/tmp/operator-test/"
272272
- name: Download converted operators
273-
uses: actions/download-artifact@v2
273+
uses: actions/download-artifact@v4
274274
with:
275275
name: operators_converted
276276
path: "/tmp/operator-test/operators"
@@ -424,12 +424,12 @@ jobs:
424424
with:
425425
ref: ${{ github.event.pull_request.head.sha }}
426426
- name: Download operator_info
427-
uses: actions/download-artifact@v2
427+
uses: actions/download-artifact@v4
428428
with:
429429
name: operator_info
430430
path: /tmp/operator-test/
431431
- name: Download converted operators
432-
uses: actions/download-artifact@v2
432+
uses: actions/download-artifact@v4
433433
with:
434434
name: operators_converted
435435
path: /tmp/operator-test/operators
@@ -504,12 +504,12 @@ jobs:
504504
with:
505505
ref: ${{ github.event.pull_request.head.sha }}
506506
- name: Download operator_info
507-
uses: actions/download-artifact@v2
507+
uses: actions/download-artifact@v4
508508
with:
509509
name: operator_info
510510
path: /tmp/operator-test/
511511
- name: Download converted operators
512-
uses: actions/download-artifact@v2
512+
uses: actions/download-artifact@v4
513513
with:
514514
name: operators_converted
515515
path: /tmp/operator-test/operators
@@ -560,7 +560,7 @@ jobs:
560560
run: |
561561
mkdir -p ./pr
562562
echo ${{ github.event.number }} > ./pr/NR
563-
- uses: actions/upload-artifact@v2
563+
- uses: actions/upload-artifact@v4
564564
with:
565565
name: pr
566566
path: pr/

0 commit comments

Comments
 (0)