summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.ci/scripts/merge/apply-patches-by-label-private.py2
-rw-r--r--.ci/scripts/merge/apply-patches-by-label.py2
-rw-r--r--.ci/templates/mergebot-private.yml15
3 files changed, 13 insertions, 6 deletions
diff --git a/.ci/scripts/merge/apply-patches-by-label-private.py b/.ci/scripts/merge/apply-patches-by-label-private.py
index 11ec60010..6e3cb995e 100644
--- a/.ci/scripts/merge/apply-patches-by-label-private.py
+++ b/.ci/scripts/merge/apply-patches-by-label-private.py
@@ -5,7 +5,7 @@ import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback
5 5
6org = os.getenv("PrivateMergeOrg".upper(), "yuzu-emu") 6org = os.getenv("PrivateMergeOrg".upper(), "yuzu-emu")
7repo = os.getenv("PrivateMergeRepo".upper(), "yuzu-private") 7repo = os.getenv("PrivateMergeRepo".upper(), "yuzu-private")
8tagline = os.getenv("MergeTaglinePrivate".upper(), "") 8tagline = sys.argv[3]
9user = sys.argv[1] 9user = sys.argv[1]
10 10
11http = urllib3.PoolManager() 11http = urllib3.PoolManager()
diff --git a/.ci/scripts/merge/apply-patches-by-label.py b/.ci/scripts/merge/apply-patches-by-label.py
index 7f1ea06cf..e81db9287 100644
--- a/.ci/scripts/merge/apply-patches-by-label.py
+++ b/.ci/scripts/merge/apply-patches-by-label.py
@@ -3,7 +3,7 @@
3 3
4import requests, sys, json, urllib3.request, shutil, subprocess, os 4import requests, sys, json, urllib3.request, shutil, subprocess, os
5 5
6tagline = os.getenv("MergeTaglinePublic".upper(), "") 6tagline = sys.argv[2]
7 7
8http = urllib3.PoolManager() 8http = urllib3.PoolManager()
9dl_list = {} 9dl_list = {}
diff --git a/.ci/templates/mergebot-private.yml b/.ci/templates/mergebot-private.yml
index a673c5b01..0ba6d5434 100644
--- a/.ci/templates/mergebot-private.yml
+++ b/.ci/templates/mergebot-private.yml
@@ -8,16 +8,23 @@ steps:
8 - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh 8 - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
9 displayName: 'Apply Git Configuration' 9 displayName: 'Apply Git Configuration'
10 - task: PythonScript@0 10 - task: PythonScript@0
11 displayName: 'Discover, Download, and Apply Patches' 11 displayName: 'Discover, Download, and Apply Patches (Mainline)'
12 inputs: 12 inputs:
13 scriptSource: 'filePath' 13 scriptSource: 'filePath'
14 scriptPath: '.ci/scripts/merge/apply-patches-by-label.py' 14 scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
15 arguments: '${{ parameters.matchLabelPublic }} patches-public' 15 arguments: '${{ parameters.matchLabelPublic }} $(MergeTaglinePublic) patches-public'
16 workingDirectory: '$(System.DefaultWorkingDirectory)' 16 workingDirectory: '$(System.DefaultWorkingDirectory)'
17 - task: PythonScript@0 17 - task: PythonScript@0
18 displayName: 'Discover, Download, and Apply Patches' 18 displayName: 'Discover, Download, and Apply Patches (Patreon Public)'
19 inputs:
20 scriptSource: 'filePath'
21 scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
22 arguments: '${{ parameters.matchLabel }} $(MergeTaglinePrivate)\ Public patches-mixed-public'
23 workingDirectory: '$(System.DefaultWorkingDirectory)'
24 - task: PythonScript@0
25 displayName: 'Discover, Download, and Apply Patches (Patreon Private)'
19 inputs: 26 inputs:
20 scriptSource: 'filePath' 27 scriptSource: 'filePath'
21 scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py' 28 scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
22 arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} patches-private' 29 arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} $(MergeTaglinePrivate)\ Private patches-private'
23 workingDirectory: '$(System.DefaultWorkingDirectory)' 30 workingDirectory: '$(System.DefaultWorkingDirectory)'