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

Extend how to upgrade RabbitMQ version #295

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

tbroden84
Copy link
Contributor

WHY are these changes introduced?

Missing the ability to specify the version to upgrade to, when using the cloudamqp_upgrade_rabbitmq resource.

Reference: #293.

WHAT is this pull request doing?

Extend the cloudamqp_upgrade_rabbitmq resource to use multiple ways to invoke the upgrade.

  • Specify an available version
  • Bring to latest possible version with help of cloudamqp_upgradable_versions
  • Support previous behaviour

HOW can this pull request be tested?

Added new tests with fixtures

Enable multiple ways to use the resource to upgrade RabbitMQ version.
- Specify a available version
- Bring to latest possible version with help of data source
- Bring to latest possible version (old way)
@tbroden84 tbroden84 requested a review from dentarg August 9, 2024 07:59
@tbroden84
Copy link
Contributor Author

Note: new_version argument set to Force new and will be triggered if any new value is detected. Helps when specifying or using the data source to trigger a new upgrade.

@tbroden84 tbroden84 merged commit 296ed96 into main Aug 19, 2024
2 checks passed
@tbroden84 tbroden84 deleted the update-specific-rabbitmq-version branch August 19, 2024 05:46
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.

1 participant