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

Skip watcher containers for downstream #2515

Closed
wants to merge 1 commit into from
Closed

Skip watcher containers for downstream #2515

wants to merge 1 commit into from

Conversation

raukadah
Copy link
Contributor

@raukadah raukadah commented Nov 4, 2024

Watcher related packages got added in RDO antelope but not available in OSP-18 downstream.

openstack-k8s-operators/tcib#215 adds watcher container in tcib. Since downstream tcib jobs install the tcib rpm from main branch so it may break downstream container build and component job.

So in order to avoid breakage, we are skip building watcher related containers.

Note: It also fixes the exclude conditional to check existence of release key in exclude var to avoid following error:
''dict object'' has no attribute ''master'''

Depends-On: openstack-k8s-operators/tcib#215

Copy link
Contributor

openshift-ci bot commented Nov 4, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

openshift-ci bot commented Nov 4, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from raukadah. For more information see the Kubernetes Code Review Process.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6da829e8876f494c8953efbf1aa5ea6f

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 52m 06s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 16m 03s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 26m 39s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 7m 21s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 14s
cifmw-tcib FAILURE in 8m 45s
ci-framework-openstack-meta-content-provider FAILURE in 9m 46s
✔️ build-push-container-cifmw-client SUCCESS in 37m 06s
cifmw-molecule-build_containers FAILURE in 5m 03s

@raukadah raukadah force-pushed the add_watcher branch 2 times, most recently from 5aa3ce2 to a2e9d91 Compare November 5, 2024 09:20
@raukadah raukadah marked this pull request as ready for review November 5, 2024 10:36
@raukadah raukadah marked this pull request as draft November 5, 2024 10:37
Watcher related packages got added in RDO antelope but not available in
OSP-18 downstream.

openstack-k8s-operators/tcib#215 adds watcher
container in tcib. Since downstream tcib jobs install the tcib rpm from
main branch so it may break downstream container build and component
job.

So in order to avoid breakage, we are skip building watcher related
containers.

Note: It also fixes the exclude conditional to check existence of
release key in exclude var to avoid following error:
```
''dict object'' has no attribute ''master'''
```

Depends-On: openstack-k8s-operators/tcib#215

Signed-off-by: Chandan Kumar <raukadah@gmail.com>
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/87cd144a03d9455e8a229680be7f70be

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 28m 07s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 15m 44s
cifmw-crc-podified-edpm-baremetal FAILURE in 46m 40s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 7m 42s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 09s
✔️ cifmw-tcib SUCCESS in 45m 37s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 51m 10s
✔️ build-push-container-cifmw-client SUCCESS in 36m 37s
✔️ cifmw-molecule-build_containers SUCCESS in 7m 13s

@raukadah
Copy link
Contributor Author

raukadah commented Nov 5, 2024

@@ -55,3 +55,12 @@ cifmw_build_containers_install_from_source: false
# cifmw_build_containers_dockerfile_labels
# cifmw_build_containers_extra_config
# cifmw_build_containers_build_timeout

# Note(Chandankumar): Remove it once watcher related packages are available downstream.
cifmw_build_containers_exclude_containers:
Copy link
Collaborator

@lewisdenny lewisdenny Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than defining this temporary list in the role defaults, can it be set in the job variables of the D/S job that calls the role.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @lewisdenny for the review, I have proposed a mr downstream to achieve the same.

@@ -55,3 +55,12 @@ cifmw_build_containers_install_from_source: false
# cifmw_build_containers_dockerfile_labels
# cifmw_build_containers_extra_config
# cifmw_build_containers_build_timeout

# Note(Chandankumar): Remove it once watcher related packages are available downstream.
cifmw_build_containers_exclude_containers:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cifmw_build_containers_exclude_containers is documented in the README as a list but in fact it's a nested dictionary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good finding, I will update this pull request to address this change and remove watcher skip from here. thank you!

Copy link

This PR is stale because it has been for over 15 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Nov 22, 2024
@github-actions github-actions bot closed this Nov 29, 2024
@pablintino pablintino deleted the add_watcher branch February 4, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants