2019-09-26 09:29:33 -04:00
|
|
|
parameters:
|
|
|
|
matchLabel: 'dummy-merge'
|
|
|
|
matchLabelPublic: 'dummy-merge'
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- script: mkdir $(System.DefaultWorkingDirectory)/patches && pip install requests urllib3
|
|
|
|
displayName: 'Prepare Environment'
|
|
|
|
- script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
|
|
|
|
displayName: 'Apply Git Configuration'
|
|
|
|
- task: PythonScript@0
|
2019-09-30 09:29:28 -04:00
|
|
|
displayName: 'Discover, Download, and Apply Patches (Mainline)'
|
2019-09-26 09:29:33 -04:00
|
|
|
inputs:
|
|
|
|
scriptSource: 'filePath'
|
|
|
|
scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
|
2019-09-30 09:29:28 -04:00
|
|
|
arguments: '${{ parameters.matchLabelPublic }} $(MergeTaglinePublic) patches-public'
|
2019-09-26 09:29:33 -04:00
|
|
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|
|
|
|
- task: PythonScript@0
|
2019-09-30 09:29:28 -04:00
|
|
|
displayName: 'Discover, Download, and Apply Patches (Patreon Public)'
|
|
|
|
inputs:
|
|
|
|
scriptSource: 'filePath'
|
|
|
|
scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
|
2019-09-30 13:43:34 -04:00
|
|
|
arguments: '${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Public" patches-mixed-public'
|
2019-09-30 09:29:28 -04:00
|
|
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|
|
|
|
- task: PythonScript@0
|
|
|
|
displayName: 'Discover, Download, and Apply Patches (Patreon Private)'
|
2019-09-26 09:29:33 -04:00
|
|
|
inputs:
|
|
|
|
scriptSource: 'filePath'
|
|
|
|
scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
|
2019-09-30 13:43:34 -04:00
|
|
|
arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Private" patches-private'
|
2019-09-26 09:29:33 -04:00
|
|
|
workingDirectory: '$(System.DefaultWorkingDirectory)'
|