Skip to content

Commit 6ce4449

Browse files
committed
Move lowest dependency tests to new format
1 parent 8d68964 commit 6ce4449

File tree

7 files changed

+180
-98
lines changed

7 files changed

+180
-98
lines changed
Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,43 @@
11
tasks:
22
- name: "build-php-%phpVersion%"
3-
tags: ["build", "php%phpVersion%"]
3+
tags: ["build", "php%phpVersion%", "stable"]
44
commands:
55
- func: "locate PHP binaries"
66
vars:
77
PHP_VERSION: "%phpVersion%"
88
- func: "compile extension"
9+
# TODO: Remove this variable once PHPC 1.17.0 is released
910
vars:
1011
EXTENSION_BRANCH: "master"
1112
- func: "upload extension"
13+
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
14+
# - name: "build-php-%phpVersion%-lowest"
15+
# tags: ["build", "php%phpVersion%", "lowest"]
16+
# commands:
17+
# - func: "locate PHP binaries"
18+
# vars:
19+
# PHP_VERSION: "%phpVersion%"
20+
# - func: "compile extension"
21+
# vars:
22+
# EXTENSION_VERSION: "1.17.0"
23+
# - func: "upload extension"
24+
# - name: "build-php-%phpVersion%-next-stable"
25+
# tags: ["build", "php%phpVersion%", "next-stable"]
26+
# commands:
27+
# - func: "locate PHP binaries"
28+
# vars:
29+
# PHP_VERSION: "%phpVersion%"
30+
# - func: "compile extension"
31+
# vars:
32+
# EXTENSION_BRANCH: "v1.17"
33+
# - func: "upload extension"
34+
# - name: "build-php-%phpVersion%-next-minor"
35+
# tags: ["build", "php%phpVersion%", "next-minor"]
36+
# commands:
37+
# - func: "locate PHP binaries"
38+
# vars:
39+
# PHP_VERSION: "%phpVersion%"
40+
# - func: "compile extension"
41+
# vars:
42+
# EXTENSION_BRANCH: "master"
43+
# - func: "upload extension"

.evergreen/config/build/build-php-7.4.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ tasks:
77
vars:
88
PHP_VERSION: "7.4"
99
- func: "compile extension"
10+
# TODO: Remove this variable once PHPC 1.17.0 is released
1011
vars:
1112
EXTENSION_BRANCH: "master"
1213
- func: "upload extension"
14+
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
15+
# - name: "build-php-7.4-lowest"
16+
# tags: ["build", "php7.4", "lowest"]
17+
# commands:
18+
# - func: "locate PHP binaries"
19+
# vars:
20+
# PHP_VERSION: "7.4"
21+
# - func: "compile extension"
22+
# vars:
23+
# EXTENSION_VERSION: "1.17.0"
24+
# - func: "upload extension"
25+
# - name: "build-php-7.4-next-stable"
26+
# tags: ["build", "php7.4", "next-stable"]
27+
# commands:
28+
# - func: "locate PHP binaries"
29+
# vars:
30+
# PHP_VERSION: "7.4"
31+
# - func: "compile extension"
32+
# vars:
33+
# EXTENSION_BRANCH: "v1.17"
34+
# - func: "upload extension"
35+
# - name: "build-php-7.4-next-minor"
36+
# tags: ["build", "php7.4", "next-minor"]
37+
# commands:
38+
# - func: "locate PHP binaries"
39+
# vars:
40+
# PHP_VERSION: "7.4"
41+
# - func: "compile extension"
42+
# vars:
43+
# EXTENSION_BRANCH: "master"
44+
# - func: "upload extension"

.evergreen/config/build/build-php-8.0.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ tasks:
77
vars:
88
PHP_VERSION: "8.0"
99
- func: "compile extension"
10+
# TODO: Remove this variable once PHPC 1.17.0 is released
1011
vars:
1112
EXTENSION_BRANCH: "master"
1213
- func: "upload extension"
14+
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
15+
# - name: "build-php-8.0-lowest"
16+
# tags: ["build", "php8.0", "lowest"]
17+
# commands:
18+
# - func: "locate PHP binaries"
19+
# vars:
20+
# PHP_VERSION: "8.0"
21+
# - func: "compile extension"
22+
# vars:
23+
# EXTENSION_VERSION: "1.17.0"
24+
# - func: "upload extension"
25+
# - name: "build-php-8.0-next-stable"
26+
# tags: ["build", "php8.0", "next-stable"]
27+
# commands:
28+
# - func: "locate PHP binaries"
29+
# vars:
30+
# PHP_VERSION: "8.0"
31+
# - func: "compile extension"
32+
# vars:
33+
# EXTENSION_BRANCH: "v1.17"
34+
# - func: "upload extension"
35+
# - name: "build-php-8.0-next-minor"
36+
# tags: ["build", "php8.0", "next-minor"]
37+
# commands:
38+
# - func: "locate PHP binaries"
39+
# vars:
40+
# PHP_VERSION: "8.0"
41+
# - func: "compile extension"
42+
# vars:
43+
# EXTENSION_BRANCH: "master"
44+
# - func: "upload extension"

