Project

General

Profile

action #161399

Updated by okurz 8 months ago

## Motivation 

 In #87695 we downgraded the openqa-single-instance container because Tumbleweed did not work in GitHub Github codespaces. 

 I created a bugreport here: 
 https://github.com/orgs/community/discussions/127083 
 Installing `awk` and `tar` fixes it, see https://progress.opensuse.org/issues/161399#note-6 

 ## Acceptance criteria 
 * **AC1:** A Tumbleweed based openqa-single-instance codespaces container is used in osado and other projects where currently Leap based 
 * **AC2:** The pure openqa-single-instance container does not explicitly install anything that's only needed in codespaces 
 * **AC3:** openqa-single-instance container uses Tumbleweed again 

 ## Suggestions 
 * Idea is to We have two new container files in `openQA/containers/` and in OBS, `tumbleweed-codespaces` with `awk` and `tar`, and `openqa-single-instance-codespaces` building from that. that 
 * **AC2:** Our devcontainer definitions then could use the `openqa-single-instance-codespaces` container. 
 * Create a new container definition based on https://github.com/os-autoinst/openQA/blob/master/container/single-instance/Dockerfile at best inheriting that, not copying 
 * Add **AC3:** openqa-single-instance container build instructions in devel:openQA like in https://build.opensuse.org/package/show/devel:openQA/openQA-single-instance-container uses Tumbleweed again 

 ## Notes 
 * Provide the required containers 
 * Where we currently have devcontainers that need to be updated: 
   * https://github.com/os-autoinst/os-autoinst-distri-example/ , for example https://github.com/os-autoinst/os-autoinst-distri-example/blob/main/.devcontainer/devcontainer.json#L3 
   * https://github.com/os-autoinst/os-autoinst-distri-openQA/ 
   * https://github.com/os-autoinst/openQA 
   * Pending PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/19488 

Back