diff options
Diffstat (limited to 'etc/evergreen_yml_components')
-rw-r--r-- | etc/evergreen_yml_components/definitions.yml | 61 | ||||
-rw-r--r-- | etc/evergreen_yml_components/variants/task_generation.yml | 1 |
2 files changed, 60 insertions, 2 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index 5019ac2225a..89ae290d97b 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -102,6 +102,19 @@ variables: vars: resmoke_args: --help +- &gen_burn_in_task_template + name: gen_burn_in_task_template + depends_on: + - name: version_gen + variant: generate-tasks-for-version + - name: version_burn_in_gen + variant: generate-tasks-for-version + - name: archive_dist_test_debug + commands: + - func: "generate resmoke tasks" + vars: + resmoke_args: --help + - &benchmark_template name: benchmark_template depends_on: @@ -1033,6 +1046,38 @@ functions: files: - src/generated_resmoke_config/*.json + "generate version burn in": + - *f_expansions_write + - *configure_evergreen_api_credentials + - command: subprocess.exec + type: test + params: + binary: bash + args: + - "./src/evergreen/generate_version_burn_in.sh" + - command: archive.targz_pack + params: + target: generate_tasks_config.tgz + source_dir: src/generated_resmoke_config + include: + - "*" + - command: s3.put + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: generate_tasks_config.tgz + remote_file: ${project}/${revision}/generate_tasks/generated-burn-in-config-${version_id}.tgz + bucket: mciuploads + permissions: public-read + content_type: ${content_type|application/gzip} + display_name: Generated Burn In Task Config - Execution ${execution} + optional: true + - command: generate.tasks + params: + optional: true + files: + - src/generated_resmoke_config/*.json + "generate resmoke tasks": - *fetch_artifacts - *f_expansions_write @@ -3248,7 +3293,7 @@ tasks: args: - "src/evergreen/check_idl_compat.sh" -- <<: *gen_task_template +- <<: *gen_burn_in_task_template name: burn_in_tests_gen tags: [] commands: @@ -4313,7 +4358,7 @@ tasks: commands: - func: "generate resmoke tasks" -- <<: *gen_task_template +- <<: *gen_burn_in_task_template name: burn_in_tags_gen tags: [] commands: @@ -4331,6 +4376,18 @@ tasks: - func: "upload pip requirements" - func: "generate version" +- name: version_burn_in_gen + commands: + - command: manifest.load + - *git_get_project + - *f_expansions_write + - *add_git_tag + - *kill_processes + - *cleanup_environment + - func: "set up venv" + - func: "upload pip requirements" + - func: "generate version burn in" + - name: version_expansions_gen commands: - command: manifest.load diff --git a/etc/evergreen_yml_components/variants/task_generation.yml b/etc/evergreen_yml_components/variants/task_generation.yml index 6a345919a67..ba97594f051 100644 --- a/etc/evergreen_yml_components/variants/task_generation.yml +++ b/etc/evergreen_yml_components/variants/task_generation.yml @@ -10,4 +10,5 @@ buildvariants: - rhel80-medium tasks: - name: version_gen + - name: version_burn_in_gen - name: version_expansions_gen |