Skip to content
Snippets Groups Projects
Unverified Commit d29aed06 authored by Andrew Newdigate's avatar Andrew Newdigate
Browse files

chore: Add integration test requirement for Ansible Galaxy major version updates

- Added a new rule in the `renovate-versions-dedicated.json` Renovate preset file to
  require an integration test for Ansible-Galaxy major version updates.
- This rule is triggered when a major version update of an Ansible Galaxy dependency is detected.
- The rule adds a label to the pull request to indicate that an integration test is required.
- For non-major version updates, also includes a note in the pull request body to remind
  developers to perform a review app deployment to ensure that the upgrade works as expected.
parent 4f9af796
No related branches found
No related tags found
No related merge requests found
Pipeline #23667297 passed
Loading
Loading
@@ -96,6 +96,34 @@
"prBodyNotes": [
":warning: :warning: See https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/team/-/issues/3815 for details on how this upgrade breaks Instrumentor. :warning: :warning:"
]
},
{
"description": "Major ansible-galaxy dependencies require an integration test",
"matchDepTypes": [
"ansible-galaxy"
],
"matchUpdateTypes": [
"major"
],
"addLabels": [
"renovate-upgrade-requires-integration-test"
],
"prBodyNotes": [
":warning: Ansible Galaxy major version update. Please perform a review app deployment to ensure that upgrade works as expected."
]
},
{
"description": "Non-major ansible-galaxy dependencies require a changelog review",
"matchDepTypes": [
"ansible-galaxy"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"prBodyNotes": [
"**NOTE**: Non-major Ansible Galaxy version update. Please perform a careful review of the changelog and consider running a full-integration test if necessary."
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment