Create a new chatop command: auto_deploy promote
Adding Auto Deploy - Promote chatops command
This is the release-tools side implementation of /chatops run auto_deploy promote <package-code> . See related MR the chatops repo.
The code flow works as follows:
-
"auto_deploy:promote"route is added to bin/chatop script - This will trigger
lib/tasks/auto_deploy.rake - Then this task will be triggered
lib/release_tools/tasks/auto_deploy/promote.rb - And this one
lib/release_tools/auto_deploy/promote.rbwill find the pipeline associated with package, find the promote CI job, and finally will trigger the job - starting the promotion workflow.
Content
- initial end to end implementation
Author Check-list
-
Has documentation been updated?