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
15 changes: 15 additions & 0 deletions .github/workflows/post-release-nightly-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Post-release nightly build & release

on:
release:
types: [released]

jobs:
BUILD-TEST-NIGHTLY:
name: Post-release nightly build & release
uses: ./.github/workflows/trigger-all.yml
with:
wf_category: NIGHTLY
push_to_pypi: true
gitref: main
secrets: inherit
16 changes: 15 additions & 1 deletion .github/workflows/trigger-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ on:
# * is a special character in YAML so you have to quote this string
- cron: '30 0 * * *' # nightly run

workflow_call:
inputs:
wf_category:
description: "workflow category, must be 'NIGHTLY' or 'RELEASE' (default: NIGHTLY)"
type: string
default: NIGHTLY
push_to_pypi:
description: "when set and tests pass, then '.whl' & '.tar.gz' will be pushed to public pypi"
type: boolean
default: false
gitref:
description: "git commit hash or tag name"
type: string
default: 'main'

workflow_dispatch:
inputs:
wf_category:
Expand Down Expand Up @@ -36,5 +51,4 @@ jobs:
{"python":"3.10.12","label":"k8s-util","timeout":"40"},
{"python":"3.9.17","label":"k8s-h100-solo","timeout":"40"},
{"python":"3.12.6","label":"k8s-a100-duo","timeout":"40"}]'

secrets: inherit