Skip to content

E2E Tests (Nightly) #19

E2E Tests (Nightly)

E2E Tests (Nightly) #19

Workflow file for this run

name: E2E Tests (Nightly)
permissions:
contents: read
on:
schedule:
- cron: "0 2 * * *" # 2 AM UTC daily
workflow_dispatch:
concurrency:
group: e2e-tests
cancel-in-progress: false
jobs:
e2e-lifecycle:
name: Nightly Lifecycle Tests
runs-on: ubuntu-latest
environment: e2e
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup e2e environment
uses: ./.github/actions/e2e-setup
- name: Run lifecycle e2e tests
env:
CLOUDSCALE_API_TOKEN: ${{ secrets.CLOUDSCALE_API_TOKEN }}
TAG: e2e-nightly-${{ github.sha }}
run: make test-e2e-lifecycle
- name: Redact secrets from artifacts
if: always()
env:
CLOUDSCALE_API_TOKEN: ${{ secrets.CLOUDSCALE_API_TOKEN }}
run: hack/log/redact.sh || true
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: e2e-artifacts-nightly-${{ github.run_id }}
path: _artifacts/
retention-days: 7