-
Notifications
You must be signed in to change notification settings - Fork 85
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
[bop]Build RPM pkgs from OpenDev Depends On #1418
Conversation
0fa3882
to
2109509
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
1a5fb41
to
49927cb
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
49927cb
to
09e1dc3
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
09e1dc3
to
5648b03
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
5648b03
to
3657885
Compare
recheck |
3657885
to
1c17851
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
1c17851
to
c69fc5d
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
c69fc5d
to
5596344
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
5596344
to
8d65170
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
8d65170
to
016aa28
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
016aa28
to
41f1d3d
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
41f1d3d
to
50b3c5a
Compare
Depends-On: https://review.opendev.org/c/openstack/neutron/+/914916 Depends-On: openstack-k8s-operators/ci-framework#1418 Signed-off-by: Chandan Kumar <raukadah@gmail.com>
23e9ecd
to
49fcdb0
Compare
/hold cancel |
- name: Create a directory to hold the rpms | ||
ansible.builtin.file: | ||
path: '{{ cifmw_bop_gating_repo }}' | ||
- name: Create a temproary directory to hold the rpms |
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.
nit s/temproary/temporary
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.
same change exists in #1457 are you going to merge them into one review or update one of them/rebase?
Care to trigger a molecule job for the pkg_build role? It's dependent and we already broke it with changes in bop role :) (also asked on #1457 - I see it's included in this PR, so you can trigger with a depends-on this 1418 one) |
49fcdb0
to
681bca5
Compare
/hold let's wait for #1457 to merge first if you don't mind. |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/3087ab7effbb463ca6df23a589420ce4 ✔️ openstack-k8s-operators-content-provider SUCCESS in 46m 36s |
@@ -16,23 +16,65 @@ An Ansible role for generating custom RPMSs of OpenStack Projects using DLRN | |||
* `cifmw_bop_openstack_release`: (String) The default release of OpenStack project. Defaults to `master`. | |||
* `cifmw_bop_osp_release`: (String) The downstream openstack release name. | |||
* `cifmw_bop_openstack_project_path`: (String) The full path of openstack cloned project to be built. | |||
* `cifmw_bop_gating_repo`: (String) The path of directory to store the generated rpms. | |||
* `cifmw_bop_gating_repo_dest`: (String) The path of directory to store gating repo file and repo metadata. |
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.
this is also added in https://github.com/openstack-k8s-operators/ci-framework/pull/1457/files
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.
Thank you @marios for the review, PR#1457 is now merged. I have rebase this pr from main.
- name: Create a directory to hold the rpms | ||
ansible.builtin.file: | ||
path: '{{ cifmw_bop_gating_repo }}' | ||
- name: Create a temproary directory to hold the rpms |
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.
same change exists in #1457 are you going to merge them into one review or update one of them/rebase?
681bca5
to
56052d1
Compare
/hold cancel the patch went through test-project; it has been rebased against |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjeanner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
_project_branch: "{{ cifmw_bop_openstack_release }}" | ||
when: _change.branch != cifmw_bop_openstack_release | ||
|
||
- name: Set proper branch name |
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.
Do we need this task and the one above? It looks like we always end up using the value of cifmw_bop_openstack_release
.
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.
that said, it could be done in a follow up, if this is blocking something
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.
We need both the tasks. Let me change the wording of the task to make it clearer.
This pull requests improves following things: - Update default value of cifmw_bop_build_repo_dir so that we can collect DLRN related data in the logs - Change cifmw_bop_openstack_release var default value to antelope. - Introduced more vars to construct cifmw_bop_change_list. * `cifmw_bop_branchless_projects`: List of project does not have stable branches. * `cifmw_bop_skipped_projects`: List of projects on which DLRN build needs to be skipped. * `cifmw_bop_change_list`: Zuul Change list constructed while using Depends-On in CI to build rpm packages using DLRN. * `cifmw_bop_release_mapping`: A list of openstack release names and their respective branch names. - Construct cifmw_bop_change_list from OpenDev Depends On based on the conditions defined in README - It also updates the conditional to set proper rdo branches and update DLRN project.ini for branchful and branchless project. For branchful project: rdo-{project branch} For branchless project: rdo-{openstack_release} for master: rdo-master - Add tasks to clone proper changes from gerrit refspec and github pull requests. - Builds the RPM after that. Signed-off-by: Chandan Kumar <raukadah@gmail.com>
56052d1
to
74a4e69
Compare
recheck |
This pull requests improves following things:
Update default value of cifmw_bop_build_repo_dir so that we can
collect DLRN related data in the logs
Change cifmw_bop_openstack_release var default value to antelope.
Introduced more vars to construct cifmw_bop_change_list.
cifmw_bop_branchless_projects
: List of project does not have stable branches.cifmw_bop_skipped_projects
: List of projects on which DLRN build needs to be skipped.cifmw_bop_change_list
: Zuul Change list constructed while using Depends-On in CI to build rpm packages using DLRN.cifmw_bop_release_mapping
: A list of openstack release names and their respective branch names.Construct cifmw_bop_change_list from OpenDev Depends On based on the
conditions defined in README
It also updates the conditional to set proper rdo branches and update
DLRN project.ini for branchful and branchless project.
For branchful project: rdo-{project branch}
For branchless project: rdo-{openstack_release}
for master: rdo-master
Add tasks to clone proper changes from gerrit refspec and github pull
requests.
Builds the RPM after that.
Test Results: openstack-k8s-operators/tcib#162 (comment)
As a pull request owner and reviewers, I checked that: