action #57845
closedopenQA Tests (public) - coordination #15132: [saga][epic] Better structure of test plans in main.pm
coordination #44360: [epic] Parameterize test suites within job groups
coordination #55730: [epic] Move parameters from test suites into job groups
Switch more job groups to YAML job templates
0%
Updated by okurz about 5 years ago
- Due date changed from 2019-10-22 to 2019-11-05
As discussed in the QA tools weekly meeting 2019-10-22 and announced in http://mailman.suse.de/mlarch/SuSE/openqa/2019/openqa.2019.10/msg00005.html we will await SLE12SP5 GM gold declaration and then switch over all remaining job groups to the YAML format.
Updated by okurz about 5 years ago
- Due date changed from 2019-11-05 to 2019-11-19
Updated by okurz about 5 years ago
- Due date changed from 2019-11-19 to 2019-12-17
o3 is fully YAML-only now. osd has select count(id) from job_groups where template is null;
-> 114 . Next step: https://github.com/os-autoinst/openQA/pull/2518 for deprecation notice. Follow-up: https://github.com/os-autoinst/openQA/pull/2519 disabling editor functionalities. In weekly tools team meeting we decided to point admins to the UI for saving instead of coming up with a migration script that could break in the background. I assume with this we give users again more time to switch by themselves.
Updated by coolo about 5 years ago
That deprecation warning was not for osd though - there we gave a deprecation warning by email before summer. So go ahead with osd independently of that
Updated by mgriessmeier about 5 years ago
for reference:
Functional group for SLE15 was already migrated, including gitlab-ci with auto deployment in place - same as for YaST job group
Updated by okurz about 5 years ago
Sent email announcement to openqa.suse.de. Saving backup of all job templates with openqa-dump-templates --full --json --host openqa.suse.de > openqa_templates_osd-$(date +%F).json && openqa-dump-templates --full --host openqa.suse.de > openqa_templates_osd-$(date +%F).pl
, saved in https://w3.nue.suse.com/~okurz/openqa_osd_backup_job_templates_before_switch_to_yaml_poo57845/
I did a dry-run of the migration with
for i in $(ssh openqa.suse.de "sudo -u geekotest psql --no-align --tuples-only --command=\"select id from job_groups where template is null order by id;\" openqa") ; do curl -s http://openqa.suse.de/api/v1/job_templates_scheduling/$i | openqa-client --json-output --host http://openqa.suse.de job_templates_scheduling/$i post --form schema=JobTemplates-01.yaml preview=1 template="$(cat -)"; done | tee migration_preview.log 2>&1
and have received entries like
{
"id" : 1,
"preview" : 1
}
for all job groups. I guess this is a good sign.
And a live change with
for i in $(ssh openqa.suse.de "sudo -u geekotest psql --no-align --tuples-only --command=\"select id from job_groups where template is null order by id;\" openqa") ; do curl -s http://openqa.suse.de/api/v1/job_templates_scheduling/$i | openqa-client --json-output --host http://openqa.suse.de job_templates_scheduling/$i post --form schema=JobTemplates-01.yaml template="$(cat -)"; done | tee migration.log 2>&1
All done. Database query select count(id) from job_groups where template is null;
returns 0 job groups left. The ids of all job groups converted can be found in https://w3.nue.suse.com/~okurz/openqa_osd_backup_job_templates_before_switch_to_yaml_poo57845/ as well.
Updated by okurz about 5 years ago
- Due date changed from 2019-12-17 to 2019-11-19
- Status changed from Feedback to Resolved
Considered done.