Skip to content

Commit 5da7cb9

Browse files
committed
[CI] issue: HPCINFRA-3388 Run all CI steps on containers
Today we have a few CI pipelines that still use nodeLabel: 'master' in their matrix file, causing some steps to run on the master node. This is a security risk and we should run only on containers, the master node will be taken down in the future not allowing this type of run. Replace master agent definition with docker definition Signed-off-by: NirWolfer <[email protected]>
1 parent 594c2d2 commit 5da7cb9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.ci/pipeline/dr_weekly_matrix.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ job: LIBXLIO-dr-weekly-launcher
33
failFast: false
44
timeout_minutes: 120
55

6-
runs_on_agents:
7-
- {nodeLabel: 'master', category: 'base'}
6+
runs_on_dockers:
7+
- { name: "groovy", url: "quay.io/podman/stable:v5.0.2", arch: 'x86_64'}
88

99
env:
1010
MAIL_FROM: [email protected]
@@ -26,8 +26,6 @@ pipeline_start:
2626
2727
steps:
2828
- name: Determine release_tag
29-
agentSelector:
30-
- "{category: 'base'}"
3129
shell: action
3230
module: groovy
3331
run: |
@@ -75,8 +73,6 @@ steps:
7573
pipeline_stop:
7674
shell: action
7775
module: groovy
78-
agentSelector:
79-
- "{category: 'base'}"
8076
run: |
8177
if (!params.MAIL_TO.isEmpty()) {
8278
mail from: "${MAIL_FROM}",

0 commit comments

Comments
 (0)