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

Cap rich to version 10.x #27

Merged
merged 1 commit into from
Jan 11, 2022
Merged

Cap rich to version 10.x #27

merged 1 commit into from
Jan 11, 2022

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Jan 10, 2022

The latest version of rich includes breaking changes that affects ansible-lint.

A new version of ansible-lint has just been released with support for rich 11 (see https://github.com/ansible-community/ansible-lint/releases/tag/v5.3.2) but our Ansible infrastructure is on Molecule 2 which caps ansible-lint to 4.x. Until we are ready to upgrade our infrastructure to Molecule 3, this should allow our Ansible CI to keep testing roles and playbooks

The latest version of rich includes breaking changes that affects ansible-lint.
A new version of ansible-lint has just been released with support for rich 11
but our Ansible infrastructure is on Molecule 2 which caps ansible-lint to 4.x.
Until we are ready to upgrade our infrastructure to Molecule 3, this should
allow our Ansible CI to keep testing roles and playbooks
@sbesson
Copy link
Member Author

sbesson commented Jan 10, 2022

As a proof of concept https://github.com/sbesson/ansible-role-omero-prometheus-exporter/runs/4761840718?check_suite_focus=true is a build using 82dd2a4 via sbesson/action-ome-ansible-molecule@721581b which demonstrates the effect of this fix. It can be compared to the former build for the same role - https://github.com/ome/ansible-role-omero-prometheus-exporter/actions/runs/1674944111.

I'll follow the discussion in ansible/ansible-lint#1795 to see if an ansible-lint 4.x would be considered.

Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

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

Oh dear. Molecule 3! I did not have that on my radar.

@sbesson
Copy link
Member Author

sbesson commented Jan 11, 2022

Captured the Molecule 3 upgrade as ome/ansible-roles#137. In the interim, I'll make a patch release of ome-ansible-molecule so that we keep testing existing roles with Molecule 2

@sbesson sbesson merged commit 436a91c into ome:master Jan 11, 2022
@sbesson sbesson deleted the rich_version_pin branch January 11, 2022 11:10
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.

2 participants