action #119185
closedhttp://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli size:S
Description
Motivation¶
http://jenkins.qa.suse.de/job/gnome_next-openqa/4089/console correctly states "WARNING: openqa-client is deprecated and planned to be removed in the future. Please use openqa-cli instead" so this is what we should do then :)
Acceptance criteria¶
- AC1: Jenkins job uses openqa-cli
Suggestion¶
The code is just in the jenkins job configuration (http://jenkins.qa.suse.de/job/gnome_next-openqa/configure) and can be updated there. Or better put it into git, e.g. github.com/os-autoinst/scripts/ and reference from there
Updated by okurz about 2 years ago
- Priority changed from Normal to Low
- Target version set to Ready
Updated by mkittler about 2 years ago
- Subject changed from http://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli to http://jenkins.qa.suse.de/job/gnome_next-openqa/ needs to be migrated to openqa-cli size:S
- Description updated (diff)
- Status changed from New to Workable
Updated by mkittler about 2 years ago
- Status changed from Workable to In Progress
- Assignee set to mkittler
Updated by mkittler about 2 years ago
- Status changed from In Progress to Feedback
Changed the code to be:
/usr/share/openqa/script/openqa-cli api --host https://openqa.opensuse.org \
-X POST isos DISTRI=opensuse VERSION=${version} \
FLAVOR=Gnome-Live BUILD=${build} ARCH=${arch} ISO_URL=${download}${newest_iso} | tee job_post_response
JOB_ID=$(cat job_post_response | jq '.ids[0]')
I tested locally whether it works. Note that only the first job ID is considered when printing the URL but I guess that's ok.
Updated by mkittler about 2 years ago
- Status changed from Feedback to Resolved
Looks like scheduling these tests still works (see e.g. https://openqa.opensuse.org/tests/2858724 and http://jenkins.qa.suse.de/job/gnome_next-openqa/4138/console). Btw, this test now also shows that download errors are now handled correctly again.