Skip to content

Commit

Permalink
Switch to new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Aug 26, 2024
1 parent fdef896 commit e1292e8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 157 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/build-composition.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/nightly-integration.yml

This file was deleted.

75 changes: 0 additions & 75 deletions .github/workflows/prepare-release.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/update-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Update Integration'

on:
workflow_dispatch:
inputs:
branch:
type: string
description: "Branch to be released"
required: false
default: "master"
schedule:
- cron: '30 2 * * 1-5'

jobs:
release:
uses: hitobito/hitobito/.github/workflows/release.yml@master
with:
composition: ${{ github.repository }}
release_type: 'regular'
stage: 'integration'
target_branch: ${{ inputs.branch || 'master' }}
secrets: inherit
23 changes: 11 additions & 12 deletions .github/workflows/update-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@ on:
type: string
description: "next version number, if Release is custom"
required: false
branch:
type: string
description: "Branch to be released"
required: false
default: "master"

jobs:
prepare:
uses: ./.github/workflows/prepare-release.yml
with:
stage: production
release: ${{ inputs.release }}
version: ${{ inputs.version }}
secrets: inherit

build:
uses: ./.github/workflows/build-composition.yml
release:
uses: hitobito/hitobito/.github/workflows/release.yml@master
with:
composition: ${{ github.repository }}
release_type: ${{ inputs.release }}
next_version: ${{ inputs.version }}
stage: production
needs:
- prepare
target_branch: ${{ inputs.branch }}
secrets: inherit

0 comments on commit e1292e8

Please sign in to comment.