From 0a1c28b54a21a037e6ac30304a3c0263fcab1b43 Mon Sep 17 00:00:00 2001 From: framework-automation <41898282+framework-automation[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 07:58:44 +0000 Subject: [PATCH] Upgrade CI (13 Sep 2024 07:58:44) --- .github/workflows/dco_test.yaml | 2 +- .github/workflows/operator_release.yaml | 12 ++++++------ .github/workflows/operator_release_manual.yaml | 12 ++++++------ .github/workflows/operator_test.yaml | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/dco_test.yaml b/.github/workflows/dco_test.yaml index 8f5ea64e9f3..19ba78b43d1 100644 --- a/.github/workflows/dco_test.yaml +++ b/.github/workflows/dco_test.yaml @@ -94,7 +94,7 @@ jobs: run: | mkdir -p ./pr echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: pr path: pr/ diff --git a/.github/workflows/operator_release.yaml b/.github/workflows/operator_release.yaml index 7b1430b081d..0551be70e62 100644 --- a/.github/workflows/operator_release.yaml +++ b/.github/workflows/operator_release.yaml @@ -239,12 +239,12 @@ jobs: cd operator-test-playbooks 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 - name: Upload operator_info - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: operator_info path: "/tmp/operator-test/op_info.yaml" - name: Upload converted operators - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: operators_converted path: "/tmp/operator-test/operators" @@ -262,12 +262,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Download operator_info - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operator_info path: /tmp/operator-test/ - name: Download converted operators - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operators_converted path: /tmp/operator-test/operators @@ -305,12 +305,12 @@ jobs: fail-fast: false steps: - name: Download operator_info - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operator_info path: /tmp/operator-test/ - name: Download converted operators - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operators_converted path: /tmp/operator-test/operators diff --git a/.github/workflows/operator_release_manual.yaml b/.github/workflows/operator_release_manual.yaml index 8baf46a3ebd..746628b933f 100644 --- a/.github/workflows/operator_release_manual.yaml +++ b/.github/workflows/operator_release_manual.yaml @@ -246,12 +246,12 @@ jobs: cd operator-test-playbooks 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 - name: Upload operator_info - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: operator_info path: "/tmp/operator-test/op_info.yaml" - name: Upload converted operators - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: operators_converted path: "/tmp/operator-test/operators" @@ -269,12 +269,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Download operator_info - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operator_info path: /tmp/operator-test/ - name: Download converted operators - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operators_converted path: /tmp/operator-test/operators @@ -311,12 +311,12 @@ jobs: fail-fast: false steps: - name: Download operator_info - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operator_info path: /tmp/operator-test/ - name: Download converted operators - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operators_converted path: /tmp/operator-test/operators diff --git a/.github/workflows/operator_test.yaml b/.github/workflows/operator_test.yaml index d290a3c2821..8d0feb41142 100644 --- a/.github/workflows/operator_test.yaml +++ b/.github/workflows/operator_test.yaml @@ -165,14 +165,14 @@ jobs: allow-repeats: true - name: Upload operator_info - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 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') with: name: operator_info path: "/tmp/operator-test/op_info.yaml" - name: Upload converted operators 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') - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: operators_converted path: "/tmp/operator-test/operators" @@ -207,12 +207,12 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Download operator_info - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operator_info path: "/tmp/operator-test/" - name: Download converted operators - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: operators_converted path: "/tmp/operator-test/operators" @@ -394,7 +394,7 @@ jobs: run: | mkdir -p ./pr echo ${{ github.event.number }} > ./pr/NR - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: pr path: pr/