diff --git a/.evergreen/config.yml b/.evergreen/config.yml index f6def1455..cf17b0782 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -65,40 +65,11 @@ include: - filename: .evergreen/config/test-variants.yml # Automatically generated files - - filename: .evergreen/config/generated/build/build-php-8.3.yml - - filename: .evergreen/config/generated/build/build-php-8.2.yml - - filename: .evergreen/config/generated/build/build-php-8.1.yml - - filename: .evergreen/config/generated/build/build-php-8.0.yml - - filename: .evergreen/config/generated/build/build-php-7.4.yml - - filename: .evergreen/config/generated/test/local-latest.yml - - filename: .evergreen/config/generated/test/local-rapid.yml - - filename: .evergreen/config/generated/test/local-7.0.yml - - filename: .evergreen/config/generated/test/local-6.0.yml - - filename: .evergreen/config/generated/test/local-5.0.yml - - filename: .evergreen/config/generated/test/local-4.4.yml - - filename: .evergreen/config/generated/test/local-4.2.yml - - filename: .evergreen/config/generated/test/local-4.0.yml - - filename: .evergreen/config/generated/test/local-3.6.yml - - filename: .evergreen/config/generated/test/load-balanced-latest.yml - - filename: .evergreen/config/generated/test/load-balanced-rapid.yml - - filename: .evergreen/config/generated/test/load-balanced-7.0.yml - - filename: .evergreen/config/generated/test/load-balanced-6.0.yml - - filename: .evergreen/config/generated/test/load-balanced-5.0.yml - - filename: .evergreen/config/generated/test/require-api-version-latest.yml - - filename: .evergreen/config/generated/test/require-api-version-rapid.yml - - filename: .evergreen/config/generated/test/require-api-version-7.0.yml - - filename: .evergreen/config/generated/test/require-api-version-6.0.yml - - filename: .evergreen/config/generated/test/require-api-version-5.0.yml - - filename: .evergreen/config/generated/test/csfle-latest.yml - - filename: .evergreen/config/generated/test/csfle-rapid.yml - - filename: .evergreen/config/generated/test/csfle-7.0.yml - - filename: .evergreen/config/generated/test/csfle-6.0.yml - - filename: .evergreen/config/generated/test/csfle-5.0.yml - - filename: .evergreen/config/generated/test/csfle-4.4.yml - - filename: .evergreen/config/generated/test/csfle-4.2.yml - - filename: .evergreen/config/generated/test-variant/latest-php-8.3.yml - - filename: .evergreen/config/generated/test-variant/replicaset-php-8.2.yml - - filename: .evergreen/config/generated/test-variant/replicaset-php-8.1.yml - - filename: .evergreen/config/generated/test-variant/replicaset-php-8.0.yml - - filename: .evergreen/config/generated/test-variant/replicaset-php-7.4.yml - - filename: .evergreen/config/generated/test-variant/lowest-php-7.4.yml + - filename: .evergreen/config/generated/build/build-extension.yml + - filename: .evergreen/config/generated/test/local.yml + - filename: .evergreen/config/generated/test/load-balanced.yml + - filename: .evergreen/config/generated/test/require-api-version.yml + - filename: .evergreen/config/generated/test/csfle.yml + - filename: .evergreen/config/generated/test-variant/latest.yml + - filename: .evergreen/config/generated/test-variant/replicaset-only.yml + - filename: .evergreen/config/generated/test-variant/lowest.yml diff --git a/.evergreen/config/generate-config.php b/.evergreen/config/generate-config.php index 87f86635a..c491dd41d 100644 --- a/.evergreen/config/generate-config.php +++ b/.evergreen/config/generate-config.php @@ -47,21 +47,21 @@ $allFiles = []; // Build tasks -$allFiles[] = generateConfigs('build', 'phpVersion', 'build-extension.yml', 'build-php-%s', $supportedPhpVersions); +$allFiles[] = generateConfigs('tasks', 'build', 'phpVersion', 'build-extension.yml', $supportedPhpVersions); // Test tasks -$allFiles[] = generateConfigs('test', 'mongodbVersion', 'local.yml', 'local-%s', $localServerVersions); -$allFiles[] = generateConfigs('test', 'mongodbVersion', 'load-balanced.yml', 'load-balanced-%s', $loadBalancedServerVersions); -$allFiles[] = generateConfigs('test', 'mongodbVersion', 'require-api-version.yml', 'require-api-version-%s', $requireApiServerVersions); -$allFiles[] = generateConfigs('test', 'mongodbVersion', 'csfle.yml', 'csfle-%s', $csfleServerVersions); +$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'local.yml', $localServerVersions); +$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'load-balanced.yml', $loadBalancedServerVersions); +$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'require-api-version.yml', $requireApiServerVersions); +$allFiles[] = generateConfigs('tasks', 'test', 'mongodbVersion', 'csfle.yml', $csfleServerVersions); // Test variants -$allFiles[] = generateConfigs('test-variant', 'phpVersion', 'latest.yml', 'latest-php-%s', [$latestPhpVersion]); -$allFiles[] = generateConfigs('test-variant', 'phpVersion', 'replicaset-only.yml', 'replicaset-php-%s', array_diff($supportedPhpVersions, [$latestPhpVersion])); -$allFiles[] = generateConfigs('test-variant', 'phpVersion', 'lowest.yml', 'lowest-php-%s', [$lowestPhpVersion]); +$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'latest.yml', [$latestPhpVersion]); +$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'replicaset-only.yml', array_diff($supportedPhpVersions, [$latestPhpVersion])); +$allFiles[] = generateConfigs('buildvariants', 'test-variant', 'phpVersion', 'lowest.yml', [$lowestPhpVersion]); echo "Generated config. Use the following list to import files:\n"; -echo implode("\n", array_map('getImportConfig', array_merge(...$allFiles))) . "\n"; +echo implode("\n", array_map('getImportConfig', $allFiles)) . "\n"; function getImportConfig(string $filename): string { @@ -69,12 +69,12 @@ function getImportConfig(string $filename): string } function generateConfigs( + string $type, string $directory, string $replacementName, string $templateFile, - string $outputFormat, array $versions, -): array { +): string { $templateRelativePath = 'templates/' . $directory . '/' . $templateFile; $template = file_get_contents(__DIR__ . '/' . $templateRelativePath); $header = sprintf( @@ -82,16 +82,21 @@ function generateConfigs( $templateRelativePath ); - $files = []; + $contents = <<
$version]; +HEADER; - file_put_contents(__DIR__ . $filename, $header . "\n" . strtr($template, $replacements)); + foreach ($versions as $version) { + $contents .= strtr( + $template, + ['%' . $replacementName . '%' => $version], + ); } - return $files; + $filename = '/generated/' . $directory . '/' . $templateFile; + file_put_contents(__DIR__ . $filename, $contents); + + return '.evergreen/config' . $filename; } diff --git a/.evergreen/config/generated/build/build-extension.yml b/.evergreen/config/generated/build/build-extension.yml new file mode 100644 index 000000000..bdacaa6b7 --- /dev/null +++ b/.evergreen/config/generated/build/build-extension.yml @@ -0,0 +1,192 @@ +# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. +tasks: + - name: "build-php-8.3" + tags: ["build", "php8.3", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.3" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-8.3-lowest" + tags: ["build", "php8.3", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.3" + - func: "compile extension" + vars: + EXTENSION_VERSION: "1.18.0" + - func: "upload extension" + - name: "build-php-8.3-next-stable" + tags: ["build", "php8.3", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.3" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v1.18" + - func: "upload extension" + - name: "build-php-8.3-next-minor" + tags: ["build", "php8.3", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.3" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "master" + - func: "upload extension" + - name: "build-php-8.2" + tags: ["build", "php8.2", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.2" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-8.2-lowest" + tags: ["build", "php8.2", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.2" + - func: "compile extension" + vars: + EXTENSION_VERSION: "1.18.0" + - func: "upload extension" + - name: "build-php-8.2-next-stable" + tags: ["build", "php8.2", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.2" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v1.18" + - func: "upload extension" + - name: "build-php-8.2-next-minor" + tags: ["build", "php8.2", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.2" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "master" + - func: "upload extension" + - name: "build-php-8.1" + tags: ["build", "php8.1", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.1" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-8.1-lowest" + tags: ["build", "php8.1", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.1" + - func: "compile extension" + vars: + EXTENSION_VERSION: "1.18.0" + - func: "upload extension" + - name: "build-php-8.1-next-stable" + tags: ["build", "php8.1", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.1" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v1.18" + - func: "upload extension" + - name: "build-php-8.1-next-minor" + tags: ["build", "php8.1", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.1" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "master" + - func: "upload extension" + - name: "build-php-8.0" + tags: ["build", "php8.0", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.0" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-8.0-lowest" + tags: ["build", "php8.0", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.0" + - func: "compile extension" + vars: + EXTENSION_VERSION: "1.18.0" + - func: "upload extension" + - name: "build-php-8.0-next-stable" + tags: ["build", "php8.0", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.0" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v1.18" + - func: "upload extension" + - name: "build-php-8.0-next-minor" + tags: ["build", "php8.0", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "8.0" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "master" + - func: "upload extension" + - name: "build-php-7.4" + tags: ["build", "php7.4", "stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "7.4" + - func: "compile extension" + - func: "upload extension" + - name: "build-php-7.4-lowest" + tags: ["build", "php7.4", "lowest", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "7.4" + - func: "compile extension" + vars: + EXTENSION_VERSION: "1.18.0" + - func: "upload extension" + - name: "build-php-7.4-next-stable" + tags: ["build", "php7.4", "next-stable", "pr", "tag"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "7.4" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "v1.18" + - func: "upload extension" + - name: "build-php-7.4-next-minor" + tags: ["build", "php7.4", "next-minor"] + commands: + - func: "locate PHP binaries" + vars: + PHP_VERSION: "7.4" + - func: "compile extension" + vars: + EXTENSION_BRANCH: "master" + - func: "upload extension" diff --git a/.evergreen/config/generated/build/build-php-7.4.yml b/.evergreen/config/generated/build/build-php-7.4.yml deleted file mode 100644 index bde1fcd42..000000000 --- a/.evergreen/config/generated/build/build-php-7.4.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. -tasks: - - name: "build-php-7.4" - tags: ["build", "php7.4", "stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "7.4" - - func: "compile extension" - - func: "upload extension" - - name: "build-php-7.4-lowest" - tags: ["build", "php7.4", "lowest", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "7.4" - - func: "compile extension" - vars: - EXTENSION_VERSION: "1.18.0" - - func: "upload extension" - - name: "build-php-7.4-next-stable" - tags: ["build", "php7.4", "next-stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "7.4" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "v1.18" - - func: "upload extension" - - name: "build-php-7.4-next-minor" - tags: ["build", "php7.4", "next-minor"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "7.4" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "master" - - func: "upload extension" diff --git a/.evergreen/config/generated/build/build-php-8.0.yml b/.evergreen/config/generated/build/build-php-8.0.yml deleted file mode 100644 index ceaee2932..000000000 --- a/.evergreen/config/generated/build/build-php-8.0.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. -tasks: - - name: "build-php-8.0" - tags: ["build", "php8.0", "stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.0" - - func: "compile extension" - - func: "upload extension" - - name: "build-php-8.0-lowest" - tags: ["build", "php8.0", "lowest", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.0" - - func: "compile extension" - vars: - EXTENSION_VERSION: "1.18.0" - - func: "upload extension" - - name: "build-php-8.0-next-stable" - tags: ["build", "php8.0", "next-stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.0" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "v1.18" - - func: "upload extension" - - name: "build-php-8.0-next-minor" - tags: ["build", "php8.0", "next-minor"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.0" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "master" - - func: "upload extension" diff --git a/.evergreen/config/generated/build/build-php-8.1.yml b/.evergreen/config/generated/build/build-php-8.1.yml deleted file mode 100644 index ce4725b6f..000000000 --- a/.evergreen/config/generated/build/build-php-8.1.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. -tasks: - - name: "build-php-8.1" - tags: ["build", "php8.1", "stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.1" - - func: "compile extension" - - func: "upload extension" - - name: "build-php-8.1-lowest" - tags: ["build", "php8.1", "lowest", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.1" - - func: "compile extension" - vars: - EXTENSION_VERSION: "1.18.0" - - func: "upload extension" - - name: "build-php-8.1-next-stable" - tags: ["build", "php8.1", "next-stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.1" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "v1.18" - - func: "upload extension" - - name: "build-php-8.1-next-minor" - tags: ["build", "php8.1", "next-minor"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.1" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "master" - - func: "upload extension" diff --git a/.evergreen/config/generated/build/build-php-8.2.yml b/.evergreen/config/generated/build/build-php-8.2.yml deleted file mode 100644 index af5cdfaf8..000000000 --- a/.evergreen/config/generated/build/build-php-8.2.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. -tasks: - - name: "build-php-8.2" - tags: ["build", "php8.2", "stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.2" - - func: "compile extension" - - func: "upload extension" - - name: "build-php-8.2-lowest" - tags: ["build", "php8.2", "lowest", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.2" - - func: "compile extension" - vars: - EXTENSION_VERSION: "1.18.0" - - func: "upload extension" - - name: "build-php-8.2-next-stable" - tags: ["build", "php8.2", "next-stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.2" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "v1.18" - - func: "upload extension" - - name: "build-php-8.2-next-minor" - tags: ["build", "php8.2", "next-minor"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.2" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "master" - - func: "upload extension" diff --git a/.evergreen/config/generated/build/build-php-8.3.yml b/.evergreen/config/generated/build/build-php-8.3.yml deleted file mode 100644 index 8d77a44d2..000000000 --- a/.evergreen/config/generated/build/build-php-8.3.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file is generated automatically - please edit the "templates/build/build-extension.yml" template file instead. -tasks: - - name: "build-php-8.3" - tags: ["build", "php8.3", "stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.3" - - func: "compile extension" - - func: "upload extension" - - name: "build-php-8.3-lowest" - tags: ["build", "php8.3", "lowest", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.3" - - func: "compile extension" - vars: - EXTENSION_VERSION: "1.18.0" - - func: "upload extension" - - name: "build-php-8.3-next-stable" - tags: ["build", "php8.3", "next-stable", "pr", "tag"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.3" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "v1.18" - - func: "upload extension" - - name: "build-php-8.3-next-minor" - tags: ["build", "php8.3", "next-minor"] - commands: - - func: "locate PHP binaries" - vars: - PHP_VERSION: "8.3" - - func: "compile extension" - vars: - EXTENSION_BRANCH: "master" - - func: "upload extension" diff --git a/.evergreen/config/generated/test-variant/latest-php-8.3.yml b/.evergreen/config/generated/test-variant/latest.yml similarity index 100% rename from .evergreen/config/generated/test-variant/latest-php-8.3.yml rename to .evergreen/config/generated/test-variant/latest.yml diff --git a/.evergreen/config/generated/test-variant/lowest-php-7.4.yml b/.evergreen/config/generated/test-variant/lowest.yml similarity index 100% rename from .evergreen/config/generated/test-variant/lowest-php-7.4.yml rename to .evergreen/config/generated/test-variant/lowest.yml diff --git a/.evergreen/config/generated/test-variant/replicaset-only.yml b/.evergreen/config/generated/test-variant/replicaset-only.yml new file mode 100644 index 000000000..22e3b5381 --- /dev/null +++ b/.evergreen/config/generated/test-variant/replicaset-only.yml @@ -0,0 +1,54 @@ +# This file is generated automatically - please edit the "templates/test-variant/replicaset-only.yml" template file instead. +buildvariants: + - name: test-debian11-php-8.2-local + tags: [ "test", "debian", "x64", "php8.2", "pr", "tag" ] + display_name: "Test: Debian 11, PHP 8.2" + run_on: debian11-small + expansions: + FETCH_BUILD_VARIANT: "build-debian11" + FETCH_BUILD_TASK: "build-php-8.2" + PHP_VERSION: "8.2" + depends_on: + - variant: "build-debian11" + name: "build-php-8.2" + tasks: + - ".replicaset .local .7.0 !.csfle" + - name: test-debian11-php-8.1-local + tags: [ "test", "debian", "x64", "php8.1", "pr", "tag" ] + display_name: "Test: Debian 11, PHP 8.1" + run_on: debian11-small + expansions: + FETCH_BUILD_VARIANT: "build-debian11" + FETCH_BUILD_TASK: "build-php-8.1" + PHP_VERSION: "8.1" + depends_on: + - variant: "build-debian11" + name: "build-php-8.1" + tasks: + - ".replicaset .local .7.0 !.csfle" + - name: test-debian11-php-8.0-local + tags: [ "test", "debian", "x64", "php8.0", "pr", "tag" ] + display_name: "Test: Debian 11, PHP 8.0" + run_on: debian11-small + expansions: + FETCH_BUILD_VARIANT: "build-debian11" + FETCH_BUILD_TASK: "build-php-8.0" + PHP_VERSION: "8.0" + depends_on: + - variant: "build-debian11" + name: "build-php-8.0" + tasks: + - ".replicaset .local .7.0 !.csfle" + - name: test-debian11-php-7.4-local + tags: [ "test", "debian", "x64", "php7.4", "pr", "tag" ] + display_name: "Test: Debian 11, PHP 7.4" + run_on: debian11-small + expansions: + FETCH_BUILD_VARIANT: "build-debian11" + FETCH_BUILD_TASK: "build-php-7.4" + PHP_VERSION: "7.4" + depends_on: + - variant: "build-debian11" + name: "build-php-7.4" + tasks: + - ".replicaset .local .7.0 !.csfle" diff --git a/.evergreen/config/generated/test-variant/replicaset-php-7.4.yml b/.evergreen/config/generated/test-variant/replicaset-php-7.4.yml deleted file mode 100644 index 3524b5151..000000000 --- a/.evergreen/config/generated/test-variant/replicaset-php-7.4.yml +++ /dev/null @@ -1,15 +0,0 @@ -# This file is generated automatically - please edit the "templates/test-variant/replicaset-only.yml" template file instead. -buildvariants: - - name: test-debian11-php-7.4-local - tags: [ "test", "debian", "x64", "php7.4", "pr", "tag" ] - display_name: "Test: Debian 11, PHP 7.4" - run_on: debian11-small - expansions: - FETCH_BUILD_VARIANT: "build-debian11" - FETCH_BUILD_TASK: "build-php-7.4" - PHP_VERSION: "7.4" - depends_on: - - variant: "build-debian11" - name: "build-php-7.4" - tasks: - - ".replicaset .local .7.0 !.csfle" diff --git a/.evergreen/config/generated/test-variant/replicaset-php-8.0.yml b/.evergreen/config/generated/test-variant/replicaset-php-8.0.yml deleted file mode 100644 index 9ca4995f5..000000000 --- a/.evergreen/config/generated/test-variant/replicaset-php-8.0.yml +++ /dev/null @@ -1,15 +0,0 @@ -# This file is generated automatically - please edit the "templates/test-variant/replicaset-only.yml" template file instead. -buildvariants: - - name: test-debian11-php-8.0-local - tags: [ "test", "debian", "x64", "php8.0", "pr", "tag" ] - display_name: "Test: Debian 11, PHP 8.0" - run_on: debian11-small - expansions: - FETCH_BUILD_VARIANT: "build-debian11" - FETCH_BUILD_TASK: "build-php-8.0" - PHP_VERSION: "8.0" - depends_on: - - variant: "build-debian11" - name: "build-php-8.0" - tasks: - - ".replicaset .local .7.0 !.csfle" diff --git a/.evergreen/config/generated/test-variant/replicaset-php-8.1.yml b/.evergreen/config/generated/test-variant/replicaset-php-8.1.yml deleted file mode 100644 index b19d6a3bf..000000000 --- a/.evergreen/config/generated/test-variant/replicaset-php-8.1.yml +++ /dev/null @@ -1,15 +0,0 @@ -# This file is generated automatically - please edit the "templates/test-variant/replicaset-only.yml" template file instead. -buildvariants: - - name: test-debian11-php-8.1-local - tags: [ "test", "debian", "x64", "php8.1", "pr", "tag" ] - display_name: "Test: Debian 11, PHP 8.1" - run_on: debian11-small - expansions: - FETCH_BUILD_VARIANT: "build-debian11" - FETCH_BUILD_TASK: "build-php-8.1" - PHP_VERSION: "8.1" - depends_on: - - variant: "build-debian11" - name: "build-php-8.1" - tasks: - - ".replicaset .local .7.0 !.csfle" diff --git a/.evergreen/config/generated/test-variant/replicaset-php-8.2.yml b/.evergreen/config/generated/test-variant/replicaset-php-8.2.yml deleted file mode 100644 index 0fb623340..000000000 --- a/.evergreen/config/generated/test-variant/replicaset-php-8.2.yml +++ /dev/null @@ -1,15 +0,0 @@ -# This file is generated automatically - please edit the "templates/test-variant/replicaset-only.yml" template file instead. -buildvariants: - - name: test-debian11-php-8.2-local - tags: [ "test", "debian", "x64", "php8.2", "pr", "tag" ] - display_name: "Test: Debian 11, PHP 8.2" - run_on: debian11-small - expansions: - FETCH_BUILD_VARIANT: "build-debian11" - FETCH_BUILD_TASK: "build-php-8.2" - PHP_VERSION: "8.2" - depends_on: - - variant: "build-debian11" - name: "build-php-8.2" - tasks: - - ".replicaset .local .7.0 !.csfle" diff --git a/.evergreen/config/generated/test/csfle-4.2.yml b/.evergreen/config/generated/test/csfle-4.2.yml deleted file mode 100644 index 3f09fde3e..000000000 --- a/.evergreen/config/generated/test/csfle-4.2.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-4.2-crypt-shared" - tags: ["replicaset", "local", "4.2", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-4.2-mongocryptd" - tags: ["replicaset", "local", "4.2", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-4.2-no-aws-creds" - tags: ["replicaset", "local", "4.2", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-4.4.yml b/.evergreen/config/generated/test/csfle-4.4.yml deleted file mode 100644 index 297321d0a..000000000 --- a/.evergreen/config/generated/test/csfle-4.4.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-4.4-crypt-shared" - tags: ["replicaset", "local", "4.4", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-4.4-mongocryptd" - tags: ["replicaset", "local", "4.4", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-4.4-no-aws-creds" - tags: ["replicaset", "local", "4.4", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-5.0.yml b/.evergreen/config/generated/test/csfle-5.0.yml deleted file mode 100644 index b8bbe6cc7..000000000 --- a/.evergreen/config/generated/test/csfle-5.0.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-5.0-crypt-shared" - tags: ["replicaset", "local", "5.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-5.0-mongocryptd" - tags: ["replicaset", "local", "5.0", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-5.0-no-aws-creds" - tags: ["replicaset", "local", "5.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-6.0.yml b/.evergreen/config/generated/test/csfle-6.0.yml deleted file mode 100644 index 63a0f1318..000000000 --- a/.evergreen/config/generated/test/csfle-6.0.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-6.0-crypt-shared" - tags: ["replicaset", "local", "6.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-6.0-mongocryptd" - tags: ["replicaset", "local", "6.0", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-6.0-no-aws-creds" - tags: ["replicaset", "local", "6.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-7.0.yml b/.evergreen/config/generated/test/csfle-7.0.yml deleted file mode 100644 index 3b0c763c3..000000000 --- a/.evergreen/config/generated/test/csfle-7.0.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-7.0-crypt-shared" - tags: ["replicaset", "local", "7.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-7.0-mongocryptd" - tags: ["replicaset", "local", "7.0", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-7.0-no-aws-creds" - tags: ["replicaset", "local", "7.0", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-latest.yml b/.evergreen/config/generated/test/csfle-latest.yml deleted file mode 100644 index 9e338c29f..000000000 --- a/.evergreen/config/generated/test/csfle-latest.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-latest-crypt-shared" - tags: ["replicaset", "local", "latest", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-latest-mongocryptd" - tags: ["replicaset", "local", "latest", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-latest-no-aws-creds" - tags: ["replicaset", "local", "latest", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle-rapid.yml b/.evergreen/config/generated/test/csfle-rapid.yml deleted file mode 100644 index 781c29803..000000000 --- a/.evergreen/config/generated/test/csfle-rapid.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. -tasks: - - name: "test-mongodb-rapid-crypt-shared" - tags: ["replicaset", "local", "rapid", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-rapid-mongocryptd" - tags: ["replicaset", "local", "rapid", "csfle", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - SKIP_CRYPT_SHARED: "yes" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "csfle" - - - name: "test-mongodb-rapid-no-aws-creds" - tags: ["replicaset", "local", "rapid", "csfle", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "run tests" - vars: - client_side_encryption_aws_access_key_id: "" - client_side_encryption_aws_secret_access_key: "" - TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/csfle.yml b/.evergreen/config/generated/test/csfle.yml new file mode 100644 index 000000000..e14274472 --- /dev/null +++ b/.evergreen/config/generated/test/csfle.yml @@ -0,0 +1,282 @@ +# This file is generated automatically - please edit the "templates/test/csfle.yml" template file instead. +tasks: + - name: "test-mongodb-latest-crypt-shared" + tags: ["replicaset", "local", "latest", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-latest-mongocryptd" + tags: ["replicaset", "local", "latest", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-latest-no-aws-creds" + tags: ["replicaset", "local", "latest", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-rapid-crypt-shared" + tags: ["replicaset", "local", "rapid", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-rapid-mongocryptd" + tags: ["replicaset", "local", "rapid", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-rapid-no-aws-creds" + tags: ["replicaset", "local", "rapid", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-7.0-crypt-shared" + tags: ["replicaset", "local", "7.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-7.0-mongocryptd" + tags: ["replicaset", "local", "7.0", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-7.0-no-aws-creds" + tags: ["replicaset", "local", "7.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-6.0-crypt-shared" + tags: ["replicaset", "local", "6.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-6.0-mongocryptd" + tags: ["replicaset", "local", "6.0", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-6.0-no-aws-creds" + tags: ["replicaset", "local", "6.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-5.0-crypt-shared" + tags: ["replicaset", "local", "5.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-5.0-mongocryptd" + tags: ["replicaset", "local", "5.0", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-5.0-no-aws-creds" + tags: ["replicaset", "local", "5.0", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-4.4-crypt-shared" + tags: ["replicaset", "local", "4.4", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-4.4-mongocryptd" + tags: ["replicaset", "local", "4.4", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-4.4-no-aws-creds" + tags: ["replicaset", "local", "4.4", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" + - name: "test-mongodb-4.2-crypt-shared" + tags: ["replicaset", "local", "4.2", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-4.2-mongocryptd" + tags: ["replicaset", "local", "4.2", "csfle", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + SKIP_CRYPT_SHARED: "yes" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "csfle" + + - name: "test-mongodb-4.2-no-aws-creds" + tags: ["replicaset", "local", "4.2", "csfle", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "run tests" + vars: + client_side_encryption_aws_access_key_id: "" + client_side_encryption_aws_secret_access_key: "" + TESTS: "csfle-without-aws-creds" diff --git a/.evergreen/config/generated/test/load-balanced-5.0.yml b/.evergreen/config/generated/test/load-balanced-5.0.yml deleted file mode 100644 index 71d3518c6..000000000 --- a/.evergreen/config/generated/test/load-balanced-5.0.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. -tasks: - - name: "test-mongodb-5.0-loadbalanced" - tags: ["loadbalanced", "local", "5.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "5.0" - LOAD_BALANCER: "true" - SSL: "yes" - - func: "start load balancer" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" - SSL: "yes" diff --git a/.evergreen/config/generated/test/load-balanced-6.0.yml b/.evergreen/config/generated/test/load-balanced-6.0.yml deleted file mode 100644 index 3f3bdbe93..000000000 --- a/.evergreen/config/generated/test/load-balanced-6.0.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. -tasks: - - name: "test-mongodb-6.0-loadbalanced" - tags: ["loadbalanced", "local", "6.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "6.0" - LOAD_BALANCER: "true" - SSL: "yes" - - func: "start load balancer" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" - SSL: "yes" diff --git a/.evergreen/config/generated/test/load-balanced-7.0.yml b/.evergreen/config/generated/test/load-balanced-7.0.yml deleted file mode 100644 index 9b194bb3f..000000000 --- a/.evergreen/config/generated/test/load-balanced-7.0.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. -tasks: - - name: "test-mongodb-7.0-loadbalanced" - tags: ["loadbalanced", "local", "7.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "7.0" - LOAD_BALANCER: "true" - SSL: "yes" - - func: "start load balancer" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" - SSL: "yes" diff --git a/.evergreen/config/generated/test/load-balanced-latest.yml b/.evergreen/config/generated/test/load-balanced-latest.yml deleted file mode 100644 index 5b46f73c8..000000000 --- a/.evergreen/config/generated/test/load-balanced-latest.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. -tasks: - - name: "test-mongodb-latest-loadbalanced" - tags: ["loadbalanced", "local", "latest", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "latest" - LOAD_BALANCER: "true" - SSL: "yes" - - func: "start load balancer" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" - SSL: "yes" diff --git a/.evergreen/config/generated/test/load-balanced-rapid.yml b/.evergreen/config/generated/test/load-balanced-rapid.yml deleted file mode 100644 index 6743f27cf..000000000 --- a/.evergreen/config/generated/test/load-balanced-rapid.yml +++ /dev/null @@ -1,18 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. -tasks: - - name: "test-mongodb-rapid-loadbalanced" - tags: ["loadbalanced", "local", "rapid", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "rapid" - LOAD_BALANCER: "true" - SSL: "yes" - - func: "start load balancer" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" - SSL: "yes" diff --git a/.evergreen/config/generated/test/load-balanced.yml b/.evergreen/config/generated/test/load-balanced.yml new file mode 100644 index 000000000..dacb28e87 --- /dev/null +++ b/.evergreen/config/generated/test/load-balanced.yml @@ -0,0 +1,82 @@ +# This file is generated automatically - please edit the "templates/test/load-balanced.yml" template file instead. +tasks: + - name: "test-mongodb-latest-loadbalanced" + tags: ["loadbalanced", "local", "latest", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "latest" + LOAD_BALANCER: "true" + SSL: "yes" + - func: "start load balancer" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" + SSL: "yes" + - name: "test-mongodb-rapid-loadbalanced" + tags: ["loadbalanced", "local", "rapid", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "rapid" + LOAD_BALANCER: "true" + SSL: "yes" + - func: "start load balancer" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" + SSL: "yes" + - name: "test-mongodb-7.0-loadbalanced" + tags: ["loadbalanced", "local", "7.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "7.0" + LOAD_BALANCER: "true" + SSL: "yes" + - func: "start load balancer" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" + SSL: "yes" + - name: "test-mongodb-6.0-loadbalanced" + tags: ["loadbalanced", "local", "6.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "6.0" + LOAD_BALANCER: "true" + SSL: "yes" + - func: "start load balancer" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" + SSL: "yes" + - name: "test-mongodb-5.0-loadbalanced" + tags: ["loadbalanced", "local", "5.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "5.0" + LOAD_BALANCER: "true" + SSL: "yes" + - func: "start load balancer" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + MONGODB_URI: "${SINGLE_MONGOS_LB_URI}" + SSL: "yes" diff --git a/.evergreen/config/generated/test/local-3.6.yml b/.evergreen/config/generated/test/local-3.6.yml deleted file mode 100644 index 45272379b..000000000 --- a/.evergreen/config/generated/test/local-3.6.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-3.6-standalone-noauth-nossl" - tags: ["standalone", "local", "3.6", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "3.6" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-3.6-replicaset-noauth-nossl" - tags: ["replicaset", "local", "3.6", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "3.6" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-3.6-sharded-noauth-nossl" - tags: ["sharded", "local", "3.6", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "3.6" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-4.0.yml b/.evergreen/config/generated/test/local-4.0.yml deleted file mode 100644 index c956555d5..000000000 --- a/.evergreen/config/generated/test/local-4.0.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-4.0-standalone-noauth-nossl" - tags: ["standalone", "local", "4.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "4.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.0-replicaset-noauth-nossl" - tags: ["replicaset", "local", "4.0", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.0-sharded-noauth-nossl" - tags: ["sharded", "local", "4.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "4.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-4.2.yml b/.evergreen/config/generated/test/local-4.2.yml deleted file mode 100644 index 523514069..000000000 --- a/.evergreen/config/generated/test/local-4.2.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-4.2-standalone-noauth-nossl" - tags: ["standalone", "local", "4.2", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.2-replicaset-noauth-nossl" - tags: ["replicaset", "local", "4.2", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.2-sharded-noauth-nossl" - tags: ["sharded", "local", "4.2", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "4.2" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-4.4.yml b/.evergreen/config/generated/test/local-4.4.yml deleted file mode 100644 index efc614eb3..000000000 --- a/.evergreen/config/generated/test/local-4.4.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-4.4-standalone-noauth-nossl" - tags: ["standalone", "local", "4.4", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.4-replicaset-noauth-nossl" - tags: ["replicaset", "local", "4.4", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-4.4-sharded-noauth-nossl" - tags: ["sharded", "local", "4.4", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "4.4" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-5.0.yml b/.evergreen/config/generated/test/local-5.0.yml deleted file mode 100644 index 0460defdf..000000000 --- a/.evergreen/config/generated/test/local-5.0.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-5.0-standalone-noauth-nossl" - tags: ["standalone", "local", "5.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-5.0-replicaset-noauth-nossl" - tags: ["replicaset", "local", "5.0", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-5.0-sharded-noauth-nossl" - tags: ["sharded", "local", "5.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-6.0.yml b/.evergreen/config/generated/test/local-6.0.yml deleted file mode 100644 index 28a3dc52d..000000000 --- a/.evergreen/config/generated/test/local-6.0.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-6.0-standalone-noauth-nossl" - tags: ["standalone", "local", "6.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-6.0-replicaset-noauth-nossl" - tags: ["replicaset", "local", "6.0", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-6.0-sharded-noauth-nossl" - tags: ["sharded", "local", "6.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-7.0.yml b/.evergreen/config/generated/test/local-7.0.yml deleted file mode 100644 index b542eefe7..000000000 --- a/.evergreen/config/generated/test/local-7.0.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-7.0-standalone-noauth-nossl" - tags: ["standalone", "local", "7.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-7.0-replicaset-noauth-nossl" - tags: ["replicaset", "local", "7.0", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-7.0-sharded-noauth-nossl" - tags: ["sharded", "local", "7.0", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-latest.yml b/.evergreen/config/generated/test/local-latest.yml deleted file mode 100644 index 31a178297..000000000 --- a/.evergreen/config/generated/test/local-latest.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-latest-standalone-noauth-nossl" - tags: ["standalone", "local", "latest", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-latest-replicaset-noauth-nossl" - tags: ["replicaset", "local", "latest", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-latest-sharded-noauth-nossl" - tags: ["sharded", "local", "latest", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local-rapid.yml b/.evergreen/config/generated/test/local-rapid.yml deleted file mode 100644 index b68e5c067..000000000 --- a/.evergreen/config/generated/test/local-rapid.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. -tasks: - - name: "test-mongodb-rapid-standalone-noauth-nossl" - tags: ["standalone", "local", "rapid", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-rapid-replicaset-noauth-nossl" - tags: ["replicaset", "local", "rapid", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "replica_set" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - - - name: "test-mongodb-rapid-sharded-noauth-nossl" - tags: ["sharded", "local", "rapid", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "sharded_cluster" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" diff --git a/.evergreen/config/generated/test/local.yml b/.evergreen/config/generated/test/local.yml new file mode 100644 index 000000000..b20879030 --- /dev/null +++ b/.evergreen/config/generated/test/local.yml @@ -0,0 +1,290 @@ +# This file is generated automatically - please edit the "templates/test/local.yml" template file instead. +tasks: + - name: "test-mongodb-latest-standalone-noauth-nossl" + tags: ["standalone", "local", "latest", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-latest-replicaset-noauth-nossl" + tags: ["replicaset", "local", "latest", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-latest-sharded-noauth-nossl" + tags: ["sharded", "local", "latest", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-rapid-standalone-noauth-nossl" + tags: ["standalone", "local", "rapid", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-rapid-replicaset-noauth-nossl" + tags: ["replicaset", "local", "rapid", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-rapid-sharded-noauth-nossl" + tags: ["sharded", "local", "rapid", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-7.0-standalone-noauth-nossl" + tags: ["standalone", "local", "7.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-7.0-replicaset-noauth-nossl" + tags: ["replicaset", "local", "7.0", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-7.0-sharded-noauth-nossl" + tags: ["sharded", "local", "7.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-6.0-standalone-noauth-nossl" + tags: ["standalone", "local", "6.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-6.0-replicaset-noauth-nossl" + tags: ["replicaset", "local", "6.0", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-6.0-sharded-noauth-nossl" + tags: ["sharded", "local", "6.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-5.0-standalone-noauth-nossl" + tags: ["standalone", "local", "5.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-5.0-replicaset-noauth-nossl" + tags: ["replicaset", "local", "5.0", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-5.0-sharded-noauth-nossl" + tags: ["sharded", "local", "5.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-4.4-standalone-noauth-nossl" + tags: ["standalone", "local", "4.4", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.4-replicaset-noauth-nossl" + tags: ["replicaset", "local", "4.4", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.4-sharded-noauth-nossl" + tags: ["sharded", "local", "4.4", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "4.4" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-4.2-standalone-noauth-nossl" + tags: ["standalone", "local", "4.2", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.2-replicaset-noauth-nossl" + tags: ["replicaset", "local", "4.2", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.2-sharded-noauth-nossl" + tags: ["sharded", "local", "4.2", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "4.2" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-4.0-standalone-noauth-nossl" + tags: ["standalone", "local", "4.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "4.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.0-replicaset-noauth-nossl" + tags: ["replicaset", "local", "4.0", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "4.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-4.0-sharded-noauth-nossl" + tags: ["sharded", "local", "4.0", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "4.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + - name: "test-mongodb-3.6-standalone-noauth-nossl" + tags: ["standalone", "local", "3.6", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + MONGODB_VERSION: "3.6" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-3.6-replicaset-noauth-nossl" + tags: ["replicaset", "local", "3.6", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "replica_set" + MONGODB_VERSION: "3.6" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + + - name: "test-mongodb-3.6-sharded-noauth-nossl" + tags: ["sharded", "local", "3.6", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "sharded_cluster" + MONGODB_VERSION: "3.6" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" diff --git a/.evergreen/config/generated/test/require-api-version-5.0.yml b/.evergreen/config/generated/test/require-api-version-5.0.yml deleted file mode 100644 index 0dcf66c20..000000000 --- a/.evergreen/config/generated/test/require-api-version-5.0.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. -tasks: - - name: "test-mongodb-5.0-requireApiVersion" - tags: ["standalone", "local", "5.0", "versioned_api", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - AUTH: "auth" - REQUIRE_API_VERSION: "yes" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - API_VERSION: "1" - - - name: "test-mongodb-5.0-acceptApiVersion2" - tags: ["standalone", "local", "5.0", "versioned_api"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - ORCHESTRATION_FILE: "versioned-api-testing.json" - MONGODB_VERSION: "5.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "versioned-api" diff --git a/.evergreen/config/generated/test/require-api-version-6.0.yml b/.evergreen/config/generated/test/require-api-version-6.0.yml deleted file mode 100644 index 2bf25a7f4..000000000 --- a/.evergreen/config/generated/test/require-api-version-6.0.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. -tasks: - - name: "test-mongodb-6.0-requireApiVersion" - tags: ["standalone", "local", "6.0", "versioned_api", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - AUTH: "auth" - REQUIRE_API_VERSION: "yes" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - API_VERSION: "1" - - - name: "test-mongodb-6.0-acceptApiVersion2" - tags: ["standalone", "local", "6.0", "versioned_api"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - ORCHESTRATION_FILE: "versioned-api-testing.json" - MONGODB_VERSION: "6.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "versioned-api" diff --git a/.evergreen/config/generated/test/require-api-version-7.0.yml b/.evergreen/config/generated/test/require-api-version-7.0.yml deleted file mode 100644 index 21c38a3e7..000000000 --- a/.evergreen/config/generated/test/require-api-version-7.0.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. -tasks: - - name: "test-mongodb-7.0-requireApiVersion" - tags: ["standalone", "local", "7.0", "versioned_api", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - AUTH: "auth" - REQUIRE_API_VERSION: "yes" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - API_VERSION: "1" - - - name: "test-mongodb-7.0-acceptApiVersion2" - tags: ["standalone", "local", "7.0", "versioned_api"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - ORCHESTRATION_FILE: "versioned-api-testing.json" - MONGODB_VERSION: "7.0" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "versioned-api" diff --git a/.evergreen/config/generated/test/require-api-version-latest.yml b/.evergreen/config/generated/test/require-api-version-latest.yml deleted file mode 100644 index af4cfbe5e..000000000 --- a/.evergreen/config/generated/test/require-api-version-latest.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. -tasks: - - name: "test-mongodb-latest-requireApiVersion" - tags: ["standalone", "local", "latest", "versioned_api", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - AUTH: "auth" - REQUIRE_API_VERSION: "yes" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - API_VERSION: "1" - - - name: "test-mongodb-latest-acceptApiVersion2" - tags: ["standalone", "local", "latest", "versioned_api"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - ORCHESTRATION_FILE: "versioned-api-testing.json" - MONGODB_VERSION: "latest" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "versioned-api" diff --git a/.evergreen/config/generated/test/require-api-version-rapid.yml b/.evergreen/config/generated/test/require-api-version-rapid.yml deleted file mode 100644 index 0c4234bea..000000000 --- a/.evergreen/config/generated/test/require-api-version-rapid.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. -tasks: - - name: "test-mongodb-rapid-requireApiVersion" - tags: ["standalone", "local", "rapid", "versioned_api", "pr", "tag"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - AUTH: "auth" - REQUIRE_API_VERSION: "yes" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - API_VERSION: "1" - - - name: "test-mongodb-rapid-acceptApiVersion2" - tags: ["standalone", "local", "rapid", "versioned_api"] - commands: - - func: "bootstrap mongo-orchestration" - vars: - TOPOLOGY: "server" - ORCHESTRATION_FILE: "versioned-api-testing.json" - MONGODB_VERSION: "rapid" - - func: "start kms servers" - - func: "set aws temp creds" - - func: "run tests" - vars: - TESTS: "versioned-api" diff --git a/.evergreen/config/generated/test/require-api-version.yml b/.evergreen/config/generated/test/require-api-version.yml new file mode 100644 index 000000000..bf07c6e6d --- /dev/null +++ b/.evergreen/config/generated/test/require-api-version.yml @@ -0,0 +1,142 @@ +# This file is generated automatically - please edit the "templates/test/require-api-version.yml" template file instead. +tasks: + - name: "test-mongodb-latest-requireApiVersion" + tags: ["standalone", "local", "latest", "versioned_api", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + AUTH: "auth" + REQUIRE_API_VERSION: "yes" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + API_VERSION: "1" + + - name: "test-mongodb-latest-acceptApiVersion2" + tags: ["standalone", "local", "latest", "versioned_api"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + ORCHESTRATION_FILE: "versioned-api-testing.json" + MONGODB_VERSION: "latest" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "versioned-api" + - name: "test-mongodb-rapid-requireApiVersion" + tags: ["standalone", "local", "rapid", "versioned_api", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + AUTH: "auth" + REQUIRE_API_VERSION: "yes" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + API_VERSION: "1" + + - name: "test-mongodb-rapid-acceptApiVersion2" + tags: ["standalone", "local", "rapid", "versioned_api"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + ORCHESTRATION_FILE: "versioned-api-testing.json" + MONGODB_VERSION: "rapid" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "versioned-api" + - name: "test-mongodb-7.0-requireApiVersion" + tags: ["standalone", "local", "7.0", "versioned_api", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + AUTH: "auth" + REQUIRE_API_VERSION: "yes" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + API_VERSION: "1" + + - name: "test-mongodb-7.0-acceptApiVersion2" + tags: ["standalone", "local", "7.0", "versioned_api"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + ORCHESTRATION_FILE: "versioned-api-testing.json" + MONGODB_VERSION: "7.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "versioned-api" + - name: "test-mongodb-6.0-requireApiVersion" + tags: ["standalone", "local", "6.0", "versioned_api", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + AUTH: "auth" + REQUIRE_API_VERSION: "yes" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + API_VERSION: "1" + + - name: "test-mongodb-6.0-acceptApiVersion2" + tags: ["standalone", "local", "6.0", "versioned_api"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + ORCHESTRATION_FILE: "versioned-api-testing.json" + MONGODB_VERSION: "6.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "versioned-api" + - name: "test-mongodb-5.0-requireApiVersion" + tags: ["standalone", "local", "5.0", "versioned_api", "pr", "tag"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + AUTH: "auth" + REQUIRE_API_VERSION: "yes" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + API_VERSION: "1" + + - name: "test-mongodb-5.0-acceptApiVersion2" + tags: ["standalone", "local", "5.0", "versioned_api"] + commands: + - func: "bootstrap mongo-orchestration" + vars: + TOPOLOGY: "server" + ORCHESTRATION_FILE: "versioned-api-testing.json" + MONGODB_VERSION: "5.0" + - func: "start kms servers" + - func: "set aws temp creds" + - func: "run tests" + vars: + TESTS: "versioned-api" diff --git a/.evergreen/config/templates/build/build-extension.yml b/.evergreen/config/templates/build/build-extension.yml index 5484697d1..eb62f3387 100644 --- a/.evergreen/config/templates/build/build-extension.yml +++ b/.evergreen/config/templates/build/build-extension.yml @@ -1,4 +1,3 @@ -tasks: - name: "build-php-%phpVersion%" tags: ["build", "php%phpVersion%", "stable", "pr", "tag"] commands: diff --git a/.evergreen/config/templates/test-variant/latest.yml b/.evergreen/config/templates/test-variant/latest.yml index 4973697ed..3bcc1db7d 100644 --- a/.evergreen/config/templates/test-variant/latest.yml +++ b/.evergreen/config/templates/test-variant/latest.yml @@ -1,4 +1,3 @@ -buildvariants: - name: test-debian11-php-%phpVersion%-local tags: ["test", "debian", "x64", "php%phpVersion%", "pr", "tag"] display_name: "Test: Debian 11, PHP %phpVersion%" diff --git a/.evergreen/config/templates/test-variant/lowest.yml b/.evergreen/config/templates/test-variant/lowest.yml index 9db3d3fb9..bd7513d32 100644 --- a/.evergreen/config/templates/test-variant/lowest.yml +++ b/.evergreen/config/templates/test-variant/lowest.yml @@ -1,4 +1,3 @@ -buildvariants: - 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" diff --git a/.evergreen/config/templates/test-variant/replicaset-only.yml b/.evergreen/config/templates/test-variant/replicaset-only.yml index 17f22f9f0..a6e562306 100644 --- a/.evergreen/config/templates/test-variant/replicaset-only.yml +++ b/.evergreen/config/templates/test-variant/replicaset-only.yml @@ -1,4 +1,3 @@ -buildvariants: - name: test-debian11-php-%phpVersion%-local tags: [ "test", "debian", "x64", "php%phpVersion%", "pr", "tag" ] display_name: "Test: Debian 11, PHP %phpVersion%" diff --git a/.evergreen/config/templates/test/csfle.yml b/.evergreen/config/templates/test/csfle.yml index 3713061e4..995af2cba 100644 --- a/.evergreen/config/templates/test/csfle.yml +++ b/.evergreen/config/templates/test/csfle.yml @@ -1,4 +1,3 @@ -tasks: - name: "test-mongodb-%mongodbVersion%-crypt-shared" tags: ["replicaset", "local", "%mongodbVersion%", "csfle", "tag"] commands: diff --git a/.evergreen/config/templates/test/load-balanced.yml b/.evergreen/config/templates/test/load-balanced.yml index f9933a508..5b3c4233b 100644 --- a/.evergreen/config/templates/test/load-balanced.yml +++ b/.evergreen/config/templates/test/load-balanced.yml @@ -1,4 +1,3 @@ -tasks: - name: "test-mongodb-%mongodbVersion%-loadbalanced" tags: ["loadbalanced", "local", "%mongodbVersion%", "tag"] commands: diff --git a/.evergreen/config/templates/test/local.yml b/.evergreen/config/templates/test/local.yml index 29cef4c52..e527f18fd 100644 --- a/.evergreen/config/templates/test/local.yml +++ b/.evergreen/config/templates/test/local.yml @@ -1,4 +1,3 @@ -tasks: - name: "test-mongodb-%mongodbVersion%-standalone-noauth-nossl" tags: ["standalone", "local", "%mongodbVersion%", "tag"] commands: diff --git a/.evergreen/config/templates/test/require-api-version.yml b/.evergreen/config/templates/test/require-api-version.yml index 624f71706..54a00c94a 100644 --- a/.evergreen/config/templates/test/require-api-version.yml +++ b/.evergreen/config/templates/test/require-api-version.yml @@ -1,4 +1,3 @@ -tasks: - name: "test-mongodb-%mongodbVersion%-requireApiVersion" tags: ["standalone", "local", "%mongodbVersion%", "versioned_api", "pr", "tag"] commands: