Skip to content

Commit

Permalink
🌱 Setup nightly workflows for repo and global CI
Browse files Browse the repository at this point in the history
Setup new `nightly-*.yaml` workflows that reuse the
base PR/on-merge workflows.  It's marginally easier
to keeps the scheduled runs in a separate workflow
from the push / pull_request workflows.

We want global nightlys to help keep any problems that
may come up in e2e UI tests to a minimum.

Fixes: konveyor#1986

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Jun 28, 2024
1 parent 656fdcf commit cc923a5
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ on:
push:
branches:
- "main"

pull_request:
branches:
- "main"

workflow_call:

###
# The global CI settings need to be adjusted for the `release-*`` branches such that:
# 1. The operator uses the correct `:release-*` images
Expand All @@ -18,6 +21,7 @@ on:
# branches:
# - 'main'
# - 'release-*'
#
# pull_request:
# branches:
# - 'main'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ on:
- "main"
- "release-*"

schedule:
- cron: "35 5 * * *" # every day @ 5:35am UTC

workflow_dispatch:

workflow_call:

jobs:
unit-test-lookup-image:
runs-on: ubuntu-latest
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/nightly-ci-global.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Nightly CI - main (global konveyor CI)

on:
schedule:
- cron: "35 5 * * *" # every day @ 5:35am UTC

workflow_dispatch:

jobs:
nightly:
uses: ./.github/workflows/ci-global.yml
11 changes: 11 additions & 0 deletions .github/workflows/nightly-ci-repo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Nightly CI - main (repo level)

on:
schedule:
- cron: "35 5 * * *" # every day @ 5:35am UTC

workflow_dispatch:

jobs:
nightly:
uses: ./.github/workflows/ci-repo.yml

0 comments on commit cc923a5

Please sign in to comment.