Skip to content

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:

  1. "auto_deploy:promote" route is added to bin/chatop script
  2. This will trigger lib/tasks/auto_deploy.rake
  3. Then this task will be triggered lib/release_tools/tasks/auto_deploy/promote.rb
  4. And this one lib/release_tools/auto_deploy/promote.rb will 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?

Merge request reports

Loading