Skip to content

Commit

Permalink
Avoid unintended vendor changes in openqa-continuous-update
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Jun 24, 2022
1 parent 8e53d1c commit eef44e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/openqa-continuous-update
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ repo_name=${DEVEL_OPENQA_REPOSITORY:-devel_openQA}
ref=$(zypper -n ref -r "$repo_name")

if echo "$ref" | grep -q 'is up to date' && "$(dirname "${BASH_SOURCE[0]}")"/openqa-check-devel-repo; then
zypper -n dup --auto-agree-with-licenses --download-in-advance
# call ref independently of dup to avoid unintended vendor changes in case ref fails (see poo#112595)
zypper -n ref
zypper -n dup --no-refresh --auto-agree-with-licenses --download-in-advance
fi

0 comments on commit eef44e1

Please sign in to comment.