Project

General

Profile

Actions

action #43712

closed

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 about 6 years ago. Updated over 3 years ago.

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

0%

Estimated time:

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 4 (0 open4 closed)

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

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

Actions
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=1uResolvedokurz2020-11-10

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

Actions
Actions #1

Updated by okurz almost 6 years ago

  • Target version set to Milestone 24
Actions #2

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)
Actions #3

Updated by ilausuch over 4 years ago

  • Assignee set to ilausuch
Actions #4

Updated by okurz over 4 years ago

  • Target version set to Ready
Actions #5

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
Actions #6

Updated by livdywan about 4 years ago

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

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

Actions #9

Updated by livdywan about 4 years ago

  • Description updated (diff)
Actions #10

Updated by livdywan about 4 years ago

  • Assignee deleted (ilausuch)
Actions #11

Updated by livdywan about 4 years ago

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

Updated by livdywan about 4 years ago

  • Assignee set to ilausuch
Actions #13

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.

Actions #14

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

Actions #15

Updated by okurz about 4 years ago

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

Updated by okurz about 4 years ago

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

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

Actions #18

Updated by okurz about 4 years ago

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

Updated by livdywan about 4 years 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).

Actions #20

Updated by livdywan about 4 years ago

  • Description updated (diff)
Actions #21

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

Actions #22

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.

Actions #23

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

Actions #24

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.

Actions #25

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
Actions #26

Updated by ilausuch about 4 years ago

  • Status changed from Feedback to Resolved
Actions #27

Updated by okurz over 3 years ago

  • Due date deleted (2020-11-19)
Actions

Also available in: Atom PDF