From 9e18f00d8991bec3a0a614625a3eec32dbfaf09f Mon Sep 17 00:00:00 2001 From: framework-automation <41898282+framework-automation[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 17:35:29 +0000 Subject: [PATCH] Upgrade CI (31 Jul 2024 17:35:29) --- .github/workflows/operator_release.yaml | 9 +++------ .github/workflows/operator_release_manual.yaml | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/operator_release.yaml b/.github/workflows/operator_release.yaml index 4451b99d0..ac6d50a34 100644 --- a/.github/workflows/operator_release.yaml +++ b/.github/workflows/operator_release.yaml @@ -50,7 +50,6 @@ env: INDEX_PATH_TO_SIGN: "not-defined" SIGNATURE_ENDPOINT: "https://not-defined" OPP_REVIEWERS_ENABLED: 0 - TMPDIR: "/mnt/tmp" OPP_ALLOW_FORCE_RELEASE: ${{ github.event.inputs.release }} @@ -70,11 +69,6 @@ jobs: name: "PR-traffic-light" runs-on: ubuntu-latest steps: - - name: Set up TMPDIR - run: | - sudo mkdir "${TMPDIR}" - sudo chmod 1777 "${TMPDIR}" - - name: Checkout code uses: actions/checkout@v3 - id: files @@ -232,7 +226,10 @@ jobs: ANSIBLE_FORCE_COLOR: 1 ANSIBLE_DISPLAY_SKIPPED_HOSTS: 0 ANSIBLE_STDOUT_CALLBACK: "yaml" + TMPDIR: "/mnt/tmp" run: | + sudo mkdir -p "${TMPDIR}" + sudo chmod 1777 "${TMPDIR}" OPP_FORCE_OPERATORS=${OPP_FORCE_OPERATORS// /,} echo $OPP_FORCE_OPERATORS [ "$OPP_AUTO_LABEL" = '1' ] && ANSIBLE_ARGS="-e automatic_cluster_version_label=true" || ANSIBLE_ARGS="-e automatic_cluster_version_label=false" diff --git a/.github/workflows/operator_release_manual.yaml b/.github/workflows/operator_release_manual.yaml index 0963e357b..0c34f544d 100644 --- a/.github/workflows/operator_release_manual.yaml +++ b/.github/workflows/operator_release_manual.yaml @@ -63,7 +63,6 @@ env: INDEX_PATH_TO_SIGN: "not-defined" SIGNATURE_ENDPOINT: "https://not-defined" OPP_REVIEWERS_ENABLED: 0 - TMPDIR: "/mnt/tmp" OPP_ALLOW_FORCE_RELEASE: ${{ github.event.inputs.release }} @@ -83,11 +82,6 @@ jobs: name: "PR-traffic-light" runs-on: ubuntu-latest steps: - - name: Set up TMPDIR - run: | - sudo mkdir "${TMPDIR}" - sudo chmod 1777 "${TMPDIR}" - - name: Checkout code uses: actions/checkout@v3 - id: files @@ -239,7 +233,10 @@ jobs: ANSIBLE_FORCE_COLOR: 1 ANSIBLE_DISPLAY_SKIPPED_HOSTS: 0 ANSIBLE_STDOUT_CALLBACK: "yaml" + TMPDIR: "/mnt/tmp" run: | + sudo mkdir -p "${TMPDIR}" + sudo chmod 1777 "${TMPDIR}" OPP_FORCE_OPERATORS=${OPP_FORCE_OPERATORS// /,} echo $OPP_FORCE_OPERATORS [ "$OPP_AUTO_LABEL" = '1' ] && ANSIBLE_ARGS="-e automatic_cluster_version_label=true" || ANSIBLE_ARGS="-e automatic_cluster_version_label=false"