Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: ci: Actually post links to slack
Browse files Browse the repository at this point in the history
dsocolobsky committed Jan 17, 2025
1 parent e00c153 commit dbdd8ac
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/flamegraph_watcher.sh
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
# then polls the account balance until the expected balance has been reached
# and then kills the process. It also measures the elapsed time of the test and
# outputs it to Github Action's outputs.
iterations=500
iterations=1000
value=1
account=0x33c6b73432B3aeA0C1725E415CC40D04908B85fd
end_val=$((171 * $iterations * $value))
16 changes: 14 additions & 2 deletions .github/workflows/daily_reports.yaml
Original file line number Diff line number Diff line change
@@ -200,5 +200,17 @@ jobs:
steps:
- name: Post message to slack
env:
SLACK_WEBHOOK: ${{ secrets.TEST_CHANNEL_SLACK }}
run: sh .github/scripts/publish_link_flamegraphs.sh $SLACK_WEBHOOK
SLACK_WEBHOOKS: >
${{ github.event_name == 'workflow_dispatch'
&& secrets.TEST_CHANNEL_SLACK
|| format(
'{0} {1} {2}',
secrets.ETHREX_L1_SLACK_WEBHOOK,
secrets.ETHREX_L2_SLACK_WEBHOOK,
secrets.LEVM_SLACK_WEBHOOK
)
}}
run: |
for webhook in $SLACK_WEBHOOKS; do
sh .github/scripts/publish_link_flamegraphs.sh "$webhook"
done

0 comments on commit dbdd8ac

Please sign in to comment.