Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mass_deployments.yml to send status message on telegram #2595

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

PeterNashaat
Copy link
Member

Description

I've updated our mass_deployments.yml workflow file to with a new step that sends a Telegram message after the deployment process.

Changes

  • Telegram Notification Step:

    • A new step titled "Send Telegram Notification" has been added at the end of the workflow.
    • This step uses curl and POST request to the Telegram API.
    • The message indicates the number of successful and failed deployments and specific errors from each deployment phase.
    • This step will be executed only after all other deployment steps have completed
  • Environment Variables:

    • TELEGRAM_BOT_TOKEN is set in the repository secrets to authenticate with the Telegram API securely.
    • TELEGRAM_CHAT_ID is set in the repository secrets to our specific Telegram chat ID for deployment updates.

Related Issues

https://github.com/threefoldtech/tf_operations/issues/1988

@xmonader xmonader merged commit 6b8fc92 into development Apr 22, 2024
2 checks passed
@xmonader xmonader deleted the development_massdep_notification branch April 22, 2024 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants