action #55301
closedsemi-automatic deployments on osd
0%
Description
Motivation¶
Based on feedback in #18006 we would like to have an easier way for upgrade deployments of the OSD infrastructure.
Suggestions¶
- We can use https://gitlab.suse.de/okurz/osd-deployment/blob/master/.gitlab-ci.yml as a base – results as in https://gitlab.suse.de/okurz/osd-deployment/-/jobs/54944 – to achieve what we need.
- The manual steps involve these assets, which we probably want to retain
- A backup
- Versions from before and after
- Install logs - We'd obviously get logs from the whole process, but it might be nice to save it explicitly for convenience
- Generating a changelog
- Updating the deployment page
- Sending an email with the deployment
Updated by okurz over 5 years ago
- Related to action #18006: continuous testing + delivery of tested openQA on openSUSE added
Updated by okurz over 5 years ago
- Status changed from New to In Progress
- Assignee set to okurz
#55586 shows the results from the first semi-automatic deployment of osd using the gitlab CI job https://gitlab.suse.de/okurz/osd-deployment/-/jobs/111096 . The changelog could not be generated automatically because it is not sorted.
Updated by okurz over 5 years ago
- Status changed from In Progress to Feedback
Maybe https://gitlab.suse.de/okurz/osd-deployment/merge_requests/1 does the job. We can check with any next deployment from the branch.
Updated by okurz over 5 years ago
as coolo is also upgrading openqa without any notice or email or changelog, can we ditch the ugly confluence page updates and just use automatic updates from gitlab CI?
Updated by okurz over 5 years ago
Discussed in QA tools meeting, we are fine to use the gitlab CI pipeline. We are also ok with just having the confluence page link to another page and also ditch the email in preparation for more often deployments. Requested to create a mailing list "osd-admins" with https://infra.nue.suse.com/SelfService/Display.html?id=145202
Updated by okurz over 5 years ago
- Related to action #41846: Link version to a possible deployed delta added
Updated by okurz over 5 years ago
Moved gitlab project to https://gitlab.suse.de/openqa/osd-deployment and changed mail adress to osd-admins@suse.de
Updated by okurz over 5 years ago
The latest changelog email received interesting mangling. Seems os-autoinst looks fine but all lines for openQA have their first characters stripped instead of only the first header lines stripped.
Another idea: gitlab merge pipeline that updates and runs salt, so we can drop the crontab and the post merge hook (see RC, discussion with coolo)
Updated by okurz about 5 years ago
- Status changed from Feedback to Resolved
All done as described. The idea regarding deployment of salt within gitlab CI had been done elsewhere meanwhile.