action #43712
closedcoordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
coordination #43706: [epic] Generate "download&use" docker image of openQA for SUSE QA
Update upstream dockerfiles to provide an easy to use docker image of openQA-webui
Description
User Story¶
As a QA developer I want to download and run an image via Docker. Basic uses of openQA work out of the box without further configuration. More advanced options are documented for those who need it.
Acceptance criteria¶
- DONE AC1: The upstream dockerfile can be used to generate a docker image of the webui in https://build.opensuse.org/package/show/devel:openQA/openQA
- DONE AC2: Proper documentation of the use of that docker image is available upstream: https://github.com/os-autoinst/openQA/tree/master/docker
Suggestions¶
- OBS support for docker https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.building.html#id-1.5.8.3.8
Updated by okurz over 5 years ago
- Subject changed from [functional][u] Update upstream dockerfiles to provide an easy to use docker image of openQA-webui to Update upstream dockerfiles to provide an easy to use docker image of openQA-webui
- Category set to Feature requests
- Priority changed from Normal to Low
- Target version deleted (
Milestone 24)
See #43706#note-10
Updated by livdywan about 4 years ago
Some notes from discussing the ticket with Ivan:
- [x] We seem to have a Dockerfile for Leap
- [ ] Check if we can build an image
- [ ] See if any config changes are needed
- [ ] Update documentation
- [ ] Look into CI/ OBS for automated generation of images
Updated by livdywan about 4 years ago
- Blocks action #43715: Update upstream dockerfiles to provide an easy to use docker image of workers added
Updated by livdywan about 4 years ago
Updated by tinita about 4 years ago
The Docker images in
https://build.opensuse.org/package/show/devel:openQA/os-autoinst_dev
are built via Github Webhooks and OBS tokens.
You can create a token like this:
osc token --create devel:openQA os-autoinst_dev
Then you can use this for the webhook, and for every push the image will be built.
You can also manually trigger a token
osc token --trigger $token
I believe this is the API endpoint:
https://build.opensuse.org/apidocs/index#127
POST /trigger/runservice
Updated by livdywan about 4 years ago
- Blocked by action #69355: [spike] redundant/load-balancing webui deployments of openQA added
Updated by ilausuch about 4 years ago
I realized that working on that https://progress.opensuse.org/issues/69355 has several aspects in common to this task. I am working in both cards in parallel.
Updated by okurz about 4 years ago
ilausuch wrote:
I realized that working on that https://progress.opensuse.org/issues/69355 has several aspects in common to this task. I am working in both cards in parallel.
hint: Link with #<id>
rather than full URL to ticket to have preview to other tickets: #69355
Surely it makes sense if you want to work on the related tasks together however we should not see this as a blocked relation and definitely not in the direction that this ticket would be blocked by action #69355: [spike] redundant/load-balancing webui deployments of openQA
Updated by okurz about 4 years ago
- Blocked by deleted (action #69355: [spike] redundant/load-balancing webui deployments of openQA)
Updated by okurz about 4 years ago
- Related to action #69355: [spike] redundant/load-balancing webui deployments of openQA added
Updated by ilausuch about 4 years ago
AC1: The upstream dockerfile can be used to generate a docker image of the webui in https://build.opensuse.org/package/show/devel:openQA/openQA
DONE: The new version works compiles and generate images https://github.com/os-autoinst/openQA/pull/3431
AC2: Docker images for the webui are generated each time a new build of openQA is triggered in https://build.opensuse.org/package/show/devel:openQA/openQA
AC3: QA developers can download that docker image and run a container from it that is ready to use (no configuration needed)
Should we publish it on registry.opensuse.org and docker hub?
AC4: Proper documentation of the use of that docker image is available upstream: https://github.com/os-autoinst/openQA/tree/master/docker
Depends if the approach in https://github.com/os-autoinst/openQA/pull/3431 is approved
Updated by okurz about 4 years ago
- Related to action #73447: POC: Create openQA Web Application container image (feature) added
Updated by ilausuch about 4 years ago
- Status changed from Workable to In Progress
After the merge of https://github.com/os-autoinst/openQA/pull/3488 that fixes also the Dockerfile I proceed with the next AC to create a docker image and document how to use this
Updated by okurz about 4 years ago
- Due date set to 2020-11-19
cool, looking forward to this! :) Just setting due date to our usual cycle time.
Updated by ilausuch about 4 years ago
This PR fixes some problems with the Dockerfiles to allow OBS to build the images
https://github.com/os-autoinst/openQA/pull/3522
And these are the packages in my home than build the images. Note than the _service points to the branch in github, so if it is merged, then I have to change the paths to get the good ones.
https://build.opensuse.org/package/show/home:ilausuch:branches:devel:openQA/openQA_container_image_webui
https://build.opensuse.org/package/show/home:ilausuch:branches:devel:openQA/openQA_container_image_webui_loadbalancer
Updated by livdywan about 4 years ago
- Description updated (diff)
- Status changed from In Progress to Feedback
Publishing images on OBS is raising a lot of questions on top of a usable image that have nothing to do with containerizing the webui in general, and we actually have #43718 so I'm removing it from the AC here.
Updated by okurz about 4 years ago
- Related to action #77320: why does this show leap 15.1? https://build.opensuse.org/package/view_file/devel:openQA/os-autoinst_dev/_service:download_url:Dockerfile?expand=1u added
Updated by ilausuch about 4 years ago
- Status changed from Feedback to Resolved
The PR is merged and also there is a build in OBS that test this (https://build.opensuse.org/package/show/home:ilausuch:branches:devel:openQA/openQA_container_image_webui_pr)