Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

okurz
Copy link
Member

@okurz okurz commented Oct 13, 2021

No description provided.

@Martchus
Copy link
Contributor

see comments in #141

@okurz
Copy link
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

@okurz okurz marked this pull request as draft October 13, 2021 10:28
@Martchus
Copy link
Contributor

The container has the same problem as the manual zypper in … before. Maybe devel:openQA:Leap:15.3 can be added to the repository paths for building the container.

@okurz
Copy link
Member Author

okurz commented Oct 13, 2021

The container has the same problem as the manual zypper in … before. Maybe devel:openQA:Leap:15.3 can be added to the repository paths for building the container.

well, as an alternative we could try that. But I think a separate subrepo with just the minimum required would be cleaner

@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
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.

2 participants