-
Notifications
You must be signed in to change notification settings - Fork 14
Add workflows for OBS integration #319
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
Conversation
|
This is definitely a step in the right direction, however I struggle to understand how this configuration alone would be enough. This may be my lack of OBS knowledge, but shouldn't we also define here links to the other packages? Also shouldn't we enable the publish flags by default? I tried to test this and without these two additional configurations I was not able to have all the pieces in place, where I can pull a release manifest for the currently setup project. I noticed in your testing project you had configured a link to Apologies, if I am missing something obvious. |
Never said it would be enough :)
imho this is done via the template project.
publish is enabled by default? we can set it explicitly but that wouldn't change it.
I think so, but I haven't tested this end to end. |
374f913 to
9b4fcc4
Compare
Might be the case, but I was not able to do this, for example I have this source_project (template). Tweaking the suggested implementation from the PR to: When opening a PR I get the following happen:
I am probably missing something, or not doing something correctly, but this is what I found out while trying to get this to work. |
4461538 to
6b26226
Compare
.obs/workflows.yml
Outdated
| target_project: devel:UnifiedCore:Tumbleweed:PRs | ||
| - link_package: | ||
| source_project: devel:UnifiedCore:Tumbleweed | ||
| source_package: release-manifest-image |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By not having links to the elemental-base-os won't we have the release manifest point to non-existent container images? IIUC it will point to whatever is under IMG_PREFIX and that would be the branched subproject, so won't it point to something like registry.opensuse.org/<target_project>/<source_package>/pr-X/containers/<uc-base-os-kernel-default/uc-base-kernel-default-iso>? If that is the case, these containers will be missing from the subproject, as they are not linked, or am I missing something?
b3086ee to
440b865
Compare
|
It seems that we now have the correct setup to create the necessary subproject and have it populated with the correct branched/linked packages. However, I am still not sure how a change from a PR will land onto the |
82fce9b to
5c4201f
Compare
this happens automatically as there is a _branch_project file committed which is preferred, when existing, over the main _service file. see https://build.opensuse.org/projects/devel:UnifiedCore:Tumbleweed:PRs:dirkmueller:elemental:PR-5/packages/elemental/files/_branch_request?expand=1 |
davidcassany
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I understand it correctly then we should ideally have some git workflow to actually wait for the build and trigger the integration tests to use the built binaries from the PR generated project, is that right? Meanwhile this is essentially simply validating it "builds" (quoted as the spec file is not part of the repository, hence any required change is not present in the PR so not represented in the generated project too).
LGTM, it will be helpful to actually test and iterate on more sophisticated automation.
Yes, my understanding is that @ipetrov117 has been working on (some parts of) that as part of #331 and I will pick up whatever is left to do if anything.
|
No description provided.