tests/upgrade: update gpg key

We need to use a new gpg key after the SHA-1 deprecation. Also don't
fail immediately on compose failure to be able to retrieve logs from the
test VM.
This commit is contained in:
Jakub Rusz 2022-03-21 20:49:20 +01:00 committed by Alexander Todorov
parent 67e55eaea8
commit 15c2044b3c
2 changed files with 5 additions and 3 deletions

View file

@ -135,8 +135,10 @@ wait_for_vm
sudo pkill -P "$CONSOLE_PID"
# run second phase of the test
set +e
sudo ssh "${SSH_OPTIONS[@]}" -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS" 'source /root/upgrade_verify.sh'
RESULT="$?"
set -e
# copy over osbuild-composer logs
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" root@"$INSTANCE_ADDRESS":logs/* .