Skip to content

Commit

Permalink
disable prover slack notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnovais committed Sep 12, 2024
1 parent 81affa3 commit 4e2c2c3
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 51 deletions.
100 changes: 50 additions & 50 deletions .github/workflows/prover-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Prover testing CI

on:
workflow_call:
secrets:
SLACK_WEBHOOK_CI_PROVER_FAIL:
required: true
SLACK_WEBHOOK_CI_PROVER_SUCCESS:
required: true
# secrets:
# SLACK_WEBHOOK_CI_PROVER_FAIL:
# required: false
# SLACK_WEBHOOK_CI_PROVER_SUCCESS:
# required: false

env:
GOPROXY: "https://proxy.golang.org"
Expand Down Expand Up @@ -90,49 +90,49 @@ jobs:
run: |
go test -p=1 -tags=nocorset,fuzzlight -timeout=30m -short -race ./...
slack-workflow-status-failed:
if: failure()
name: Prover notify slack
needs:
- staticcheck
- test
runs-on: ubuntu-latest
steps:
- name: Notify slack -- workflow failed
id: slack
uses: slackapi/[email protected]
with:
payload: |
{
"actor": "${{ github.actor }}",
"repo": "${{ github.repository }}",
"status": "FAIL",
"title": "${{ github.event.pull_request.title }}",
"pr": "${{ github.event.pull_request.head.ref }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_FAIL }}

slack-workflow-status-success:
if: success()
name: Prover notify slack
needs:
- staticcheck
- test
runs-on: ubuntu-latest
steps:
- name: Notify slack -- workflow succeeded
id: slack
uses: slackapi/[email protected]
with:
payload: |
{
"actor": "${{ github.actor }}",
"repo": "${{ github.repository }}",
"status": "SUCCESS",
"title": "${{ github.event.pull_request.title }}",
"pr": "${{ github.event.pull_request.head.ref }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_SUCCESS }}
# slack-workflow-status-failed:
# if: failure()
# name: Prover notify slack
# needs:
# - staticcheck
# - test
# runs-on: ubuntu-latest
# steps:
# - name: Notify slack -- workflow failed
# id: slack
# uses: slackapi/[email protected]
# with:
# payload: |
# {
# "actor": "${{ github.actor }}",
# "repo": "${{ github.repository }}",
# "status": "FAIL",
# "title": "${{ github.event.pull_request.title }}",
# "pr": "${{ github.event.pull_request.head.ref }}"
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_FAIL }}
#
# slack-workflow-status-success:
# if: success()
# name: Prover notify slack
# needs:
# - staticcheck
# - test
# runs-on: ubuntu-latest
# steps:
# - name: Notify slack -- workflow succeeded
# id: slack
# uses: slackapi/[email protected]
# with:
# payload: |
# {
# "actor": "${{ github.actor }}",
# "repo": "${{ github.repository }}",
# "status": "SUCCESS",
# "title": "${{ github.event.pull_request.title }}",
# "pr": "${{ github.event.pull_request.head.ref }}"
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_SUCCESS }}

2 changes: 1 addition & 1 deletion .github/workflows/reuse-run-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN_RELEASE_ACCESS }}
outputs:
tests_outcome: ${{ steps.run_e2e_tests.outcome }}
runs-on: ubuntu-22.04-16core
runs-on: ubuntu-22.04
steps:
- name: Setup upterm session
if: ${{ inputs.e2e-tests-with-ssh }}
Expand Down

0 comments on commit 4e2c2c3

Please sign in to comment.