diff options
Diffstat (limited to '.ci/templates/mergebot-private.yml')
| -rw-r--r-- | .ci/templates/mergebot-private.yml | 23 |
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 @@ | |||
| 1 | parameters: | ||
| 2 | matchLabel: 'dummy-merge' | ||
| 3 | matchLabelPublic: 'dummy-merge' | ||
| 4 | |||
| 5 | steps: | ||
| 6 | - script: mkdir $(System.DefaultWorkingDirectory)/patches && pip install requests urllib3 | ||
| 7 | displayName: 'Prepare Environment' | ||
| 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' | ||
| 10 | - task: PythonScript@0 | ||
| 11 | displayName: 'Discover, Download, and Apply Patches' | ||
| 12 | inputs: | ||
| 13 | scriptSource: 'filePath' | ||
| 14 | scriptPath: '.ci/scripts/merge/apply-patches-by-label.py' | ||
| 15 | arguments: '${{ parameters.matchLabelPublic }} patches-public' | ||
| 16 | workingDirectory: '$(System.DefaultWorkingDirectory)' | ||
| 17 | - task: PythonScript@0 | ||
| 18 | displayName: 'Discover, Download, and Apply Patches' | ||
| 19 | inputs: | ||
| 20 | scriptSource: 'filePath' | ||
| 21 | scriptPath: '.ci/scripts/merge/apply-patches-by-label-private.py' | ||
| 22 | arguments: '$(PrivateMergeUser) ${{ parameters.matchLabel }} patches-private' | ||
| 23 | workingDirectory: '$(System.DefaultWorkingDirectory)' | ||