-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add templates to add for own server customisations
- Loading branch information
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
### | ||
# SPDX-License-Identifier: AGPL-3.0 | ||
# | ||
# Author: Bernd rederlechner <[email protected]> | ||
# | ||
# Builds a stable release package based on a release assembly | ||
# customisation-<version>-<increment> | ||
# | ||
# As soon as a package is deployed to production, the tag and the branch | ||
# MUST STAY FOR 2 years and not deleted. | ||
# | ||
# Release packages, tags and customisation branches not delivered to production should | ||
# be deleted asap a newer release is available. | ||
# | ||
|
||
|
||
name: MCLOUD custom server release | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
increment: | ||
description: 'Release increment' | ||
required: true | ||
type: number | ||
|
||
jobs: | ||
assemble-custom: | ||
uses: nextmcloud/.github/.github/workflows/nmc-custom-assembly.yml@master | ||
with: | ||
trunk: 'master' | ||
stable: ${{ vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' }} | ||
result: ${{ format('customisation-{0}-{1}', vars.CUSTOM_BRANCH || 'nmcstable/25.0.6', inputs.increment ) }} | ||
secrets: inherit | ||
build-custom: | ||
uses: nextmcloud/.github/.github/workflows/nmc-custom-server-build.yml@master | ||
needs: assemble-custom | ||
with: | ||
stable: ${{ vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' }} | ||
assembly: ${{ format('customisation-{0}-{1}', vars.CUSTOM_BRANCH || 'nmcstable/25.0.6', inputs.increment ) }} | ||
tag: ${{ format('{0}-{1}', vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' , inputs.increment) }} | ||
prerelease: false | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
### | ||
# SPDX-License-Identifier: AGPL-3.0 | ||
# | ||
# Author: Bernd rederlechner <[email protected] | ||
# | ||
# Assemble a customisation for recent trunk or a stable branch | ||
# If trunk, no backports are considered. For stable, only the | ||
# backports targetted for this baseline are considered. | ||
# | ||
# Assembly fails if a PR does not merge automatically. | ||
# | ||
|
||
name: MCLOUD custom versions | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-custom: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
custombase: [ "master", "nmcstable/25.0.6" ] | ||
uses: nextmcloud/.github/.github/workflows/nmc-custom-assembly.yml@master | ||
with: | ||
trunk: "master" | ||
stable: ${{ matrix.custombase }} | ||
result: ${{ format('customisation-{0}-{1}', github.actor, matrix.custombase) }} | ||
secrets: inherit |