CI: run release-build on a schedule; also send source-event input to GE (#108726)

* run release-build on a schedule; also send source-event input to GE

* remove cron pipelines from drone
This commit is contained in:
Kevin Minehart
2025-07-25 21:52:09 -05:00
committed by GitHub
parent 01f863c47f
commit 8fcfcc31da
3 changed files with 8 additions and 366 deletions
+7 -2
View File
@@ -1,6 +1,10 @@
name: Build Release Packages
on:
workflow_dispatch:
schedule:
# Every weeknight at midnight
# "Scheduled workflows will only run on the default branch." (docs.github.com)
- cron: "0 0 * * 1-5"
push:
branches:
- release-*.*.*
@@ -96,8 +100,8 @@ jobs:
with:
github-token: ${{ steps.generate_token.outputs.token }}
script: |
const {REF, VERSION, BUILD_ID, BUCKET, GRAFANA_COMMIT} = process.env;
const {REF, VERSION, BUILD_ID, BUCKET, GRAFANA_COMMIT, GITHUB_EVENT_NAME} = process.env;
await github.rest.actions.createWorkflowDispatch({
owner: 'grafana',
repo: 'grafana-enterprise',
@@ -108,6 +112,7 @@ jobs:
"build-id": String(BUILD_ID),
"bucket": BUCKET,
"grafana-commit": GRAFANA_COMMIT,
"source-event": GITHUB_EVENT_NAME,
}
})