Additions to ProdOps Slackbot
- Extends !682 (merged)
- Related to #4489 (closed)
Summary
This MR will add the Slack announcements and reminders that have been done manually by the release post manager. The announcements it replaces are listed in #4489 (closed)
- Creates
bin/send-slackbot-messages
which will be triggered in the pipeline on an hourly basis - Adds a
send_slack_messages
job to the pipeline in.gitlab-ci.yml
- Modifies
config/slackbot_messages.yml
to add ablocks_file
key to each message block. This keeps the primary yml file clean as the message blocks can be lengthy. - Adds a
dry_run
option tolib/prod_ops_slackbot.rb
. Whendry_run
is passed as true, as inbin/send-slackbot-messages true
, all the messages are sent to a#prodops-slackbot-test
channel. - Adds a
utc_hour_of_day
option if the message should be sent on a specific hour of the day in UTC time - Adds the
templates/slack_blocks
directory to hold all the message block files
Edited by Brian Rhea