Skip to content

Use OBS built container as CI base to provide all dependencies#142

Open
okurz wants to merge 1 commit intoos-autoinst:masterfrom
okurz:fix/container
Open

Use OBS built container as CI base to provide all dependencies#142
okurz wants to merge 1 commit intoos-autoinst:masterfrom
okurz:fix/container

Conversation

@okurz
Copy link
Copy Markdown
Member

@okurz okurz commented Oct 13, 2021

No description provided.

@Martchus
Copy link
Copy Markdown
Contributor

see comments in #141

@okurz
Copy link
Copy Markdown
Member Author

okurz commented Oct 13, 2021

I am trying to define a container within git, check that out in OBS, build it there and reuse from there.

Did

osc copypac devel:openQA:ci base devel:openQA:ci openqa-trigger-from-obs

and adapted
https://build.opensuse.org/package/view_file/devel:openQA:ci/openqa-trigger-from-obs/_service?expand=1
but this won't work because we do not have "python3-black" in devel:openQA:ci

So instead I created a new subproject https://build.opensuse.org/project/show/devel:openQA:openqa-trigger-from-obs and moved the package there https://build.opensuse.org/package/show/devel:openQA:openqa-trigger-from-obs/openqa-trigger-from-obs

I copied and adjusted the config for building container images from devel:openQA.

Then I did

osc linkpac openSUSE:Factory python-black devel:openQA:openqa-trigger-from-obs

and python3-black is correctly built but the container does not find it: https://build.opensuse.org/package/show/devel:openQA:openqa-trigger-from-obs/openqa-trigger-from-obs

@Martchus

This comment was marked as resolved.

@okurz

This comment was marked as resolved.

@okurz okurz changed the title CI: Switch to Leap 15.3 base due to boo#1190670 Use OBS built container as CI base to provide all dependencies Nov 8, 2021
@okurz
Copy link
Copy Markdown
Member Author

okurz commented Jul 15, 2025

Updated to use Tumbleweed as base so that we don't need to care to bump the OS version number. Adjusting the OBS service project accordingly

@okurz okurz force-pushed the fix/container branch 4 times, most recently from 60d2a55 to 2980d08 Compare July 15, 2025 12:20
@okurz okurz marked this pull request as ready for review July 15, 2025 12:30
@okurz
Copy link
Copy Markdown
Member Author

okurz commented Jul 15, 2025

All done. After merge I would setup the github-OBS webhook connection to automatically trigger the dependency container build on every change in this repo

d3flex

This comment was marked as resolved.

@okurz

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants