File tree Expand file tree Collapse file tree 2 files changed +111
-0
lines changed Expand file tree Collapse file tree 2 files changed +111
-0
lines changed Original file line number Diff line number Diff line change 1+ # ##
2+ # SPDX-License-Identifier: AGPL-3.0
3+ #
4+ # Author: Bernd rederlechner <bernd.rederlechner@t-systems.com>
5+ #
6+ # Builds a stable release package based on a release assembly
7+ # customisation-<version>-<increment>
8+ #
9+ # As soon as a package is deployed to production, the tag and the branch
10+ # MUST STAY FOR 2 years and not deleted.
11+ #
12+ # Release packages, tags and customisation branches not delivered to production should
13+ # be deleted asap a newer release is available.
14+ #
15+
16+ name : MCLOUD custom app release
17+
18+ on :
19+ workflow_dispatch :
20+ inputs :
21+ increment :
22+ description : ' Release increment'
23+ required : true
24+ type : number
25+
26+ jobs :
27+ check-custom :
28+ uses : nextmcloud/.github/.github/workflows/nmc-custom-app-precond.yml@master
29+ with :
30+ versionbranch : ${{ vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' }}
31+ increment : ${{ inputs.increment }}
32+ secrets : inherit
33+ assemble-custom :
34+ uses : nextmcloud/.github/.github/workflows/nmc-custom-assembly.yml@master
35+ with :
36+ trunk : ' main'
37+ stable : ${{ vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' }}
38+ result : ${{ format('customisation-{0}-{1}', vars.CUSTOM_BRANCH || jobs.check-custom.appversion , inputs.increment ) }}
39+ secrets : inherit
40+ build-custom :
41+ uses : nextmcloud/.github/.github/workflows/nmc-custom-app-build.yml@master
42+ needs : assemble-custom
43+ with :
44+ appname : ${{ jobs.check-custom.appname }}
45+ stable : ${{ vars.CUSTOM_BRANCH || 'nmcstable/25.0.6' }}
46+ assembly : ${{ format('customisation-{0}-{1}', vars.CUSTOM_BRANCH || jobs.check-custom.appversion , inputs.increment ) }}
47+ tag : ${{ jobs.check-custom.tag }}
48+ prerelease : true
49+ secrets : inherit
50+
Original file line number Diff line number Diff line change 1+ # ##
2+ # SPDX-License-Identifier: AGPL-3.0
3+ #
4+ # Author: Bernd rederlechner <bernd.rederlechner@t-systems.com>
5+ #
6+ # Assemble a customisation for trunk (no backports) and stable
7+ # (backport xor trunk)
8+ #
9+ # It creates review (user-specific) customisations branches
10+ # - customisation-<user>-<trunk>
11+ # - customisation-<user>-<stable>
12+
13+ name : MCLOUD custom app versions
14+
15+ # ##
16+ # The customisation-* branches are always reassembled if a customisation branch
17+ # is updated or included into a custom PR
18+ on :
19+ workflow_dispatch :
20+ pull_request :
21+ types :
22+ - opened
23+ - reopened
24+ - synchronize
25+ branches :
26+ - master
27+ - main
28+ - trunk
29+ - nmcstable/**
30+ # - stable/**
31+
32+ jobs :
33+
34+ assemble :
35+ strategy :
36+ fail-fast : false
37+ matrix :
38+ custombase : [ "main", "nmcstable/25.0.6" ]
39+ uses : nextmcloud/.github/.github/workflows/nmc-custom-assembly.yml@master
40+ with :
41+ trunk : " main"
42+ stable : ${{ matrix.custombase }}
43+ result : ${{ format('customisation-{0}-{1}', github.actor, matrix.custombase) }}
44+ secrets : inherit
45+
46+ phpunit :
47+ strategy :
48+ fail-fast : false
49+ matrix :
50+ phpversion : ['8.0', '8.1']
51+ database : ['mysql']
52+ custombase : [ "main", "nmcstable/25.0.6" ]
53+ uses : nextmcloud/.github/.github/workflows/nmc-custom-app-phpunit.yml@master
54+ needs : assemble
55+ with :
56+ assembly : ${{ format('customisation-{0}-{1}', github.actor, matrix.custombase) }}
57+ appname : ' user_oidc'
58+ server-branch : ${{ matrix.custombase }}
59+ phpversion : ${{ matrix.phpversion }}
60+ database : ${{ matrix.database }}
61+ secrets : inherit
You can’t perform that action at this time.
0 commit comments