diff options
author | Mikhail Shchatko <mikhail.shchatko@mongodb.com> | 2022-07-29 08:35:33 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-29 09:04:37 +0000 |
commit | 368542c6aa8a129b461e54582ed0913fc72cdfb8 (patch) | |
tree | ca0c5c9b2a8cd9c6f57198bff9a57f818080f40a /etc/evergreen_yml_components | |
parent | 35978285c4be21c80e4781a827fda307e4b040a0 (diff) | |
download | mongo-368542c6aa8a129b461e54582ed0913fc72cdfb8.tar.gz |
SERVER-66369 Generate burn_in_tests and burn_in_tags using mongo-task-generator
Diffstat (limited to 'etc/evergreen_yml_components')
-rw-r--r-- | etc/evergreen_yml_components/definitions.yml | 94 |
1 files changed, 6 insertions, 88 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index 6a3f161f7e2..2241b014d69 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -45,9 +45,6 @@ parameters: - key: antithesis_image_tag description: "The docker tag to use when pushing images to Antithesis" -- key: burn_in_tests - description: "Comma separated list of jstests to include when running burn_in_tests" - ## Cron parameters. - key: project_required_suggested_cron value: "0 */4 * * *" # Every 4 hours starting at 0000 UTC @@ -1038,36 +1035,6 @@ functions: files: - src/generated_resmoke_config/*.json - "generate burn in tags": - - *f_expansions_write - - *configure_evergreen_api_credentials - - command: subprocess.exec - type: test - params: - binary: bash - args: - - "./src/evergreen/burn_in_tests_generate.sh" - - command: archive.targz_pack - params: - target: burn_in_tags_gen.tgz - source_dir: src/generated_burn_in_tags_config - include: - - "*" - - command: s3.put - params: - aws_key: ${aws_key} - aws_secret: ${aws_secret} - local_file: burn_in_tags_gen.tgz - remote_file: ${project}/${build_variant}/${revision}/burn_in_tags_gen/burn_in_tags_gen-${build_id}.tgz - bucket: mciuploads - permissions: public-read - content_type: application/gzip - display_name: Burn_in_tags Task Config - Execution ${execution} - - command: generate.tasks - params: - files: - - src/generated_burn_in_tags_config/burn_in_tags_gen.json - "generate resmoke tasks": - *fetch_artifacts - *f_expansions_write @@ -3218,46 +3185,11 @@ tasks: args: - "src/evergreen/check_idl_compat.sh" -- name: burn_in_tests_gen +- <<: *gen_task_template + name: burn_in_tests_gen tags: [] commands: - - command: manifest.load - - func: "git get project and add git tag" - - *f_expansions_write - - *kill_processes - - *cleanup_environment - - func: "set up venv" - - func: "upload pip requirements" - - func: "configure evergreen api credentials" - - command: subprocess.exec - type: test - params: - binary: bash - args: - - "src/evergreen/burn_in_tests.sh" - env: - BURN_IN_TESTS: ${burn_in_tests} - - command: archive.targz_pack - params: - target: src/burn_in_tests_gen.tgz - source_dir: src - include: - - burn_in_tests_gen.json - - - command: s3.put - params: - aws_key: ${aws_key} - aws_secret: ${aws_secret} - local_file: src/burn_in_tests_gen.tgz - remote_file: ${project}/${build_variant}/${revision}/burn_in_tests_gen/burn_in_tests_gen-${build_id}.tgz - bucket: mciuploads - permissions: public-read - content_type: application/gzip - display_name: Burn_in_tests Task Config - Execution ${execution} - - command: generate.tasks - params: - files: - - src/burn_in_tests_gen.json + - func: "generate resmoke tasks" - <<: *benchmark_template name: benchmarks_orphaned @@ -4318,25 +4250,11 @@ tasks: commands: - func: "generate resmoke tasks" -- name: burn_in_tags_gen +- <<: *gen_task_template + name: burn_in_tags_gen tags: [] - depends_on: - - name: archive_dist_test commands: - - command: manifest.load - - func: "git get project and add git tag" - - *f_expansions_write - - *kill_processes - - *cleanup_environment - - func: "set up venv" - - func: "upload pip requirements" - - func: "configure evergreen api credentials" - - func: "generate burn in tags" - vars: - max_revisions: 25 - repeat_tests_secs: 600 - repeat_tests_min: 2 - repeat_tests_max: 1000 + - func: "generate resmoke tasks" - name: version_gen commands: |