aboutsummaryrefslogtreecommitdiff
path: root/.ci/templates/mergebot-private.yml
blob: 1560f9a9caa04a49b4b7e9401bf7791ca5b32bf2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later

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
    displayName: 'Discover, Download, and Apply Patches (Mainline)'
    inputs:
      scriptSource: 'filePath'
      scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
      arguments: '${{ parameters.matchLabelPublic }} $(MergeTaglinePublic) patches-public'
      workingDirectory: '$(System.DefaultWorkingDirectory)'
  - task: PythonScript@0
    displayName: 'Discover, Download, and Apply Patches (Patreon Public)'
    inputs:
      scriptSource: 'filePath'
      scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
      arguments: '${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Public" patches-mixed-public'
      workingDirectory: '$(System.DefaultWorkingDirectory)'
  - task: PythonScript@0
    displayName: 'Discover, Download, and Apply Patches (Patreon Private)'
    inputs:
      scriptSource: 'filePath'
      scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
      arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Private" patches-private'
      workingDirectory: '$(System.DefaultWorkingDirectory)'