Skip to content

Conversation

@amartyasinha
Copy link
Contributor

@amartyasinha amartyasinha commented Jan 6, 2026

Changing the variable to ensure all variable names are following the similar pattern.

  • Now, cifmw_project_dir will be ci_framework_repo_relative and cifmw_project_dir_absolute will be ci_framework_repo.
  • Since the absolute values are used in the entire framework, that variable should not have extra keyword (absolute).
  • The reason to move from dir to repo is to match the pattern of other variables.

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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 6, 2026

[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 assign bshewale for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details 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

@amartyasinha
Copy link
Contributor Author

zuul gate jobs were stuck for unknown reason. this force commit adds nothing, just meant to retrigger the jobs.

@amartyasinha
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/ci-framework for 3583,e5f9b2d03d03212760113637710eded10174ee98

@softwarefactory-project-zuul
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/fd10112e7bdd41c5b36903b6b4d94097

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 35m 37s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 58s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 37m 51s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 18m 39s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 26s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 39s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 40s
cifmw-tcib FAILURE in 37m 50s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 17m 10s
✔️ cifmw-molecule-build_containers SUCCESS in 8m 17s
cifmw-molecule-build_openstack_packages FAILURE in 8m 06s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 08s
✔️ cifmw-molecule-copy_container SUCCESS in 6m 58s
✔️ cifmw-molecule-dlrn_promote SUCCESS in 6m 22s
✔️ cifmw-molecule-reproducer SUCCESS in 14m 49s

@amartyasinha
Copy link
Contributor Author

Merging blocked as gate job cifmw-tcib is failing. Should pass after the merge of openstack-k8s-operators/tcib#356

@amartyasinha
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
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/7e5409c6044940ce9219274afc4c1fbe

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 21m 57s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 29m 46s
cifmw-crc-podified-edpm-baremetal FAILURE in 28m 29s
✔️ cifmw-crc-podified-edpm-baremetal-minor-update SUCCESS in 2h 06m 45s
✔️ cifmw-pod-zuul-files SUCCESS in 6m 26s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 10m 51s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 59s
cifmw-tcib FAILURE in 41m 44s
✔️ ci-framework-openstack-meta-content-provider SUCCESS in 47m 54s
✔️ cifmw-molecule-build_containers SUCCESS in 7m 37s
cifmw-molecule-build_openstack_packages FAILURE in 10m 18s
✔️ cifmw-molecule-ci_dcn_site SUCCESS in 2m 02s
✔️ cifmw-molecule-copy_container SUCCESS in 6m 24s
✔️ cifmw-molecule-dlrn_promote SUCCESS in 6m 12s
✔️ cifmw-molecule-reproducer SUCCESS in 15m 41s

cifmw_project_dir: src/github.com/openstack-k8s-operators/ci-framework
cifmw_project_dir_absolute: "{{ ansible_user_dir }}/{{ cifmw_project_dir }}"
ci_framework_repo_relative: src/github.com/openstack-k8s-operators/ci-framework
ci_framework_repo: "{{ ansible_user_dir }}/{{ ci_framework_repo_relative }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: These names break from the pattern of prefixing these vars with cifmw_, maybe something like cifmw_framework_repo would be better? Open to disagreement or other suggestions, though!

Copy link
Contributor Author

@amartyasinha amartyasinha Jan 12, 2026

Choose a reason for hiding this comment

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

cifmw stands for ci-framework. So, cifmw_framework_repo would mean ci-framework_framework_repo which will not make sense.

Forcing cifmw prefix does not make sense to me. According to Ansible best practices, vars within a role should have role prefix, but there is no such requirement or convention for group_vars.

The reason these vars does not start with cifmw is to maintain the consistency with D/S vars definition. We have vars name like ci_framework_repo in D/S. Please feel free to recommend some other better var name if you can think of any.

Changing the variable to ensure all variable names are following the similar pattern.
- Now, cifmw_project_dir will be ci_framework_repo_relative and cifmw_project_dir_absolute will be ci_framework_repo
- Since the absolute values are used in the entire framework, that variable should not have extra keyword (absolute).
- The reason to move from `dir` to `repo` is to match the pattern of other variables.

Signed-off-by: Amartya Sinha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants