Skip to content

Commit 68f176a

Browse files
committed
Revert "Test against stable 2.1 version of the extension (mongodb#1698)"
This reverts commit e76d9f5.
1 parent 4aed966 commit 68f176a

File tree

6 files changed

+67
-4
lines changed

6 files changed

+67
-4
lines changed

.evergreen/config/generated/build/build-extension.yml

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.evergreen/config/templates/build/build-extension.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
vars:
66
PHP_VERSION: "%phpVersion%"
77
- func: "compile extension"
8+
# TODO: Remove vars to switch to latest stable version when 2.1.0 is releeased
9+
vars:
10+
EXTENSION_BRANCH: "v2.x"
811
- func: "upload extension"
912
- name: "build-php-%phpVersion%-lowest"
1013
tags: ["build", "php%phpVersion%", "lowest", "pr", "tag"]
@@ -13,6 +16,10 @@
1316
vars:
1417
PHP_VERSION: "%phpVersion%"
1518
- func: "compile extension"
19+
vars:
20+
# TODO: Switch to 2.1.0 when it is released
21+
# EXTENSION_VERSION: "2.0.0"
22+
EXTENSION_BRANCH: "v2.x"
1623
- func: "upload extension"
1724
- name: "build-php-%phpVersion%-next-stable"
1825
tags: ["build", "php%phpVersion%", "next-stable", "pr", "tag"]
@@ -21,6 +28,10 @@
2128
vars:
2229
PHP_VERSION: "%phpVersion%"
2330
- func: "compile extension"
31+
vars:
32+
# TODO: Switch to v2.1 when 2.1.0 is released
33+
# EXTENSION_VERSION: "v2.1"
34+
EXTENSION_BRANCH: "v2.x"
2435
- func: "upload extension"
2536
- name: "build-php-%phpVersion%-next-minor"
2637
tags: ["build", "php%phpVersion%", "next-minor"]

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
DRIVER_VERSION: "stable"
16+
# TODO: change to "stable" once 2.0.0 is released
17+
# DRIVER_VERSION: "stable"
18+
DRIVER_VERSION: "mongodb/mongo-php-driver@v2.x"
1719

1820
jobs:
1921
phpcs:

.github/workflows/generator.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ on:
1313

1414
env:
1515
PHP_VERSION: "8.2"
16-
DRIVER_VERSION: "stable"
16+
# TODO: change to "stable" once 2.0.0 is released
17+
# DRIVER_VERSION: "stable"
18+
DRIVER_VERSION: "mongodb/mongo-php-driver@v2.x"
1719

1820
jobs:
1921
diff:

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ on:
1919

2020
env:
2121
PHP_VERSION: "8.2"
22-
DRIVER_VERSION: "stable"
22+
# TODO: change to "stable" once 2.0.0 is released
23+
# DRIVER_VERSION: "stable"
24+
DRIVER_VERSION: "mongodb/mongo-php-driver@v2.x"
2325

2426
jobs:
2527
psalm:

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ on:
1212
- "feature/*"
1313

1414
env:
15-
DRIVER_VERSION: "stable"
15+
# TODO: change to "stable" once 2.0.0 is released
16+
# DRIVER_VERSION: "stable"
17+
DRIVER_VERSION: "mongodb/mongo-php-driver@v2.x"
1618

1719
jobs:
1820
phpunit:

0 commit comments

Comments
 (0)