Skip to content

Commit

Permalink
test canary upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwin Kumar committed Nov 16, 2023
1 parent c69c562 commit 33c649a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/callable-canary-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ jobs:
sample-app-tests:
secrets: inherit
uses: ./.github/workflows/callable-canary-sampleapp-tests.yml
slack-alert:
needs:
- e2e
- sample-app-tests
runs-on: ubuntu-latest
if: failure()
steps:
- name: Send slack message
env:
WORKFLOW_URL: '{ "URL": "${{ env.WORKFLOW_URL }}" }'
WEBHOOK_URL: ${{ env.WEBHOOK_URL }}
run: |
curl -X POST -H "Content-Type: application/json" \
--data "$WORKFLOW_URL" \
$WEBHOOK_URL
# slack-alert:
# needs:
# - e2e
# - sample-app-tests
# runs-on: ubuntu-latest
# if: failure()
# steps:
# - name: Send slack message
# env:
# WORKFLOW_URL: '{ "URL": "${{ env.WORKFLOW_URL }}" }'
# WEBHOOK_URL: ${{ env.WEBHOOK_URL }}
# run: |
# curl -X POST -H "Content-Type: application/json" \
# --data "$WORKFLOW_URL" \
# $WEBHOOK_URL
12 changes: 8 additions & 4 deletions .github/workflows/on-schedule-canary-test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
concurrency:
# group name unique for push to push-integ-test
group: ashwin-ci-test-${{ github.ref }}
cancel-in-progress: true

on:
# Tests scheduled at 4pm(UTC) / 9am(PDT) everyday
# default supported timezone is UTC
schedule:
- cron: '0 16 * * *'
push:
branches:
- ashwin-ci-test

jobs:
canaries:
Expand Down

0 comments on commit 33c649a

Please sign in to comment.