mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #2929 from DarkLordZach/azure-patreon-merge-extra
ci: Merge patreon tagged PRs from public repository during merge step.
This commit is contained in:
		
						commit
						80d6abc08b
					
				@ -5,7 +5,7 @@ import requests, sys, json, urllib3.request, shutil, subprocess, os, traceback
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
org = os.getenv("PrivateMergeOrg".upper(), "yuzu-emu")
 | 
					org = os.getenv("PrivateMergeOrg".upper(), "yuzu-emu")
 | 
				
			||||||
repo = os.getenv("PrivateMergeRepo".upper(), "yuzu-private")
 | 
					repo = os.getenv("PrivateMergeRepo".upper(), "yuzu-private")
 | 
				
			||||||
tagline = os.getenv("MergeTaglinePrivate".upper(), "")
 | 
					tagline = sys.argv[3]
 | 
				
			||||||
user = sys.argv[1]
 | 
					user = sys.argv[1]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
http = urllib3.PoolManager()
 | 
					http = urllib3.PoolManager()
 | 
				
			||||||
 | 
				
			|||||||
@ -3,7 +3,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
import requests, sys, json, urllib3.request, shutil, subprocess, os
 | 
					import requests, sys, json, urllib3.request, shutil, subprocess, os
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tagline = os.getenv("MergeTaglinePublic".upper(), "")
 | 
					tagline = sys.argv[2]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
http = urllib3.PoolManager()
 | 
					http = urllib3.PoolManager()
 | 
				
			||||||
dl_list = {}
 | 
					dl_list = {}
 | 
				
			||||||
 | 
				
			|||||||
@ -8,16 +8,23 @@ steps:
 | 
				
			|||||||
  - script: chmod a+x $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh && $(System.DefaultWorkingDirectory)/.ci/scripts/merge/yuzubot-git-config.sh
 | 
					  - 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'
 | 
					    displayName: 'Apply Git Configuration'
 | 
				
			||||||
  - task: PythonScript@0
 | 
					  - task: PythonScript@0
 | 
				
			||||||
    displayName: 'Discover, Download, and Apply Patches'
 | 
					    displayName: 'Discover, Download, and Apply Patches (Mainline)'
 | 
				
			||||||
    inputs:
 | 
					    inputs:
 | 
				
			||||||
      scriptSource: 'filePath'
 | 
					      scriptSource: 'filePath'
 | 
				
			||||||
      scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
 | 
					      scriptPath: '.ci/scripts/merge/apply-patches-by-label.py'
 | 
				
			||||||
      arguments: '${{ parameters.matchLabelPublic }} patches-public'
 | 
					      arguments: '${{ parameters.matchLabelPublic }} $(MergeTaglinePublic) patches-public'
 | 
				
			||||||
      workingDirectory: '$(System.DefaultWorkingDirectory)'
 | 
					      workingDirectory: '$(System.DefaultWorkingDirectory)'
 | 
				
			||||||
  - task: PythonScript@0
 | 
					  - task: PythonScript@0
 | 
				
			||||||
    displayName: 'Discover, Download, and Apply Patches'
 | 
					    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:
 | 
					    inputs:
 | 
				
			||||||
      scriptSource: 'filePath'
 | 
					      scriptSource: 'filePath'
 | 
				
			||||||
      scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
 | 
					      scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py'
 | 
				
			||||||
      arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} patches-private'
 | 
					      arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} "$(MergeTaglinePrivate) Private" patches-private'
 | 
				
			||||||
      workingDirectory: '$(System.DefaultWorkingDirectory)'
 | 
					      workingDirectory: '$(System.DefaultWorkingDirectory)'
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user