Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RHEL 8 to test old server versions #1470

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .evergreen/config/build-variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ buildvariants:
run_on: debian11-small
tasks:
- name: "build-all-php"
- name: build-debian10
display_name: "Build: Debian 10"
tags: ["build", "debian", "x64", "pr", "tag"]
run_on: debian10-small
tasks:
- name: "build-all-php"
- name: build-debian92
display_name: "Build: Debian 9.2"
tags: ["build", "debian", "x64", "pr", "tag"]
run_on: debian92-small
tasks:
- name: "build-all-php"

# RHEL
- name: build-rhel90
Expand Down
52 changes: 12 additions & 40 deletions .evergreen/config/generated/test-variant/legacy-php-full.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .evergreen/config/generated/test-variant/lowest.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 15 additions & 57 deletions .evergreen/config/generated/test-variant/modern-php-full.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 6 additions & 20 deletions .evergreen/config/templates/test-variant/legacy-php-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,22 @@
- "test-atlas-data-lake"

# Test versions < 5.0
- name: test-debian92-php-%phpVersion%-local
tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: Debian 9.2, PHP %phpVersion%"
run_on: debian92-small
- name: test-rhel80-php-%phpVersion%
tags: ["test", "rhel", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: RHEL 8.0, PHP %phpVersion%"
run_on: rhel80-small
expansions:
FETCH_BUILD_VARIANT: "build-debian92"
FETCH_BUILD_VARIANT: "build-rhel80"
FETCH_BUILD_TASK: "build-php-%phpVersion%"
PHP_VERSION: "%phpVersion%"
depends_on:
- variant: "build-debian92"
- variant: "build-rhel80"
name: "build-php-%phpVersion%"
tasks:
# Remember to add new major versions here as they are released
- ".standalone .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".replicaset .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".sharded .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".loadbalanced .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"

# Test Atlas and CSFLE on RHEL 8
- name: test-rhel80-php-%phpVersion%-atlas
tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: RHEL 8.0, PHP %phpVersion%"
run_on: rhel80-small
expansions:
FETCH_BUILD_VARIANT: "build-rhel80"
FETCH_BUILD_TASK: "build-php-%phpVersion%"
PHP_VERSION: "%phpVersion%"
depends_on:
- variant: "build-rhel80"
name: "build-php-%phpVersion%"
tasks:
- "test_atlas_task_group"
- ".csfle"
12 changes: 6 additions & 6 deletions .evergreen/config/templates/test-variant/lowest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- name: test-debian92-php-%phpVersion%-local-lowest
tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: Debian 9.2, PHP %phpVersion%, Lowest Dependencies"
run_on: debian92-small
- name: test-rhel80-php-%phpVersion%-local-lowest
tags: ["test", "rhel", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: RHEL 8.0, PHP %phpVersion%, Lowest Dependencies"
run_on: rhel80-small
expansions:
FETCH_BUILD_VARIANT: "build-debian92"
FETCH_BUILD_VARIANT: "build-rhel80"
FETCH_BUILD_TASK: "build-php-%phpVersion%-lowest"
PHP_VERSION: "%phpVersion%"
DEPENDENCIES: "lowest"
depends_on:
- variant: "build-debian92"
- variant: "build-rhel80"
name: "build-php-%phpVersion%-lowest"
tasks:
- ".replicaset .local .4.0 !.csfle"
24 changes: 5 additions & 19 deletions .evergreen/config/templates/test-variant/modern-php-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,22 @@
- ".loadbalanced .local !.csfle !.4.0 !.4.2 !.4.4 !.7.0 !.8.0 !.rapid !.latest"

# Test versions < 5.0
- name: test-debian92-php-%phpVersion%-local
- name: test-rhel80-php-%phpVersion%
tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: Debian 9.2, PHP %phpVersion%"
run_on: debian92-small
display_name: "Test: RHEL 8.0, PHP %phpVersion%"
run_on: rhel80-small
expansions:
FETCH_BUILD_VARIANT: "build-debian92"
FETCH_BUILD_VARIANT: "build-rhel80"
FETCH_BUILD_TASK: "build-php-%phpVersion%"
PHP_VERSION: "%phpVersion%"
depends_on:
- variant: "build-debian92"
- variant: "build-rhel80"
name: "build-php-%phpVersion%"
tasks:
# Remember to add new major versions here as they are released
- ".standalone .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".replicaset .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".sharded .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"
- ".loadbalanced .local !.csfle !.6.0 !.7.0 !.8.0 !.rapid !.latest"

# Test Atlas and CSFLE on RHEL 8
- name: test-rhel80-php-%phpVersion%-atlas
tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"]
display_name: "Test: RHEL 8.0, PHP %phpVersion%"
run_on: rhel80-small
expansions:
FETCH_BUILD_VARIANT: "build-rhel80"
FETCH_BUILD_TASK: "build-php-%phpVersion%"
PHP_VERSION: "%phpVersion%"
depends_on:
- variant: "build-rhel80"
name: "build-php-%phpVersion%"
tasks:
- "test_atlas_task_group"
- ".csfle"