action #129883
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #80150: [epic] Scale out openQA: Easier openQA setup
all-in-one openQA container solution
Description
Motivation¶
We already have convenient helper packages, e.g. openQA-single-instance. To provide that to more users we should feature that in a container. This should also help with #76978
Acceptance criteria¶
- AC1: A complete openQA instance including at least one connected worker instance can be started from a one-line podman call
Suggestions¶
- In your local openQA working copy, try out to build and run containers, e.g.
podman build -t openqa-webui docker/webui
and thenpodman run --rm -it openqa-webui
- Look into both openQA-single-instance as well as the bootstrap script
Updated by okurz over 1 year ago
- Copied from action #76978: How to run an openQA test in 5 minutes size:M added
Updated by okurz over 1 year ago
- Status changed from New to Feedback
- Assignee set to okurz
Updated by okurz over 1 year ago
- Copied to action #129958: Ensure openSUSE container best practices are followed for our container images in devel: openQA size:M added
Updated by mkittler over 1 year ago
Looks like your PR lacks documentation. I'll try it out nevertheless and will extend the documentation by the way.
Updated by mkittler over 1 year ago
Looks like this isn't built on OBS yet. It doesn't even built locally, at least here I'm getting:
podman build .
STEP 1/7: FROM opensuse/tumbleweed:latest
…
.done]
All repositories have been cleaned up.
--> f6d50630e4f5
STEP 3/7: EXPOSE 80 443 9526
--> 9a2f2c53e46a
STEP 4/7: ENV skip_suse_specifics=1
--> 0b6b6d1e9580
STEP 5/7: ENV skip_suse_tests=1
--> e2980cf37662
STEP 6/7: COPY script/openqa-bootstrap /usr/share/openqa/script/
Error: building at STEP "COPY script/openqa-bootstrap /usr/share/openqa/script/": checking on sources under "/hdd/openqa-devel/repos/openQA/container/single-instance": copier: stat: "/script/openqa-bootstrap": no such file or directory
So I guess I can't add it to the documentation at this point. I've nevertheless just created a PR to improve our referencing right at the start of the documentation: https://github.com/os-autoinst/openQA/pull/5166
By the way, you can merge the two ENV
commands into one to avoid the extra build step.
Updated by livdywan over 1 year ago
- Related to action #130201: openqa_bootstrap: fetchneedles not called during openqa-bootstrap size:S added
Updated by livdywan over 1 year ago
Updated by livdywan over 1 year ago
okurz wrote:
Specifically Optionally configure SUSE-specifics and tests initialization ended up leading to a regression in existing tests. And it made me wonder if the purpose was to make the new container more generic and set it up without needles - or maybe it was only about SUSE needles?
For the "How to run openQA tests in 5 minutes" story I would expect there's nothing distribution-specific and we're assuming a user who wants to test whatever it is they need to test.
Updated by okurz over 1 year ago
- Status changed from Feedback to In Progress
Updated by openqa_review over 1 year ago
- Due date set to 2023-07-04
Setting due date based on mean cycle time of SUSE QE Tools
Updated by okurz over 1 year ago
- Status changed from In Progress to Feedback
https://build.opensuse.org/package/show/devel:openQA/openQA-single-instance-container built fine so now podman run --pull=newer --rm -it registry.opensuse.org/devel/openqa/containers/openqa-single-instance
tries to spawn openQA.
I tested the solution again and it works fine for me repeatedly so I updated the documentation accordingly with
https://github.com/os-autoinst/openQA/pull/5211
Updated by okurz over 1 year ago
- Due date deleted (
2023-07-04) - Status changed from Feedback to Resolved
All done
Updated by jbaier_cz 8 months ago
- Related to action #159747: Consolidate openQA related containers size:S added