chore: disable mattermost notification as it doesn't work (#1752)
Change-Id: I9c8742a02305e24daff786ef84e86989e99aecca Signed-off-by: Nick Boldt <nboldt@redhat.com>pull/1754/head
parent
95b4c64319
commit
6394fccea2
|
|
@ -60,17 +60,17 @@ jobs:
|
||||||
export QUAY_USERNAME_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_USERNAME }}
|
export QUAY_USERNAME_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_USERNAME }}
|
||||||
export QUAY_PASSWORD_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_PASSWORD }}
|
export QUAY_PASSWORD_OS=${{ secrets.QUAY_ECLIPSE_CHE_OPERATOR_OPENSHIFT_PASSWORD }}
|
||||||
build/scripts/release/make-release.sh --prepare-community-operators-update ${{ github.event.inputs.forceflag }}
|
build/scripts/release/make-release.sh --prepare-community-operators-update ${{ github.event.inputs.forceflag }}
|
||||||
- name: Create failure MM message
|
# - name: Create failure MM message
|
||||||
if: ${{ failure() }}
|
# if: ${{ failure() }}
|
||||||
run: |
|
# run: |
|
||||||
echo "{\"text\":\":no_entry_sign: Che Community Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release-community-operator-PRs.yml\"}" > mattermost.json
|
# echo "{\"text\":\":no_entry_sign: Che Community Operator ${{ github.event.inputs.version }} release has failed: https://github.com/eclipse-che/che-operator/actions/workflows/release-community-operator-PRs.yml\"}" > mattermost.json
|
||||||
- name: Create success MM message
|
# - name: Create success MM message
|
||||||
run: |
|
# run: |
|
||||||
echo "{\"text\":\":white_check_mark: Che Community Operator ${{ github.event.inputs.version }} release PR has been created: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pulls?q=is%3Apr+is%3Aopen+eclipse-che\"}" > mattermost.json
|
# echo "{\"text\":\":white_check_mark: Che Community Operator ${{ github.event.inputs.version }} release PR has been created: https://github.com/redhat-openshift-ecosystem/community-operators-prod/pulls?q=is%3Apr+is%3Aopen+eclipse-che\"}" > mattermost.json
|
||||||
- name: Send MM message
|
# - name: Send MM message
|
||||||
if: ${{ success() }} || ${{ failure() }}
|
# if: ${{ success() }} || ${{ failure() }}
|
||||||
uses: mattermost/action-mattermost-notify@1.1.0
|
# uses: mattermost/action-mattermost-notify@1.1.0
|
||||||
env:
|
# env:
|
||||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
# MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
||||||
MATTERMOST_CHANNEL: eclipse-che-releases
|
# MATTERMOST_CHANNEL: eclipse-che-releases
|
||||||
MATTERMOST_USERNAME: che-bot
|
# MATTERMOST_USERNAME: che-bot
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue