Skip to content

Commit

Permalink
Merging aef17c3 into trunk-temp/pr-232/b8cebd72-263c-454a-bdd8-7c5eba…
Browse files Browse the repository at this point in the history
…9f847d
  • Loading branch information
trunk-io[bot] authored Dec 13, 2024
2 parents ec8553b + aef17c3 commit c0945be
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ permissions:
actions: read
on:
workflow_dispatch: {}
schedule:
- cron: 0 0/2 * * *
env:
RELEASE: 0.6.7
jobs:
Expand Down Expand Up @@ -42,3 +44,31 @@ jobs:
--junit-paths ${{ github.workspace }}/target/**/*junit.xml \
--token ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }} \
cargo nextest run -p smoke-test --profile ci
slack-workflow-status:
if: always() && needs.build_cli.result != 'success'
name: Post Smoke Test Failure
needs:
- build_cli
runs-on: ubuntu-latest
permissions:
actions: read
env:
SLACK_BOT_TOKEN: ${{ secrets.TRUNKBOT_SLACK_BOT_TOKEN }}
steps:
- name: Analytics Cli Smoke Test Failure
uses: slackapi/slack-github-action@v1
with:
channel-id: production-notifications
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Release ${{ env.RELEASE }} of the analytics cli is broken! The job attempting a simple upload had a result of ${{ needs.build_cli.result }}. Runs can be found at https://github.com/trunk-io/analytics-cli/actions/workflows/smoke_test.yml"
}
}
]
}

0 comments on commit c0945be

Please sign in to comment.