Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: Scheduled run
name: Nightly tests

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC
# Triggered on schedule by .github/workflows/scheduled_ci_*.yaml on default branch
workflow_dispatch:

jobs:
build:
Expand All @@ -22,6 +22,9 @@ jobs:
uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v48.1.2
with:
path-to-charm-directory: ${{ matrix.path }}
permissions:
actions: read
contents: read

integration-test:
name: Integration tests
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/schedule_8_0_edge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: Scheduled run (8.0/edge)

on:
# GitHub will only trigger workflows `on: schedule` for workflow files in the default GitHub branch
schedule:
- cron: '53 23 * * *' # Daily at 23:53 UTC

jobs:
trigger:
name: Trigger workflow on branch
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Trigger workflow
run: gh workflow --repo '${{ github.repository }}' run nightly.yaml --ref 8.0/edge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
actions: write # Needed to trigger workflow
21 changes: 21 additions & 0 deletions .github/workflows/schedule_8_4_edge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: Scheduled run (8.4/edge)

on:
# GitHub will only trigger workflows `on: schedule` for workflow files in the default GitHub branch
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC

jobs:
trigger:
name: Trigger workflow on branch
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Trigger workflow
run: gh workflow --repo '${{ github.repository }}' run nightly.yaml --ref 8.4/edge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
actions: write # Needed to trigger workflow
Loading