Emanuel Gonzalez
unread,Sep 6, 2022, 6:46:11 PM9/6/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to devops
Guys, I’ll tell you what procedure we do in our devops area when we have to deploy a new app label.
The Infrastructure is located in Amazon, we have two gitlab in different regions, one gitlab for dev environment and one for prod environment.
When a new tag for the application is created from the dev area, I run git fetch --tags from my local computer.
Then I upload the new tags by doing a git push --tags to the instance that requires the new tag. From the instance I run the following:
git fetch --tags
git reset --hard version_number (example git reset --hard 1.0)
I Can’t find a git module in ansible to make a git fetch, is there any power to automate this?
Any help?