-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add Meta content provider job to test opendev and github changes #1892
Conversation
Skipping CI for Draft Pull Request. |
Depends-On: https://review.opendev.org/c/openstack/nova/+/921686 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
dc5c241
to
38ca095
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921686 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Depends-On: https://review.opendev.org/c/openstack/nova/+/921686 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
38ca095
to
43ffd5a
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921686 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
43ffd5a
to
a297950
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921686 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/bec90fd19fef4571a1303bfa3d360c72 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 57m 54s |
a297950
to
f2db6f5
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/69dd2963d4674105962eebb8825d296f ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 17m 00s |
f2db6f5
to
00ba4cb
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/4dc2042b7d45445b9b71423d074a7154 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 47m 15s |
00ba4cb
to
6ed5a2b
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/09dfe40b25774c42b0b90b191da187ce ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 52m 40s |
08d6468
to
a3ac750
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/e7445e72b5674ccba28c882d8f1367d8 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 45m 19s |
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
a3ac750
to
36f1651
Compare
Depends-On: https://review.opendev.org/c/openstack/nova/+/921687 Depends-On: openstack-k8s-operators/nova-operator#777 Depends-On: openstack-k8s-operators/ci-framework#1892 Signed-off-by: Chandan Kumar <[email protected]>
openstack-k8s-operators/ci-framework#1892 adds Meta content provider job to test opendev and github changes together. This pr replaces tcib content provider with meta content provider allowing users to test the content from different sources. Signed-off-by: Chandan Kumar <[email protected]>
openstack-k8s-operators/ci-framework#1892 adds Meta content provider job to test opendev and github changes together. This pr replaces tcib content provider with meta content provider allowing users to test the content from different sources. Signed-off-by: Chandan Kumar <[email protected]>
876e8c4
to
06da6db
Compare
06da6db
to
7c52346
Compare
openstack-k8s-operators/ci-framework#1892 adds Meta content provider job to test opendev and github changes together. This pr replaces tcib content provider with meta content provider allowing users to test the content from different sources. Signed-off-by: Chandan Kumar <[email protected]>
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.
didn't spot anything major to complain about ;)
leaving approval for reviews call
zuul.d/content_provider.yaml
Outdated
name: openstack-meta-content-provider | ||
parent: openstack-k8s-operators-content-provider | ||
description: | | ||
A zuul job to build contents(rpms, openstack services containers, |
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.
to build content (
] | ansible.builtin.path_join | ||
}} | ||
|
||
- name: "Run ci/playbooks/meta_content_provider/meta_content_provider.yml" |
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.
remove quotes from task title for consistency?
7c52346
to
67d3edf
Compare
openstack-k8s-operators/ci-framework#1892 adds Meta content provider job to test opendev and github changes together. This pr replaces tcib content provider with meta content provider allowing users to test the content from different sources. Signed-off-by: Chandan Kumar <[email protected]>
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 Chandan, this will be a great feature to add to CI!
ansible.builtin.debug: | ||
msg: >- | ||
Running Content provider registry on | ||
{{ cifmw_rp_registry_ip | default('nowhere') }} |
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.
Could you please explain why we wouldn't fail when cifmw_rp_registry_ip is undefined?
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.
openstack-k8s-operators-content-provider is the parent of openstack-meta-content-provider. We run [Discover an IPv4 for provider job
](Discover an IPv4 for provider job) in pre-run step to always set the value of cifmw_rp_registry_ip
var . So this var is always going to set. It will be never undefined.
From a user point of view, this task does not provide any value. Let me drop that.
src: "{{ cifmw_artifacts_basedir }}/artifacts/ansible-vars.yml" | ||
register: _inner_ansible | ||
|
||
- name: Return Zuul Data |
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.
@cjeanner Is this a debug we want to keep?
Meta content provider does following things: - It combines 3 content provider (operator, tcib and edpm image build) into one content provider to test all changes together. - If the changes coming from opendev, tcib and os-net-config, then it will build the DLRN packages and create gating repo. - If there is a gating and non os-net-config changes, then it will do the tcib build. - If there is a edpm-image-build change, then it will perform the image build. - All the built content will be pushed on single registry with different namespace. - The content provider will expose the same zuul return vars to dependent job to pick proper built content. - It also returns content_provider_os_registry_url var to dependent job and improve edpm_prepare role to set proper vars. - Generate gating repo only when there are repos. Note: It make changes to edpm_prepare to check edpm_image_build_output key length. If no edpm image is built by meta content provider then edpm_image_build_output will return an empty dict. Signed-off-by: Chandan Kumar <[email protected]>
67d3edf
to
7c09d46
Compare
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.
/approve
LGTM, quite a large change so let's keep an eye out once this merges.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lewisdenny 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 |
Meta content provider does following things:
Note: It make changes to edpm_prepare to check edpm_image_build_output key length. If no edpm image is built by meta content provider then edpm_image_build_output will return an empty dict.
Testing scenario:
As a pull request owner and reviewers, I checked that: