summaryrefslogtreecommitdiff
path: root/.github/workflows/vyos-rolling-nightly-build.yml
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-11 17:06:15 +0300
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-11 17:06:15 +0300
commit666e594465f1198a698b7d8d6c93096d6195c659 (patch)
tree363832412759eac027a05f40ec4adfa38ecfe1dc /.github/workflows/vyos-rolling-nightly-build.yml
parent3599341a8d6bddfecb50d76eaac898408301462d (diff)
downloadvyos-rolling-nightly-builds-666e594465f1198a698b7d8d6c93096d6195c659.tar.gz
vyos-rolling-nightly-builds-666e594465f1198a698b7d8d6c93096d6195c659.zip
vyos slack notifications
Diffstat (limited to '.github/workflows/vyos-rolling-nightly-build.yml')
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml52
1 files changed, 50 insertions, 2 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index e8e331b..9335a87 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -133,9 +133,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
- - name: Send Slack notification on fail
+ - name: Send Slack notification on workflow failure to Sentrium
if: failure()
- id: slack
uses: slackapi/slack-github-action@v1.24.0
with:
payload: |
@@ -146,6 +145,55 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+ - name: Send Slack notification on smoketests failure to VyOS
+ if: failure()
+ uses: slackapi/slack-github-action@v1.24.0
+ with:
+ payload: |
+ {
+ "text": "*VyOS nightly build has failed*",
+ "attachments": [
+ {
+ "color": "FF0000",
+ "fields": [
+ {
+ "title": "Repository",
+ "short": true,
+ "value": "${{ github.repository }}"
+ },
+ {
+ "title": "Workflow",
+ "short": true,
+ "value": "${{ github.workflow }}"
+ },
+ {
+ "title": "Trigger",
+ "short": true,
+ "value": "${{ github.event_name }}"
+ },
+ {
+ "title": "Commit",
+ "short": true,
+ "value": "${{ github.sha }}"
+ },
+ {
+ "title": "Smoketests result",
+ "short": true,
+ "value": "${{ steps.smoketests.outcome }}"
+ },
+ {
+ "title": "URL",
+ "short": false,
+ "value": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
+ }
+ ]
+ }
+ ]
+ }
+ env:
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_FOR_MAINTEINERS }}
+ SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
+
update-downloads-page:
needs: build-iso
uses: vyos/community.vyos.net/.github/workflows/main.yml@production