Skip to content

Commit 9e18f00

Browse files
Upgrade CI (31 Jul 2024 17:35:29)
1 parent 76a3d14 commit 9e18f00

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/operator_release.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ env:
5050
INDEX_PATH_TO_SIGN: "not-defined"
5151
SIGNATURE_ENDPOINT: "https://not-defined"
5252
OPP_REVIEWERS_ENABLED: 0
53-
TMPDIR: "/mnt/tmp"
5453

5554

5655
OPP_ALLOW_FORCE_RELEASE: ${{ github.event.inputs.release }}
@@ -70,11 +69,6 @@ jobs:
7069
name: "PR-traffic-light"
7170
runs-on: ubuntu-latest
7271
steps:
73-
- name: Set up TMPDIR
74-
run: |
75-
sudo mkdir "${TMPDIR}"
76-
sudo chmod 1777 "${TMPDIR}"
77-
7872
- name: Checkout code
7973
uses: actions/checkout@v3
8074
- id: files
@@ -232,7 +226,10 @@ jobs:
232226
ANSIBLE_FORCE_COLOR: 1
233227
ANSIBLE_DISPLAY_SKIPPED_HOSTS: 0
234228
ANSIBLE_STDOUT_CALLBACK: "yaml"
229+
TMPDIR: "/mnt/tmp"
235230
run: |
231+
sudo mkdir -p "${TMPDIR}"
232+
sudo chmod 1777 "${TMPDIR}"
236233
OPP_FORCE_OPERATORS=${OPP_FORCE_OPERATORS// /,}
237234
echo $OPP_FORCE_OPERATORS
238235
[ "$OPP_AUTO_LABEL" = '1' ] && ANSIBLE_ARGS="-e automatic_cluster_version_label=true" || ANSIBLE_ARGS="-e automatic_cluster_version_label=false"

.github/workflows/operator_release_manual.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ env:
6363
INDEX_PATH_TO_SIGN: "not-defined"
6464
SIGNATURE_ENDPOINT: "https://not-defined"
6565
OPP_REVIEWERS_ENABLED: 0
66-
TMPDIR: "/mnt/tmp"
6766

6867

6968
OPP_ALLOW_FORCE_RELEASE: ${{ github.event.inputs.release }}
@@ -83,11 +82,6 @@ jobs:
8382
name: "PR-traffic-light"
8483
runs-on: ubuntu-latest
8584
steps:
86-
- name: Set up TMPDIR
87-
run: |
88-
sudo mkdir "${TMPDIR}"
89-
sudo chmod 1777 "${TMPDIR}"
90-
9185
- name: Checkout code
9286
uses: actions/checkout@v3
9387
- id: files
@@ -239,7 +233,10 @@ jobs:
239233
ANSIBLE_FORCE_COLOR: 1
240234
ANSIBLE_DISPLAY_SKIPPED_HOSTS: 0
241235
ANSIBLE_STDOUT_CALLBACK: "yaml"
236+
TMPDIR: "/mnt/tmp"
242237
run: |
238+
sudo mkdir -p "${TMPDIR}"
239+
sudo chmod 1777 "${TMPDIR}"
243240
OPP_FORCE_OPERATORS=${OPP_FORCE_OPERATORS// /,}
244241
echo $OPP_FORCE_OPERATORS
245242
[ "$OPP_AUTO_LABEL" = '1' ] && ANSIBLE_ARGS="-e automatic_cluster_version_label=true" || ANSIBLE_ARGS="-e automatic_cluster_version_label=false"

0 commit comments

Comments
 (0)