Script to update Topology Service Gem
What does this MR do and why?
Addressing: #451052 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
-
Switch to this branch, and run the script
REF=451052-topology-service-gem-update-script bash scripts/update-topology-service-gem.sh
-
It should print
No changes to commit
-
Run
REF=main-with-changes bash scripts/update-topology-service-gem.sh
-
It should get some changes from the Gem and commit them. The comment should look like
commit 76275e0561c0276a10c7cf1ca376dc5ced632696 (HEAD -> 451052-topology-service-gem-update-script)
Author: Omar Qunsul <oqunsul@gitlab.com>
Date: Wed Aug 7 17:53:41 2024 +0200
Updating Topology Service Client Gem to 38df4c1
- 38df4c1: Removing a file for the sake of testing
- 744ee41: Adding random text
- f1908b4: Topology Service Gem Update Script
changelog: other
- Remove that commit:
git reset HEAD~1 --hard
Related Issue
Related to #451052 (closed)
Edited by Omar Qunsul