os-autoinst / openQA

openQA web-frontend, scheduler and tools.
http://openqa.opensuse.org/
GNU General Public License v2.0
316 stars 205 forks source link

openqa-bootstrap: Refresh and retry in case of package changes #5840

Closed kalikiana closed 1 month ago

kalikiana commented 1 month ago

Packages may be deleted before they can be installed.

See: https://progress.opensuse.org/issues/165024

okurz commented 1 month ago

From CI checks:

+ make test-checkstyle
shellcheck -x $(file --mime-type script/* t/* container/worker/*.sh tools/* | sed -n 's/^\(.*\):.*text\/x-shellscript.*$/\1/p')

In script/openqa-bootstrap line 98:
packages="${pkgs[@]}"
         ^----------^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.

For more information:
  https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...
make: *** [Makefile:302: test-shellcheck] Error 1