Project

General

Profile

action #43712

coordination #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

Added by SLindoMansilla over 2 years ago. Updated 4 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2018-11-13
Due date:
% Done:

0%

Estimated time:
Difficulty:

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

Suggestions


Related issues

Related to openQA Project - action #69355: [spike] redundant/load-balancing webui deployments of openQAResolved2020-07-25

Related to openQA Project - action #73447: POC: Create openQA Web Application container image (feature)Resolved2020-10-16

Related to openQA Project - 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=1uResolved2020-11-10

Blocks openQA Project - action #43715: Update upstream dockerfiles to provide an easy to use docker image of workersResolved2018-11-13

History

#1 Updated by okurz over 2 years ago

  • Target version set to Milestone 24

#2 Updated by okurz over 2 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)

#3 Updated by ilausuch about 1 year ago

  • Assignee set to ilausuch

#4 Updated by okurz about 1 year ago

  • Target version set to Ready

#5 Updated by cdywan 11 months 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

#6 Updated by cdywan 11 months ago

  • Blocks action #43715: Update upstream dockerfiles to provide an easy to use docker image of workers added

#8 Updated by tinita 11 months 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

#9 Updated by cdywan 11 months ago

  • Description updated (diff)

#10 Updated by cdywan 10 months ago

  • Assignee deleted (ilausuch)

#11 Updated by cdywan 10 months ago

  • Blocked by action #69355: [spike] redundant/load-balancing webui deployments of openQA added

#12 Updated by cdywan 10 months ago

  • Assignee set to ilausuch

#13 Updated by ilausuch 10 months 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.

#14 Updated by okurz 10 months 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 ##69355

#15 Updated by okurz 10 months ago

  • Blocked by deleted (action #69355: [spike] redundant/load-balancing webui deployments of openQA)

#16 Updated by okurz 10 months ago

  • Related to action #69355: [spike] redundant/load-balancing webui deployments of openQA added

#17 Updated by ilausuch 10 months 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

#18 Updated by okurz 10 months ago

  • Related to action #73447: POC: Create openQA Web Application container image (feature) added

#19 Updated by cdywan 9 months ago

  • Description updated (diff)

Dropping AC3 which is covered by #69355 and the image provided here can't run w/o configuration (postgres database, worker, etc).

#20 Updated by cdywan 9 months ago

  • Description updated (diff)

#21 Updated by ilausuch 9 months 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

#22 Updated by okurz 9 months ago

  • Due date set to 2020-11-19

cool, looking forward to this! :) Just setting due date to our usual cycle time.

#23 Updated by ilausuch 9 months 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

#24 Updated by cdywan 9 months 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.

#25 Updated by okurz 9 months 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

#26 Updated by ilausuch 8 months ago

  • Status changed from Feedback to Resolved

#27 Updated by okurz 4 months ago

  • Due date deleted (2020-11-19)

Also available in: Atom PDF