Skip to content

Commit

Permalink
Add nightly integration update
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Oct 11, 2023
1 parent 3e9aaa4 commit fc2540b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-composition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ on:
options:
- integration
- production
# schedule:
# - cron: '24 2 * * *'
workflow_call:
inputs:
stage:
type: string
description: "Stage of release to be prepared"
default: integration
required: true

jobs:
settings:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/nightly-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: 'Update Integration'

on:
workflow_dispatch:
schedule:
- cron: '24 2 * * 1-5'

jobs:
prepare:
uses: ./.github/workflows/prepare-release.yml
with:
stage: integration
secrets: inherit

build:
uses: ./.github/workflows/build-composition.yml
with:
stage: integration
needs:
- prepare
secrets: inherit
7 changes: 7 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ on:
options:
- integration
- production
workflow_call:
inputs:
stage:
type: string
description: "Stage of release to be prepared"
default: integration
required: true

jobs:
prepare_release:
Expand Down

0 comments on commit fc2540b

Please sign in to comment.