SUSE-Cloud / automation

Automation scripts for development, testing, and CI
Apache License 2.0
68 stars 138 forks source link

Ensure ardana-update.yml called with valid cloudsource (SOC-11252) #3882

Closed rtamalin closed 4 years ago

rtamalin commented 4 years ago

Pass appropriate values for cloudsource when the ardana-update.yml playbook is invoked, allowing for the case when running MU tests where update_to_cloudsource is not specified.

Align the logic used to control when the Ardana or Crowbar update and upgrade playbooks are called in the manual/lib.sh with that used by the Jenkins pipelines. Namely that update/upgrade should only happen if update_after_deploy is set.

rtamalin commented 4 years ago

tested with ci.suse.de/blue/organizations/jenkins/cloud-ardana8-job-mu-entry-scale-kvm-update-x86_64/detail/cloud-ardana8-job-mu-entry-scale-kvm-update-x86_64/121

The test run completed successfully, and while the patch has changed since then, the changes should effectively be no-op changes ;-)