CI: move nightlies reporting to Matrix

This commit is contained in:
Adriaan de Groot 2021-05-25 16:27:12 +02:00
parent e15db9a68c
commit 74c8f34b79
3 changed files with 18 additions and 24 deletions

View File

@ -83,18 +83,16 @@ jobs:
working-directory: ${{ env.BUILDDIR }} working-directory: ${{ env.BUILDDIR }}
run: make install VERBOSE=1 run: make install VERBOSE=1
- name: "notify: ok" - name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -82,18 +82,16 @@ jobs:
if-no-files-found: error if-no-files-found: error
retention-days: 3 retention-days: 3
- name: "notify: ok" - name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"

View File

@ -81,18 +81,16 @@ jobs:
working-directory: ${{ env.BUILDDIR }} working-directory: ${{ env.BUILDDIR }}
run: make install VERBOSE=1 run: make install VERBOSE=1
- name: "notify: ok" - name: "notify: ok"
uses: rectalogic/notify-irc@v1
if: ${{ success() && github.repository == 'calamares/calamares' }} if: ${{ success() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "OK ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"
- name: "notify: fail" - name: "notify: fail"
uses: rectalogic/notify-irc@v1
if: ${{ failure() && github.repository == 'calamares/calamares' }} if: ${{ failure() && github.repository == 'calamares/calamares' }}
uses: ./.github/actions/notify-push
with: with:
server: chat.freenode.net token: ${{ secrets.MATRIX_TOKEN }}
nickname: cala-ci room: ${{ secrets.MATRIX_ROOM }}
channel: "#calamares"
message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}" message: "FAIL ${{ github.workflow }} in ${{ github.repository }} ${{ steps.pre_build.outputs.message }}"