Skip to content

Commit 0119062

Browse files
authored
PYTHON-4749 Add Script to Cherry-Pick PRs (#1848)
1 parent ead3201 commit 0119062

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.evergreen/config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2039,6 +2039,19 @@ tasks:
20392039
export HEAD_SHA=${github_commit}
20402040
bash .evergreen/run-import-time-test.sh
20412041
2042+
- name: "backport-pr"
2043+
allowed_requesters: ["commit"]
2044+
commands:
2045+
- command: subprocess.exec
2046+
type: test
2047+
params:
2048+
binary: bash
2049+
args:
2050+
- ${DRIVERS_TOOLS}/.evergreen/github_app/backport-pr.sh
2051+
- mongodb
2052+
- mongo-python-driver
2053+
- ${github_commit}
2054+
20422055
axes:
20432056
# Choice of distro
20442057
- id: platform
@@ -3014,6 +3027,13 @@ buildvariants:
30143027
tasks:
30153028
- name: "check-import-time"
30163029

3030+
- name: backport-pr
3031+
display_name: "Backport PR"
3032+
run_on:
3033+
- rhel8.7-small
3034+
tasks:
3035+
- name: "backport-pr"
3036+
30173037
- name: "perf-tests"
30183038
display_name: "Performance Benchmark Tests"
30193039
batchtime: 10080 # 7 days

0 commit comments

Comments
 (0)