summaryrefslogtreecommitdiffstats
path: root/.ci/templates/mergebot-private.yml
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2019-09-27 00:30:33 +0200
committerGitHub <noreply@github.com>2019-09-27 00:30:33 +0200
commitc4a99944f2faf4092842cf9a5b84f44c128f5809 (patch)
tree7b2b2b2b1dcb3c22833bf527a0505c0e9b093526 /.ci/templates/mergebot-private.yml
parentMerge pull request #2864 from ReinUsesLisp/fix-clang-decompiler (diff)
parentci: Add two step patreon build pipeline (diff)
downloadyuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar.gz
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar.bz2
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar.lz
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar.xz
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.tar.zst
yuzu-c4a99944f2faf4092842cf9a5b84f44c128f5809.zip
Diffstat (limited to '.ci/templates/mergebot-private.yml')
-rw-r--r--.ci/templates/mergebot-private.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.ci/templates/mergebot-private.yml b/.ci/templates/mergebot-private.yml
new file mode 100644
index 000000000..a673c5b01
--- /dev/null
+++ b/.ci/templates/mergebot-private.yml
@@ -0,0 +1,23 @@
+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'
+ inputs:
+ scriptSource: 'filePath'
+ scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
+ arguments: '${{ parameters.matchLabelPublic }} patches-public'
+ workingDirectory: '$(System.DefaultWorkingDirectory)'
+ - task: PythonScript@0
+ displayName: 'Discover, Download, and Apply Patches'
+ inputs:
+ scriptSource: 'filePath'
+ scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
+ arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} patches-private'
+ workingDirectory: '$(System.DefaultWorkingDirectory)'