.evergreen/config/build/build-php-8.1.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ tasks:
77
vars:
88
PHP_VERSION: "8.1"
99
- func: "compile extension"
10+
# TODO: Remove this variable once PHPC 1.17.0 is released
1011
vars:
1112
EXTENSION_BRANCH: "master"
1213
- func: "upload extension"
14+
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
15+
# - name: "build-php-8.1-lowest"
16+
# tags: ["build", "php8.1", "lowest"]
17+
# commands:
18+
# - func: "locate PHP binaries"
19+
# vars:
20+
# PHP_VERSION: "8.1"
21+
# - func: "compile extension"
22+
# vars:
23+
# EXTENSION_VERSION: "1.17.0"
24+
# - func: "upload extension"
25+
# - name: "build-php-8.1-next-stable"
26+
# tags: ["build", "php8.1", "next-stable"]
27+
# commands:
28+
# - func: "locate PHP binaries"
29+
# vars:
30+
# PHP_VERSION: "8.1"
31+
# - func: "compile extension"
32+
# vars:
33+
# EXTENSION_BRANCH: "v1.17"
34+
# - func: "upload extension"
35+
# - name: "build-php-8.1-next-minor"
36+
# tags: ["build", "php8.1", "next-minor"]
37+
# commands:
38+
# - func: "locate PHP binaries"
39+
# vars:
40+
# PHP_VERSION: "8.1"
41+
# - func: "compile extension"
42+
# vars:
43+
# EXTENSION_BRANCH: "master"
44+
# - func: "upload extension"

.evergreen/config/build/build-php-8.2.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,38 @@ tasks:
77
vars:
88
PHP_VERSION: "8.2"
99
- func: "compile extension"
10+
# TODO: Remove this variable once PHPC 1.17.0 is released
1011
vars:
1112
EXTENSION_BRANCH: "master"
1213
- func: "upload extension"
14+
# TODO: Re-enable these tasks once PHPC 1.17.0 is released
15+
# - name: "build-php-8.2-lowest"
16+
# tags: ["build", "php8.2", "lowest"]
17+
# commands:
18+
# - func: "locate PHP binaries"
19+
# vars:
20+
# PHP_VERSION: "8.2"
21+
# - func: "compile extension"
22+
# vars:
23+
# EXTENSION_VERSION: "1.17.0"
24+
# - func: "upload extension"
25+
# - name: "build-php-8.2-next-stable"
26+
# tags: ["build", "php8.2", "next-stable"]
27+
# commands:
28+
# - func: "locate PHP binaries"
29+
# vars:
30+
# PHP_VERSION: "8.2"
31+
# - func: "compile extension"
32+
# vars:
33+
# EXTENSION_BRANCH: "v1.17"
34+
# - func: "upload extension"
35+
# - name: "build-php-8.2-next-minor"
36+
# tags: ["build", "php8.2", "next-minor"]
37+
# commands:
38+
# - func: "locate PHP binaries"
39+
# vars:
40+
# PHP_VERSION: "8.2"
41+
# - func: "compile extension"
42+
# vars:
43+
# EXTENSION_BRANCH: "master"
44+
# - func: "upload extension"

.evergreen/config/legacy-variants.yml

Lines changed: 0 additions & 96 deletions
This file was deleted.

.evergreen/config/test-variants.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,25 @@ buildvariants:
7979
tasks:
8080
- ".replicaset .local .7.0 !.csfle"
8181

82-
# Test Atlas Tests on RHEL 8
82+
# Test with lowest PHP, PHPC, MongoDB, and dependency versions
83+
- name: test-debian92-php74-local-lowest
84+
tags: ["test", "debian", "x64"]
85+
display_name: "Test: Debian 9.2, PHP 7.4, Lowest Dependencies"
86+
run_on: debian92-small
87+
expansions:
88+
FETCH_BUILD_VARIANT: "build-debian92"
89+
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
90+
FETCH_BUILD_TASK: "build-php-7.4"
91+
PHP_VERSION: "7.4"
92+
DEPENDENCIES: "lowest"
93+
depends_on:
94+
- variant: "build-debian92"
95+
# TODO: Change to build-php-7.4-lowest once PHPC 1.17.0 is released
96+
name: "build-php-7.4"
97+
tasks:
98+
- ".replicaset .local .3.6 !.csfle"
99+
100+
# Test Atlas and CSFLE on RHEL 8
83101
- name: test-rhel80-php82-atlas
84102
tags: ["test", "debian", "x64"]
85103
display_name: "Test: RHEL 8.0, PHP 8.2"

0 commit comments

Comments
 (0)