Skip to content

🧪 crane validate offline mode : Automate test for malformed… #132

🧪 crane validate offline mode : Automate test for malformed…

🧪 crane validate offline mode : Automate test for malformed… #132

name: Test Tier0
on:
push:
branches:
- main
schedule:
- cron: "0 2 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
run-e2e:
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run crane tier0 e2e tests
uses: ./.github/actions/run-crane-e2e-tier
with:
cpus: max
memory: "8192"
label_filter: tier0
create_users: "true"
src_user: "dev"
tgt_user: "dev"
- name: Notify Slack on E2E failure (nightly)
if: failure() && github.event_name == 'schedule'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: ./.github/actions/slack-incoming-webhook
with:
text: |
:warning: Crane E2E · TIER-0 Nightly Tests Failed (scheduled run)
Failed Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Notify Slack on E2E failure (push to main)
if: failure() && github.event_name == 'push'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
uses: ./.github/actions/slack-incoming-webhook
with:
text: |
:warning: Crane E2E · TIER-0 Tests Failed (push to main)
Commit: ${{ github.sha }}
Failed Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}