From d4d023bb611db6254a54e5db9b88c5733ec4741e Mon Sep 17 00:00:00 2001 From: Karl Rister Date: Sun, 23 Jun 2024 10:31:47 -0500 Subject: [PATCH] add a workflow that will run on a schedule (or adhoc) to forceably rebuild all engine images --- .github/workflows/crucible-ci.yaml | 1 + .github/workflows/crucible-scheduled.yaml | 17 +++++++++++++++++ .github/workflows/faux-crucible-ci.yaml | 1 + 3 files changed, 19 insertions(+) create mode 100644 .github/workflows/crucible-scheduled.yaml diff --git a/.github/workflows/crucible-ci.yaml b/.github/workflows/crucible-ci.yaml index cee9819..2b9d39c 100644 --- a/.github/workflows/crucible-ci.yaml +++ b/.github/workflows/crucible-ci.yaml @@ -6,6 +6,7 @@ on: paths-ignore: - LICENSE - '**.md' + - .github/workflows/crucible-scheduled.yaml - .github/workflows/faux-crucible-ci.yaml - .github/workflows/faux-ci.yaml - 'docs/**' diff --git a/.github/workflows/crucible-scheduled.yaml b/.github/workflows/crucible-scheduled.yaml new file mode 100644 index 0000000..7a35c06 --- /dev/null +++ b/.github/workflows/crucible-scheduled.yaml @@ -0,0 +1,17 @@ +name: crucible-scheduled + +on: + schedule: + - cron: "0 0 1 * *" + workflow_dispatch: + +jobs: + call-core-crucible-ci_scheduled: + uses: perftool-incubator/crucible-ci/.github/workflows/core-crucible-ci.yaml@main + with: + ci_target: "crucible" + ci_target_branch: "master" + github_workspace: "$GITHUB_WORKSPACE" + force_engine_build: true + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }} diff --git a/.github/workflows/faux-crucible-ci.yaml b/.github/workflows/faux-crucible-ci.yaml index 0d48b72..78422e3 100644 --- a/.github/workflows/faux-crucible-ci.yaml +++ b/.github/workflows/faux-crucible-ci.yaml @@ -6,6 +6,7 @@ on: paths: - LICENSE - '**.md' + - .github/workflows/crucible-scheduled.yaml - .github/workflows/faux-crucible-ci.yaml - .github/workflows/faux-ci.yaml - 'docs/**'