Commit b5e56690 authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

ci: Tag fp-squad when op-e2e-cannon-tests fails (#9549)

* ci: Tag fp-squad when op-e2e-cannon-tests fails

* ci: Also tag proofs squad on fpp-verify failures.
parent f5054fe1
...@@ -81,12 +81,16 @@ commands: ...@@ -81,12 +81,16 @@ commands:
channel: channel:
type: string type: string
default: C03N11M0BBN default: C03N11M0BBN
mentions:
type: string
default: ""
steps: steps:
- slack/notify: - slack/notify:
channel: << parameters.channel >> channel: << parameters.channel >>
event: fail event: fail
template: basic_fail_1 template: basic_fail_1
branch_pattern: develop branch_pattern: develop
mentions: "<< parameters.mentions >>"
jobs: jobs:
cannon-go-lint-and-test: cannon-go-lint-and-test:
...@@ -837,6 +841,10 @@ jobs: ...@@ -837,6 +841,10 @@ jobs:
description: Whether to notify on failure description: Whether to notify on failure
type: boolean type: boolean
default: false default: false
mentions:
description: Slack user or group to mention when notifying of failures
type: string
default: ""
environment: environment:
DEVNET_FPAC: 'false' DEVNET_FPAC: 'false'
OP_E2E_USE_FPAC: 'false' OP_E2E_USE_FPAC: 'false'
...@@ -907,7 +915,8 @@ jobs: ...@@ -907,7 +915,8 @@ jobs:
- when: - when:
condition: "<<parameters.notify>>" condition: "<<parameters.notify>>"
steps: steps:
- notify-failures-on-develop - notify-failures-on-develop:
mentions: "<<parameters.mentions>>"
go-lint-test-build: go-lint-test-build:
parameters: parameters:
...@@ -1363,7 +1372,8 @@ jobs: ...@@ -1363,7 +1372,8 @@ jobs:
command: | command: |
make verify-sepolia make verify-sepolia
working_directory: op-program working_directory: op-program
- notify-failures-on-develop - notify-failures-on-develop:
mentions: "@proofs-squad"
op-program-compat: op-program-compat:
docker: docker:
...@@ -2016,6 +2026,7 @@ workflows: ...@@ -2016,6 +2026,7 @@ workflows:
target: test-cannon target: test-cannon
parallelism: 4 parallelism: 4
notify: true notify: true
mentions: "@proofs-squad"
requires: requires:
- pnpm-monorepo - pnpm-monorepo
- cannon-prestate - cannon-prestate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment