Skip to content

Commit

Permalink
ci: Check ISO removal after upgrade
Browse files Browse the repository at this point in the history
To make sure we can safely remove an old ISO, we do so in upgrade tests,
prior to running the test suite on the upgraded cluster.
  • Loading branch information
gdemonet committed Jun 14, 2022
1 parent 38b489b commit d8503b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions eve/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2183,6 +2183,19 @@ stages:
# time to stabilize (e.g.: Rolling update of some DaemonSet that may take
# some times, especially in multi node context)
STABILIZATION_TIME: "240"
# --- Remove version N-1 ---
- ShellCommand:
name: Remove previous ISO before running tests
command: >
ISO_PATH=$(
[[%(prop:nodes_count:-0)s -eq 0]] && echo "metalk8s.iso"
|| echo "/archives/metalk8s.iso") &&
ssh -F ssh_config bootstrap "
sudo bash
/srv/scality/metalk8s-%(prop:metalk8s_version)s/iso-manager.sh
--rm-archive \"\$(readlink -f \"${ISO_PATH}\")\" --verbose"
workdir: *terraform_workdir
haltOnFailure: true
# --- Test version N ---
- ShellCommand: *git_pull_ssh
- ShellCommand:
Expand Down

0 comments on commit d8503b1

Please sign in to comment.