Skip to content

DEVPROD-7042 Added tasks in generated tasks #74

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions src/services/config_extraction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ impl ConfigExtractionService for ConfigExtractionServiceImpl {
is_enterprise,
platform: Some(evg_config_utils.infer_build_variant_platform(build_variant)),
gen_task_suffix,
tags: task_def.tags.clone(),
})
}

Expand Down Expand Up @@ -289,6 +290,7 @@ impl ConfigExtractionService for ConfigExtractionServiceImpl {
pass_through_vars: self.evg_config_utils.get_gen_task_vars(task_def),
platform,
gen_task_suffix,
tags: task_def.tags.clone(),
})
}

Expand Down
3 changes: 3 additions & 0 deletions src/task_types/fuzzer_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ pub struct FuzzerGenTaskParams {
pub platform: Option<String>,
/// Name of variant specific suffix to add to tasks
pub gen_task_suffix: Option<String>,
/// Tags to use in the generated tasks
pub tags: Option<Vec<String>>,
}

impl FuzzerGenTaskParams {
Expand Down Expand Up @@ -303,6 +305,7 @@ fn build_fuzzer_sub_task(
name: formatted_name,
commands: Some(commands),
depends_on: params.get_dependencies(),
tags: params.tags.clone(),
..Default::default()
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/task_types/resmoke_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ pub struct ResmokeGenParams {
pub platform: Option<String>,
/// Name of variant specific suffix to add to tasks
pub gen_task_suffix: Option<String>,
/// Tags to use in the generated tasks
pub tags: Option<Vec<String>>,
}

impl ResmokeGenParams {
Expand Down Expand Up @@ -782,6 +784,7 @@ impl GenResmokeTaskService for GenResmokeTaskServiceImpl {
params.require_multiversion_setup,
)),
depends_on: params.get_dependencies(),
tags: params.tags.clone(),
..Default::default()
},
use_large_distro: params.use_large_distro,
Expand Down