summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-11 12:47:03 +0300
committerAndrii Andrieiev <a.andrieiev@sentrium.io>2023-09-11 12:47:09 +0300
commit3599341a8d6bddfecb50d76eaac898408301462d (patch)
treeb6d06b75fa0245d72c5d14615007acc8553ef8f6
parent158b1bac1d84b0c23b8259ca9dfbecfefa9e0ef9 (diff)
downloadvyos-rolling-nightly-builds-3599341a8d6bddfecb50d76eaac898408301462d.tar.gz
vyos-rolling-nightly-builds-3599341a8d6bddfecb50d76eaac898408301462d.zip
slack notifications fix
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index 55fad1f..e8e331b 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -37,6 +37,7 @@ jobs:
docker run --rm --privileged -v ./vyos-build/:/vyos -w /vyos vyos/vyos-build:current sudo --preserve-env ./build-vyos-image --architecture amd64 --build-by "autobuild@vyos.net" --vyos-mirror https://rolling-packages.vyos.net/current/ --debian-mirror http://deb.debian.org/debian/ --build-type release --custom-package vyos-1x-smoketest --version "${VYOS_VERSION}" iso
- name: Run smoketests
+ id: smoketests
uses: cross-the-world/ssh-scp-ssh-pipelines@latest
env:
VYOS_VERSION: ${{ env.VYOS_VERSION }}
@@ -139,7 +140,7 @@ jobs:
with:
payload: |
{
- "text": "Repository: ${GITHUB_REPOSITORY}\nWorkflow: ${GITHUB_WORKFLOW}\nTrigger: ${GITHUB_EVENT_NAME}\Commit: ${GITHUB_SHA}\nResult: ${{ job.status }}\nURL: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"
+ "text": "Repository: *${{ github.repository }}*\nWorkflow: ${{ github.workflow }}\nTrigger: ${{ github.event_name }}\nCommit: ${{ github.sha }}\nWorkflow result: ${{ job.status }}\nSmoketests result: ${{ steps.smoketests.conclusion }}\nURL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}