in lib/release_tools/slack/internal_release/dedicated_start_notifier.rb [23:58]
def send_notification
message = <<~BODY
:mega: :security-tanuki: Hello, the internal release has started targeting
We are preparing the following versions:
A message will be posted to this channel when the internal release is complete and the package is available in the `pre-release` channel.
There is a Dedicated tracker issue that has been created:
Notifying Dedicated managers:
BODY
slack_channels = [
ReleaseTools::Slack::G_DEDICATED_TEAM,
ReleaseTools::Slack::G_DEDICATED_ENVIRONMENT_AUTOMATION_TEAM,
ReleaseTools::Slack::G_DEDICATED_US_PUBSEC
]
return if SharedStatus.dry_run?
slack_channels.each do |channel|
Retriable.retriable do
ReleaseTools::Slack::ChatopsNotification.fire_hook(
text: "Internal release is starting.",
channel: channel,
blocks: [
{
type: 'section',
text: {
type: 'mrkdwn',
text: message
}
}
]
)
end
end
end