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

Change order of if-elif conditionals in set_openstack_containers template #2187

Conversation

ciecierski
Copy link
Contributor

@ciecierski ciecierski commented Aug 1, 2024

To update both container tags and ansiblee RELATED_VARS of openstack-operator in the same set_openstack_containers role run both cifmw_set_openstack_containers_tag and cifmw_set_openstack_containers_overrides are defined. cifmw_set_openstack_containers_overrides if conditional must be checked later, because otherwise container_tags modifications are all skipped.

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running
  • Appropriate documentation exists and/or is up-to-date:
    • README in the role
    • Content of the docs/source is reflecting the changes

@github-actions github-actions bot marked this pull request as draft August 1, 2024 12:09
Copy link

github-actions bot commented Aug 1, 2024

Thanks for the PR! ❤️
I'm marking it as a draft, once your happy with it merging and the PR is passing CI, click the "Ready for review" button below.

@ciecierski ciecierski added the minor update Changes for minor update automation label Aug 1, 2024
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/aecff13a44474dcb849599da02fb134e

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 35m 52s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 15m 40s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 20m 34s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 09s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 12s
cifmw-molecule-set_openstack_containers FAILURE in 14m 08s

@ciecierski ciecierski force-pushed the set-container-role-fix branch from 1c868cf to 745c66d Compare August 1, 2024 15:05
@ciecierski ciecierski marked this pull request as ready for review August 2, 2024 11:53
@raukadah
Copy link
Contributor

raukadah commented Aug 5, 2024

/approve

@openshift-ci openshift-ci bot added the approved label Aug 5, 2024
@son-vyas son-vyas added the lgtm label Aug 5, 2024
@son-vyas
Copy link
Contributor

son-vyas commented Aug 5, 2024

/lgtm

@raukadah
Copy link
Contributor

raukadah commented Aug 5, 2024

/hold

…late

To update both container tags and ansiblee RELATED_VARS of openstack-operator
in the same set_openstack_containers role run both cifmw_set_openstack_containers_tag
and cifmw_set_openstack_containers_overrides are defined.
cifmw_set_openstack_containers_overrides if conditional must be checked later,
because otherwise container_tags modifications are all skipped.
@ciecierski ciecierski force-pushed the set-container-role-fix branch from b004460 to 7a15911 Compare August 5, 2024 10:40
@raukadah
Copy link
Contributor

raukadah commented Aug 5, 2024

/cancel hold

@raukadah
Copy link
Contributor

raukadah commented Aug 5, 2024

/hold cancel

@pablintino
Copy link
Collaborator

/approve

Copy link
Contributor

openshift-ci bot commented Aug 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pablintino, raukadah

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:
  • OWNERS [pablintino,raukadah]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@son-vyas
Copy link
Contributor

son-vyas commented Aug 5, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Aug 5, 2024
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/3c43d9f49596403e904bee982b8ee8d5

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 37m 55s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 14m 25s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 14m 29s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 22s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 48s
cifmw-molecule-set_openstack_containers FAILURE in 15m 31s

@raukadah
Copy link
Contributor

raukadah commented Aug 5, 2024

recheck

@openshift-merge-bot openshift-merge-bot bot merged commit 34b2b1c into openstack-k8s-operators:main Aug 5, 2024
5 checks passed
@ciecierski
Copy link
Contributor Author

/cherry-pick 18.0.0-proposed

@openshift-cherrypick-robot

@ciecierski: new pull request created: #2201

In response to this:

/cherry-pick 18.0.0-proposed

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm minor update Changes for minor update automation Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants