Add INCLUDE_JOBS parameter to pre_defined_pr_test pipeline#23244
Merged
xwjiang-ms merged 1 commit intosonic-net:masterfrom Mar 24, 2026
Merged
Add INCLUDE_JOBS parameter to pre_defined_pr_test pipeline#23244xwjiang-ms merged 1 commit intosonic-net:masterfrom
xwjiang-ms merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
auspham
approved these changes
Mar 24, 2026
ravaliyel
pushed a commit
to ravaliyel/sonic-mgmt
that referenced
this pull request
Mar 27, 2026
Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Pass the
INCLUDE_JOBSparameter throughpre_defined_pr_test.ymlso that pre-defined PR test runs can execute the full job set (default"all"), complementing the change introduced in #23123.Type of change
Back port request
Approach
What is the motivation for this PR?
#23123 added
INCLUDE_JOBStopr_test_template.ymlwith a default oft0_job,t1_job,t2_jobso that regular PR tests stay scoped to t0/t1/t2, while baseline tests passINCLUDE_JOBS: allto run every job. However,pre_defined_pr_test.ymlwas not updated and therefore could not passINCLUDE_JOBSthrough to the shared template. Pre-defined PR tests should be able to run all tests, so this parameter needs to be plumbed through.How did you do it?
INCLUDE_JOBSparameter (type: string, default:"all") topre_defined_pr_test.yml.INCLUDE_JOBSinto the stage template variables so the downstreampr_test_template.ymlreceives it and enables all jobs by default.How did you verify/test it?
Verified the pipeline YAML syntax is valid and the parameter is correctly forwarded to the stage template variables.
Any platform specific information?
N/A
Supported testbed topology if it's a new test case?
N/A
Documentation
N/A