-
Notifications
You must be signed in to change notification settings - Fork 115
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
Update build_openstack_packages to support downstream gitlab #2699
Update build_openstack_packages to support downstream gitlab #2699
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Hi @raukadah, could you please add a commit message to explain this change
a8357c7
to
837525b
Compare
837525b
to
66f0f16
Compare
/hold |
4070691
to
798e3bf
Compare
/hold cancel |
7b61700
to
811fcfd
Compare
811fcfd
to
af35850
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d83f0a1ba98841b6a9dd1214a1e9b5ef ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 35m 27s |
af35850
to
981a3d7
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5934fa9cdc064d5da7b036aca0968a66 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 25m 01s |
981a3d7
to
fce9c72
Compare
This pr: * Since downstream gerrit repos is moved to gitlab. Zuul works with gitlab and it clones the gitlab repos in job workspace. Use the zuul clonned content instead of clonning from gerrit or gitlab. As zuul already checks out the source code. Let's reuse it for dlrn purpose by updating packages.yml. * Drop branch creation task as it is no longer needed. * For RHOS-18, downstream distgit uses rhoso-18 not rhos. It also updates the project.ini to reflect the same. Note: While running build_openstack_packages in containers using make run_ctx_molecule, we are hitting following error in rpmbuild.log in CI and in local environment. ``` DEBUG: unshare(67239936) failed, falling back to unshare(131072) ERROR: Namespace unshare failed. ``` Based on this bug https://bugzilla.redhat.com/show_bug.cgi?id=1336750#c3, By passing `--cap-add=SYS_ADMIN` fixes the issue. Signed-off-by: Chandan Kumar (raukadah) <raukadah@gmail.com> Related-Jira: https://issues.redhat.com/browse/OSPRH-13660
fce9c72
to
58baced
Compare
/lgtm |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/78462938d37f4eb8aeb4e8b6771a7dc1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 34m 51s |
recheck |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6c3a72045890400192527d450c169717 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 40s |
recheck RETRY_LIMIT |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/bce2195e14724cfe8a42f69caa6b053d ❌ openstack-k8s-operators-content-provider FAILURE in 6m 30s |
recheck |
All comments covered, and to unblock the merge
This pr:
* Since downstream gerrit repos is moved to gitlab. Zuul works with gitlab and it clones the gitlab repos in
job workspace. Use the zuul clonned content instead of clonning from gerrit or gitlab. As zuul already checks
out the source code. Let's reuse it for dlrn purpose by updating packages.yml.
* Drop branch creation task as it is no longer needed.
* For RHOS-18, downstream distgit uses rhoso-18 not rhos. It also updates the project.ini to reflect the same.
Note: While running build_openstack_packages in containers using make run_ctx_molecule, we are hitting following error in rpmbuild.log in CI and in local environment.
Based on this bug , By passing
--cap-add=SYS_ADMIN
fixes the issue.Signed-off-by: Chandan Kumar (raukadah) raukadah@gmail.com
Related-Jira: https://issues.redhat.com/browse/OSPRH-13660