From f8a83c898f18e3ebcd7c0ddd2e1773d8a771b346 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Wed, 16 Dec 2020 17:08:53 -0800 Subject: [PATCH] Remove checkout bundle and job to improve reliability (#46107) * Remove checkout bundle and job to improve reliability * comment * Fix build error * Rename evaluate paths job to a valid name * Fix references to evaluate path variables * Condition evaluate paths dependency on common parameter * Bring back fetch depth to 20 * PR Feedback --- eng/pipelines/common/checkout-job.yml | 62 ------- .../common/clone-checkout-bundle-step.yml | 12 -- ...e-paths.yml => evaluate-default-paths.yml} | 3 +- eng/pipelines/common/evaluate-paths-job.yml | 52 ++++++ eng/pipelines/common/global-build-job.yml | 9 +- .../templates/runtimes/build-test-job.yml | 2 + .../templates/runtimes/run-test-job.yml | 2 + eng/pipelines/common/variables.yml | 4 + eng/pipelines/common/xplat-setup.yml | 6 + eng/pipelines/coreclr/ci.yml | 5 - eng/pipelines/coreclr/clrinterpreter.yml | 4 - eng/pipelines/coreclr/crossgen2-composite.yml | 4 - eng/pipelines/coreclr/crossgen2-gcstress.yml | 4 - eng/pipelines/coreclr/crossgen2-outerloop.yml | 4 - eng/pipelines/coreclr/crossgen2.yml | 4 - eng/pipelines/coreclr/gc-longrunning.yml | 4 - eng/pipelines/coreclr/gc-simulator.yml | 4 - eng/pipelines/coreclr/gcstress-extra.yml | 4 - .../coreclr/gcstress0x3-gcstress0xc.yml | 4 - eng/pipelines/coreclr/ilasm.yml | 4 - eng/pipelines/coreclr/jit-experimental.yml | 4 - eng/pipelines/coreclr/jitrollingbuild.yml | 4 - eng/pipelines/coreclr/jitstress-isas-arm.yml | 4 - eng/pipelines/coreclr/jitstress-isas-x86.yml | 4 - eng/pipelines/coreclr/jitstress.yml | 4 - .../coreclr/jitstress2-jitstressregs.yml | 4 - eng/pipelines/coreclr/jitstressregs-x86.yml | 4 - eng/pipelines/coreclr/jitstressregs.yml | 4 - .../coreclr/libraries-gcstress-extra.yml | 4 - .../libraries-gcstress0x3-gcstress0xc.yml | 4 - eng/pipelines/coreclr/libraries-jitstress.yml | 4 - .../libraries-jitstress2-jitstressregs.yml | 4 - .../coreclr/libraries-jitstressregs.yml | 4 - eng/pipelines/coreclr/perf.yml | 4 - eng/pipelines/coreclr/r2r-extra.yml | 4 - eng/pipelines/coreclr/r2r.yml | 4 - eng/pipelines/coreclr/release-tests.yml | 4 - eng/pipelines/coreclr/runincontext.yml | 4 - eng/pipelines/coreclr/superpmi.yml | 5 - .../coreclr/templates/build-jit-job.yml | 2 + eng/pipelines/coreclr/templates/build-job.yml | 2 + .../coreclr/templates/crossdac-pack.yml | 2 + .../templates/crossgen-comparison-job.yml | 2 + .../crossgen2-comparison-build-job.yml | 2 + .../templates/crossgen2-comparison-job.yml | 2 + .../coreclr/templates/format-job.yml | 2 + .../coreclr/templates/helix-queues-setup.yml | 2 + .../coreclr/templates/run-superpmi-job.yml | 2 + eng/pipelines/coreclr/templates/xplat-job.yml | 9 +- .../coreclr/templates/xplat-pipeline-job.yml | 2 + eng/pipelines/global-build.yml | 5 - eng/pipelines/installer/jobs/base-job.yml | 8 +- eng/pipelines/libraries/base-job.yml | 8 +- eng/pipelines/libraries/build-job.yml | 2 + .../libraries/helix-queues-setup.yml | 2 + eng/pipelines/libraries/outerloop-mono.yml | 1 - eng/pipelines/libraries/outerloop.yml | 1 - eng/pipelines/libraries/run-test-job.yml | 2 + eng/pipelines/mono/templates/build-job.yml | 2 + eng/pipelines/mono/templates/xplat-job.yml | 8 +- .../mono/templates/xplat-pipeline-job.yml | 2 + .../jobs/prepare-signed-artifacts.yml | 4 +- eng/pipelines/runtime-linker-tests.yml | 5 - eng/pipelines/runtime-official.yml | 4 - eng/pipelines/runtime-staging.yml | 19 +-- eng/pipelines/runtime.yml | 151 +++++++++--------- eng/pipelines/runtimelab.yml | 4 - 67 files changed, 218 insertions(+), 313 deletions(-) delete mode 100644 eng/pipelines/common/checkout-job.yml delete mode 100644 eng/pipelines/common/clone-checkout-bundle-step.yml rename eng/pipelines/common/{checkout-and-evaluate-paths.yml => evaluate-default-paths.yml} (94%) create mode 100644 eng/pipelines/common/evaluate-paths-job.yml diff --git a/eng/pipelines/common/checkout-job.yml b/eng/pipelines/common/checkout-job.yml deleted file mode 100644 index 9d7f4272d667c..0000000000000 --- a/eng/pipelines/common/checkout-job.yml +++ /dev/null @@ -1,62 +0,0 @@ -### Check out job creating a git bundle and publishing it -### into an Azure artifact for reuse by the subsequent build and test execution phases. -### If paths is specified, we will create a job using evaluate-changed-paths.yml template -### for each path specified. - -parameters: - # Object containing subset include and exclude paths in an array form. - # Scenarios: - # 1. exclude paths are specified - # Will include all paths except the ones in the exclude list. - # 2. include paths are specified - # Will only include paths specified in the list. - # 3. exclude + include: - # 1st we evaluate changes for all paths except ones in excluded list. If we can't find - # any applicable changes like that, then we evaluate changes for incldued paths - # if any of these two finds changes, then a variable will be set to true. - # In order to consume this variable you need to reference it via: $[ dependencies.checkout.outputs['SetPathVars_.containschange'] ] - # - # Array form example - # paths: - # - subset: coreclr - # include: - # - src/libraries/System.Private.CoreLib/* - # exclude: - # - src/libraries/* - # - # This example will include ALL path changes except the ones under src/libraries/*!System.Private.CoreLib/* - paths: [] - -jobs: -- job: checkout - displayName: Checkout - - pool: - vmImage: 'macOS-10.14' - - steps: - - checkout: self - clean: true - fetchDepth: 20 - - - script: git bundle create $(Build.StagingDirectory)/Checkout.bundle HEAD - displayName: Create Checkout.bundle - - - publish: $(Build.StagingDirectory)/Checkout.bundle - artifact: Checkout_bundle - displayName: Upload Checkout.bundle - - - ${{ if and(ne(parameters.paths[0], ''), eq(variables['Build.Reason'], 'PullRequest')) }}: - - ${{ each path in parameters.paths }}: - - template: evaluate-changed-paths.yml - parameters: - subsetName: ${{ path.subset }} - arguments: - # The commit that we're building is always a merge commit that is merging into the target branch. - # So the first parent of the commit is on the target branch and the second parent is on the source branch. - - --difftarget HEAD^1 - - --subset ${{ path.subset }} - - ${{ if ne(path.include[0], '') }}: - - --includepaths '${{ join('+', path.include) }}' - - ${{ if ne(path.exclude[0], '') }}: - - --excludepaths '${{ join('+', path.exclude) }}' diff --git a/eng/pipelines/common/clone-checkout-bundle-step.yml b/eng/pipelines/common/clone-checkout-bundle-step.yml deleted file mode 100644 index 41ac16e483539..0000000000000 --- a/eng/pipelines/common/clone-checkout-bundle-step.yml +++ /dev/null @@ -1,12 +0,0 @@ -steps: -- checkout: none - -- download: current - artifact: Checkout_bundle - displayName: Download Checkout.bundle - -- script: | - $(setScriptToEchoAndFailOnNonZero) - git clone $(Pipeline.Workspace)/Checkout_bundle/Checkout.bundle . - git remote set-url origin $(Build.Repository.Uri) - displayName: Clone the repository from Checkout.bundle diff --git a/eng/pipelines/common/checkout-and-evaluate-paths.yml b/eng/pipelines/common/evaluate-default-paths.yml similarity index 94% rename from eng/pipelines/common/checkout-and-evaluate-paths.yml rename to eng/pipelines/common/evaluate-default-paths.yml index 455645b49378c..389562d859f49 100644 --- a/eng/pipelines/common/checkout-and-evaluate-paths.yml +++ b/eng/pipelines/common/evaluate-default-paths.yml @@ -1,8 +1,9 @@ +# Template to evaluate common paths in different pipelines. parameters: extraSubsets: '' jobs: -- template: /eng/pipelines/common/checkout-job.yml +- template: /eng/pipelines/common/evaluate-paths-job.yml parameters: paths: - subset: coreclr diff --git a/eng/pipelines/common/evaluate-paths-job.yml b/eng/pipelines/common/evaluate-paths-job.yml new file mode 100644 index 0000000000000..58f0e96389b64 --- /dev/null +++ b/eng/pipelines/common/evaluate-paths-job.yml @@ -0,0 +1,52 @@ +### Job used to evaluate changed paths on a pull request to emit variables to condition jobs based on paths. + +parameters: + # Object containing subset include and exclude paths in an array form. + # Scenarios: + # 1. exclude paths are specified + # Will include all paths except the ones in the exclude list. + # 2. include paths are specified + # Will only include paths specified in the list. + # 3. exclude + include: + # 1st we evaluate changes for all paths except ones in excluded list. If we can't find + # any applicable changes like that, then we evaluate changes for incldued paths + # if any of these two finds changes, then a variable will be set to true. + # In order to consume this variable you need to reference it via: $[ dependencies.evaluate_paths.outputs['SetPathVars_.containschange'] ] + # + # Array form example + # paths: + # - subset: coreclr + # include: + # - src/libraries/System.Private.CoreLib/* + # exclude: + # - src/libraries/* + # + # This example will include ALL path changes under src/libraries/ except the ones under src/libraries/*!System.Private.CoreLib/* + paths: [] + + +jobs: + - job: evaluate_paths + displayName: Evaluate Paths + pool: + vmImage: 'macOS-10.14' + + steps: + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) + + - ${{ if ne(parameters.paths[0], '') }}: + - ${{ each path in parameters.paths }}: + - template: evaluate-changed-paths.yml + parameters: + subsetName: ${{ path.subset }} + arguments: + # The commit that we're building is always a merge commit that is merging into the target branch. + # So the first parent of the commit is on the target branch and the second parent is on the source branch. + - --difftarget HEAD^1 + - --subset ${{ path.subset }} + - ${{ if ne(path.include[0], '') }}: + - --includepaths '${{ join('+', path.include) }}' + - ${{ if ne(path.exclude[0], '') }}: + - --excludepaths '${{ join('+', path.exclude) }}' diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index efdd1e83addb3..6a51fa839307e 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -15,6 +15,7 @@ parameters: platform: '' condition: true shouldContinueOnError: false + dependOnEvaluatePaths: false isOfficialBuild: false runtimeFlavor: 'coreclr' helixQueues: '' @@ -26,7 +27,6 @@ jobs: parameters: name: ${{ format('build_{0}{1}_{2}_{3}_{4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }} displayName: ${{ format('Build {0}{1} {2} {3} {4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.nameSuffix) }} - dependsOn: checkout pool: ${{ parameters.pool }} container: ${{ parameters.container }} condition: and(succeeded(), ${{ parameters.condition }}) @@ -34,6 +34,9 @@ jobs: workspace: clean: all + ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + dependsOn: evaluate_paths + variables: - name: _osParameter value: -os ${{ parameters.osGroup }} @@ -66,7 +69,9 @@ jobs: - ${{ variable }} steps: - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) - ${{ if eq(parameters.isOfficialBuild, true) }}: - template: /eng/pipelines/common/restore-internal-tools.yml diff --git a/eng/pipelines/common/templates/runtimes/build-test-job.yml b/eng/pipelines/common/templates/runtimes/build-test-job.yml index 313cb5e7cea37..cb84d3420d52c 100644 --- a/eng/pipelines/common/templates/runtimes/build-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/build-test-job.yml @@ -23,6 +23,7 @@ parameters: runtimeFlavorDisplayName: 'CoreCLR' runtimeVariant: '' dependsOn: [] + dependOnEvaluatePaths: false ### Build managed test components (native components are getting built as part ### of the the product build job). @@ -47,6 +48,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} variables: ${{ parameters.variables }} pool: ${{ parameters.pool }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Test jobs should continue on error for internal builds ${{ if eq(variables['System.TeamProject'], 'internal') }}: diff --git a/eng/pipelines/common/templates/runtimes/run-test-job.yml b/eng/pipelines/common/templates/runtimes/run-test-job.yml index 6d40d18e116eb..eac13a734eca9 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -23,6 +23,7 @@ parameters: runtimeFlavorDisplayName: 'CoreCLR' shouldContinueOnError: false dependsOn: [] + dependOnEvaluatePaths: false ### Test run job @@ -46,6 +47,7 @@ jobs: runtimeVariant: ${{ parameters.runtimeVariant }} pool: ${{ parameters.pool }} condition: ${{ parameters.condition }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Test jobs should continue on error for internal builds ${{ if eq(variables['System.TeamProject'], 'internal') }}: diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index 188eeeb6ad74a..760543475a751 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -3,6 +3,10 @@ variables: value: ${{ and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} - name: isFullMatrix value: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} + +# We only run evaluate paths on runtime and runtime-staging pipelines on PRs +- name: dependOnEvaluatePaths + value: ${{ and(eq(variables['Build.Reason'], 'PullRequest'), in(variables['Build.DefinitionName'], 'runtime', 'runtime-staging')) }} - name: debugOnPrReleaseOnRolling ${{ if ne(variables['Build.Reason'], 'PullRequest') }}: value: Release diff --git a/eng/pipelines/common/xplat-setup.yml b/eng/pipelines/common/xplat-setup.yml index cf78ddf037c2a..c9929621eb17b 100644 --- a/eng/pipelines/common/xplat-setup.yml +++ b/eng/pipelines/common/xplat-setup.yml @@ -20,6 +20,9 @@ jobs: shouldContinueOnError: ${{ and(endsWith(variables['Build.DefinitionName'], 'staging'), eq(variables['Build.Reason'], 'PullRequest')) }} + # keep in sync with /eng/pipelines/common/variables.yml + dependOnEvaluatePaths: ${{ and(eq(variables['Build.Reason'], 'PullRequest'), in(variables['Build.DefinitionName'], 'runtime', 'runtime-staging')) }} + variables: # Disable component governance in our CI builds. These builds are not shipping nor # are they a service. Also the component governance jobs issue lots of inconsequential @@ -30,6 +33,9 @@ jobs: - name: runCodesignValidationInjection value: false + - name: checkoutFetchDepth + value: 20 + - name: buildConfigUpper ${{ if eq(parameters.jobParameters.buildConfig, 'debug') }}: value: 'Debug' diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index ea79101e9b43d..dae6c1991f4ea 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -26,11 +26,6 @@ trigger: jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - # # Debug builds # diff --git a/eng/pipelines/coreclr/clrinterpreter.yml b/eng/pipelines/coreclr/clrinterpreter.yml index 9a86c65885a0d..afd30afeb6b41 100644 --- a/eng/pipelines/coreclr/clrinterpreter.yml +++ b/eng/pipelines/coreclr/clrinterpreter.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/crossgen2-composite.yml b/eng/pipelines/coreclr/crossgen2-composite.yml index 7e60b582eade7..8c8a734c230f3 100644 --- a/eng/pipelines/coreclr/crossgen2-composite.yml +++ b/eng/pipelines/coreclr/crossgen2-composite.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/crossgen2-gcstress.yml b/eng/pipelines/coreclr/crossgen2-gcstress.yml index b0eccd168ca63..91fd57df331bc 100644 --- a/eng/pipelines/coreclr/crossgen2-gcstress.yml +++ b/eng/pipelines/coreclr/crossgen2-gcstress.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/crossgen2-outerloop.yml b/eng/pipelines/coreclr/crossgen2-outerloop.yml index e7f7d12b4bafa..bbee75f5fb650 100644 --- a/eng/pipelines/coreclr/crossgen2-outerloop.yml +++ b/eng/pipelines/coreclr/crossgen2-outerloop.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/crossgen2.yml b/eng/pipelines/coreclr/crossgen2.yml index 01c84fa43b41d..e6899918318ca 100644 --- a/eng/pipelines/coreclr/crossgen2.yml +++ b/eng/pipelines/coreclr/crossgen2.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/gc-longrunning.yml b/eng/pipelines/coreclr/gc-longrunning.yml index 7f1d2c7d2e47b..354d0478469f7 100644 --- a/eng/pipelines/coreclr/gc-longrunning.yml +++ b/eng/pipelines/coreclr/gc-longrunning.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/gc-simulator.yml b/eng/pipelines/coreclr/gc-simulator.yml index d329cbf898056..ed48e1c628868 100644 --- a/eng/pipelines/coreclr/gc-simulator.yml +++ b/eng/pipelines/coreclr/gc-simulator.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/gcstress-extra.yml b/eng/pipelines/coreclr/gcstress-extra.yml index 49bdf82dd7184..a80132fae4dcb 100644 --- a/eng/pipelines/coreclr/gcstress-extra.yml +++ b/eng/pipelines/coreclr/gcstress-extra.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml b/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml index 7f5def929d1d7..ac69b525850ad 100644 --- a/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml +++ b/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/ilasm.yml b/eng/pipelines/coreclr/ilasm.yml index d7554c288bd91..1aa2757c1e9a2 100644 --- a/eng/pipelines/coreclr/ilasm.yml +++ b/eng/pipelines/coreclr/ilasm.yml @@ -18,10 +18,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jit-experimental.yml b/eng/pipelines/coreclr/jit-experimental.yml index f4bd8a36dce2a..eb209a1643260 100644 --- a/eng/pipelines/coreclr/jit-experimental.yml +++ b/eng/pipelines/coreclr/jit-experimental.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitrollingbuild.yml b/eng/pipelines/coreclr/jitrollingbuild.yml index d835a05c6f45f..cd2a0b44f67ca 100644 --- a/eng/pipelines/coreclr/jitrollingbuild.yml +++ b/eng/pipelines/coreclr/jitrollingbuild.yml @@ -12,10 +12,6 @@ trigger: pr: none jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstress-isas-arm.yml b/eng/pipelines/coreclr/jitstress-isas-arm.yml index d092dbff615e2..260ec5e2b218b 100644 --- a/eng/pipelines/coreclr/jitstress-isas-arm.yml +++ b/eng/pipelines/coreclr/jitstress-isas-arm.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstress-isas-x86.yml b/eng/pipelines/coreclr/jitstress-isas-x86.yml index c1fd897aef23d..87d3c1e5a60cb 100644 --- a/eng/pipelines/coreclr/jitstress-isas-x86.yml +++ b/eng/pipelines/coreclr/jitstress-isas-x86.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstress.yml b/eng/pipelines/coreclr/jitstress.yml index 1d61c1e66b871..b8df154ba0e91 100644 --- a/eng/pipelines/coreclr/jitstress.yml +++ b/eng/pipelines/coreclr/jitstress.yml @@ -15,10 +15,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstress2-jitstressregs.yml b/eng/pipelines/coreclr/jitstress2-jitstressregs.yml index dba445ae78209..5a3933e6218f5 100644 --- a/eng/pipelines/coreclr/jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstress2-jitstressregs.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstressregs-x86.yml b/eng/pipelines/coreclr/jitstressregs-x86.yml index a93f65b8b28b6..83294c63c95ea 100644 --- a/eng/pipelines/coreclr/jitstressregs-x86.yml +++ b/eng/pipelines/coreclr/jitstressregs-x86.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/jitstressregs.yml b/eng/pipelines/coreclr/jitstressregs.yml index a31c08a73e374..18622bde4d5eb 100644 --- a/eng/pipelines/coreclr/jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstressregs.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/libraries-gcstress-extra.yml b/eng/pipelines/coreclr/libraries-gcstress-extra.yml index 183da10c715e1..d9aebfe3080d0 100644 --- a/eng/pipelines/coreclr/libraries-gcstress-extra.yml +++ b/eng/pipelines/coreclr/libraries-gcstress-extra.yml @@ -10,10 +10,6 @@ trigger: none # always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR checked and libraries Release diff --git a/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml b/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml index c4c55dc8d83a2..9493a385d854b 100644 --- a/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml +++ b/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml @@ -10,10 +10,6 @@ trigger: none # always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR checked and libraries Release diff --git a/eng/pipelines/coreclr/libraries-jitstress.yml b/eng/pipelines/coreclr/libraries-jitstress.yml index 70011295192e1..0d014d1d8c65c 100644 --- a/eng/pipelines/coreclr/libraries-jitstress.yml +++ b/eng/pipelines/coreclr/libraries-jitstress.yml @@ -15,10 +15,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR checked and libraries Release diff --git a/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml b/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml index 0b9aa538124ce..17227645c74c7 100644 --- a/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR checked and libraries Release diff --git a/eng/pipelines/coreclr/libraries-jitstressregs.yml b/eng/pipelines/coreclr/libraries-jitstressregs.yml index 3199797a099b1..5718686cc48c7 100644 --- a/eng/pipelines/coreclr/libraries-jitstressregs.yml +++ b/eng/pipelines/coreclr/libraries-jitstressregs.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR checked and libraries Release diff --git a/eng/pipelines/coreclr/perf.yml b/eng/pipelines/coreclr/perf.yml index f9b0f537e2191..4105220bcd154 100644 --- a/eng/pipelines/coreclr/perf.yml +++ b/eng/pipelines/coreclr/perf.yml @@ -20,10 +20,6 @@ trigger: - THIRD-PARTY-NOTICES.TXT jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # build coreclr and libraries - template: /eng/pipelines/common/platform-matrix.yml diff --git a/eng/pipelines/coreclr/r2r-extra.yml b/eng/pipelines/coreclr/r2r-extra.yml index 68bef96eeb525..2dfb7f7cef583 100644 --- a/eng/pipelines/coreclr/r2r-extra.yml +++ b/eng/pipelines/coreclr/r2r-extra.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/r2r.yml b/eng/pipelines/coreclr/r2r.yml index e8bde2dd259ce..a4773d1505409 100644 --- a/eng/pipelines/coreclr/r2r.yml +++ b/eng/pipelines/coreclr/r2r.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/release-tests.yml b/eng/pipelines/coreclr/release-tests.yml index 3e47d87136121..d791c652d2b34 100644 --- a/eng/pipelines/coreclr/release-tests.yml +++ b/eng/pipelines/coreclr/release-tests.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml # # Release CoreCLR and Library builds diff --git a/eng/pipelines/coreclr/runincontext.yml b/eng/pipelines/coreclr/runincontext.yml index 037dad2a3f16d..8fbbe6cc52212 100644 --- a/eng/pipelines/coreclr/runincontext.yml +++ b/eng/pipelines/coreclr/runincontext.yml @@ -9,10 +9,6 @@ schedules: always: true jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/superpmi.yml b/eng/pipelines/coreclr/superpmi.yml index a3baabaf5d2c3..4ead4f9009405 100644 --- a/eng/pipelines/coreclr/superpmi.yml +++ b/eng/pipelines/coreclr/superpmi.yml @@ -24,11 +24,6 @@ schedules: always: true jobs: -# -# Checkout repository -# - -- template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/coreclr/templates/build-jit-job.yml b/eng/pipelines/coreclr/templates/build-jit-job.yml index 5cf41315fce3c..14b364c1ce8a1 100644 --- a/eng/pipelines/coreclr/templates/build-jit-job.yml +++ b/eng/pipelines/coreclr/templates/build-jit-job.yml @@ -10,6 +10,7 @@ parameters: stagedBuild: false timeoutInMinutes: '' variables: {} + dependOnEvaluatePaths: false ### Product build jobs: @@ -23,6 +24,7 @@ jobs: enableMicrobuild: true stagedBuild: ${{ parameters.stagedBuild }} pool: ${{ parameters.pool }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters name: ${{ format('coreclr_jit_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} diff --git a/eng/pipelines/coreclr/templates/build-job.yml b/eng/pipelines/coreclr/templates/build-job.yml index dae8c8a19177d..bae0c5fe790da 100644 --- a/eng/pipelines/coreclr/templates/build-job.yml +++ b/eng/pipelines/coreclr/templates/build-job.yml @@ -8,6 +8,7 @@ parameters: container: '' crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false isOfficialBuild: false osGroup: '' osSubgroup: '' @@ -35,6 +36,7 @@ jobs: stagedBuild: ${{ parameters.stagedBuild }} pool: ${{ parameters.pool }} condition: ${{ parameters.condition }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters ${{ if and(ne(parameters.testGroup, 'clrTools'), eq(parameters.compilerName, 'gcc')) }}: diff --git a/eng/pipelines/coreclr/templates/crossdac-pack.yml b/eng/pipelines/coreclr/templates/crossdac-pack.yml index 4309baa320367..77802a2bf40b3 100644 --- a/eng/pipelines/coreclr/templates/crossdac-pack.yml +++ b/eng/pipelines/coreclr/templates/crossdac-pack.yml @@ -3,6 +3,7 @@ parameters: buildConfig: '' container: '' crossDacPlatforms: {} + dependOnEvaluatePaths: false isOfficialBuild: false osGroup: '' osSubgroup: '' @@ -28,6 +29,7 @@ jobs: runtimeVariant: ${{ parameters.runtimeVariant }} stagedBuild: ${{ parameters.stagedBuild }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} name: crossdacpack displayName: CrossDac Packaging diff --git a/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml b/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml index 5275bb19dd9f3..282dcee588e5d 100644 --- a/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml @@ -8,6 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -36,6 +37,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} helixType: 'test/crossgen-comparison/' pool: ${{ parameters.pool }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters name: ${{ format('test_crossgen_comparison_{0}{1}_{1}_{2}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} diff --git a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml index 106ce38047531..1a326c1f295fc 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml @@ -8,6 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -36,6 +37,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} helixType: 'test/crossgen-comparison/' pool: ${{ parameters.pool }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters name: ${{ format('test_crossgen2_comparison_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} diff --git a/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml b/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml index ccb447e5ebfc5..8bc7f6f0f6f06 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml @@ -8,6 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -40,6 +41,7 @@ jobs: pool: ${{ parameters.pool }} targetos: ${{ parameters.targetos }} targetarch: ${{ parameters.targetarch }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters name: ${{ format('test_crossgen2_comparison_{0}{1}_{2}_{3}_{4}_{5}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.targetarch, parameters.targetos) }} diff --git a/eng/pipelines/coreclr/templates/format-job.yml b/eng/pipelines/coreclr/templates/format-job.yml index 5699ccb1d3d36..783fdcfcfef5a 100644 --- a/eng/pipelines/coreclr/templates/format-job.yml +++ b/eng/pipelines/coreclr/templates/format-job.yml @@ -6,6 +6,7 @@ parameters: container: '' crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false timeoutInMinutes: '' stagedBuild: false variables: {} @@ -23,6 +24,7 @@ jobs: container: ${{ parameters.container }} crossBuild: ${{ parameters.crossBuild }} crossrootfsDir: ${{ parameters.crossrootfsDir }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} stagedBuild: ${{ parameters.stagedBuild }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} name: ${{ format('format_{0}{1}_{2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }} diff --git a/eng/pipelines/coreclr/templates/helix-queues-setup.yml b/eng/pipelines/coreclr/templates/helix-queues-setup.yml index a50ecff918a74..5d75da53e52ca 100644 --- a/eng/pipelines/coreclr/templates/helix-queues-setup.yml +++ b/eng/pipelines/coreclr/templates/helix-queues-setup.yml @@ -9,6 +9,7 @@ parameters: platform: '' runtimeFlavorDisplayName: '' shouldContinueOnError: false + dependOnEvaluatePaths: false jobParameters: {} jobs: @@ -21,6 +22,7 @@ jobs: container: ${{ parameters.container }} pool: ${{ parameters.pool }} shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths}} runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }} helixQueues: diff --git a/eng/pipelines/coreclr/templates/run-superpmi-job.yml b/eng/pipelines/coreclr/templates/run-superpmi-job.yml index 64c3239b0587a..30eb295fc119e 100644 --- a/eng/pipelines/coreclr/templates/run-superpmi-job.yml +++ b/eng/pipelines/coreclr/templates/run-superpmi-job.yml @@ -22,6 +22,7 @@ parameters: runKind: '' # required -- test category collectionType: '' collectionName: '' + dependOnEvaluatePaths: false jobs: - template: xplat-pipeline-job.yml @@ -37,6 +38,7 @@ jobs: continueOnError: ${{ parameters.continueOnError }} collectionType: $ {{ parameters.collectionType }} collectionName: ${{ parameters.collectionName }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} ${{ if ne(parameters.displayName, '') }}: displayName: '${{ parameters.displayName }}' diff --git a/eng/pipelines/coreclr/templates/xplat-job.yml b/eng/pipelines/coreclr/templates/xplat-job.yml index 7a2a0cd7ca84f..471c39bfe951b 100644 --- a/eng/pipelines/coreclr/templates/xplat-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-job.yml @@ -16,6 +16,7 @@ parameters: condition: '' continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -32,8 +33,8 @@ jobs: container: ${{ parameters.container }} condition: ${{ parameters.condition }} dependsOn: - - ${{ if ne(parameters.stagedBuild, true) }}: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ if ne(parameters.dependsOn, '') }}: - ${{ parameters.dependsOn }} @@ -102,6 +103,8 @@ jobs: - ${{insert}}: ${{ variable }} steps: - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) - ${{ parameters.steps }} diff --git a/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml b/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml index 00ae63eb25bd2..93c8ed0f8cf4c 100644 --- a/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml @@ -18,6 +18,7 @@ parameters: condition: true continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -45,6 +46,7 @@ jobs: condition: and(succeeded(), ${{ parameters.condition }}) continueOnError: ${{ parameters.continueOnError }} dependsOn: ${{ parameters.dependsOn }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} displayName: ${{ parameters.displayName }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} enableMicrobuild: ${{ parameters.enableMicrobuild }} diff --git a/eng/pipelines/global-build.yml b/eng/pipelines/global-build.yml index 0f3f3e64f6465..73f42cb357907 100644 --- a/eng/pipelines/global-build.yml +++ b/eng/pipelines/global-build.yml @@ -29,11 +29,6 @@ pr: - THIRD-PARTY-NOTICES.TXT jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - # # Build with Release config and Debug runtimeConfiguration # diff --git a/eng/pipelines/installer/jobs/base-job.yml b/eng/pipelines/installer/jobs/base-job.yml index b61a869bd718d..68e27372087bf 100644 --- a/eng/pipelines/installer/jobs/base-job.yml +++ b/eng/pipelines/installer/jobs/base-job.yml @@ -13,6 +13,7 @@ parameters: buildSteps: [] dependsOn: [] dependsOnGlobalBuild: false + dependOnEvaluatePaths: false globalBuildSuffix: '' variables: [] name: '' @@ -294,7 +295,8 @@ jobs: value: ' /p:LibrariesConfiguration=${{ parameters.liveLibrariesBuildConfig }}' dependsOn: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ parameters.dependsOn }} - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}: - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', @@ -346,7 +348,9 @@ jobs: continueOnError: false condition: and(succeeded(), in(variables['SignType'], 'real', 'test')) - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}: - template: /eng/pipelines/common/download-artifact-step.yml diff --git a/eng/pipelines/libraries/base-job.yml b/eng/pipelines/libraries/base-job.yml index 38c08558e9776..4307af1bc5445 100644 --- a/eng/pipelines/libraries/base-job.yml +++ b/eng/pipelines/libraries/base-job.yml @@ -15,6 +15,7 @@ parameters: container: '' steps: [] dependsOn: [] + dependOnEvaluatePaths: false variables: {} name: '' displayName: '' @@ -117,7 +118,8 @@ jobs: - _BuildConfig: ${{ parameters.buildConfig }} dependsOn: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ parameters.dependsOn }} workspace: clean: all @@ -126,7 +128,9 @@ jobs: timeoutInMinutes: ${{ parameters.timeoutInMinutes }} steps: - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) - ${{ if and(ne(parameters.liveRuntimeBuildConfig, ''), eq(parameters.runTests, true)) }}: - template: /eng/pipelines/common/download-artifact-step.yml diff --git a/eng/pipelines/libraries/build-job.yml b/eng/pipelines/libraries/build-job.yml index d54cbb1298baf..9d26ad7a4af06 100644 --- a/eng/pipelines/libraries/build-job.yml +++ b/eng/pipelines/libraries/build-job.yml @@ -24,6 +24,7 @@ parameters: preBuildSteps: [] container: '' condition: true + dependOnEvaluatePaths: false shouldContinueOnError: false variables: {} pool: '' @@ -50,6 +51,7 @@ jobs: preBuildSteps: ${{ parameters.preBuildSteps }} container: ${{ parameters.container }} condition: ${{ parameters.condition }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} pool: ${{ parameters.pool }} runtimeVariant: ${{ parameters.runtimeVariant }} testScope: ${{ parameters.testScope }} diff --git a/eng/pipelines/libraries/helix-queues-setup.yml b/eng/pipelines/libraries/helix-queues-setup.yml index 49c39a2d949d6..1b8b1c5e93d37 100644 --- a/eng/pipelines/libraries/helix-queues-setup.yml +++ b/eng/pipelines/libraries/helix-queues-setup.yml @@ -9,6 +9,7 @@ parameters: platform: '' runtimeFlavorDisplayName: '' shouldContinueOnError: false + dependOnEvaluatePaths: false jobParameters: {} jobs: @@ -21,6 +22,7 @@ jobs: container: ${{ parameters.container }} pool: ${{ parameters.pool }} shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths}} runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }} helixQueues: diff --git a/eng/pipelines/libraries/outerloop-mono.yml b/eng/pipelines/libraries/outerloop-mono.yml index 6a893e4fee663..2dc1e513a850a 100644 --- a/eng/pipelines/libraries/outerloop-mono.yml +++ b/eng/pipelines/libraries/outerloop-mono.yml @@ -13,7 +13,6 @@ variables: - template: variables.yml jobs: - - template: /eng/pipelines/common/checkout-job.yml - template: /eng/pipelines/common/platform-matrix.yml parameters: diff --git a/eng/pipelines/libraries/outerloop.yml b/eng/pipelines/libraries/outerloop.yml index 62ed9459c9d34..0a643a6bb714b 100644 --- a/eng/pipelines/libraries/outerloop.yml +++ b/eng/pipelines/libraries/outerloop.yml @@ -12,7 +12,6 @@ variables: - template: variables.yml jobs: - - template: /eng/pipelines/common/checkout-job.yml # # CoreCLR Build diff --git a/eng/pipelines/libraries/run-test-job.yml b/eng/pipelines/libraries/run-test-job.yml index 90140bbd9f48e..c2335785401c1 100644 --- a/eng/pipelines/libraries/run-test-job.yml +++ b/eng/pipelines/libraries/run-test-job.yml @@ -18,6 +18,7 @@ parameters: dependsOnTestBuildConfiguration: Debug dependsOnTestArchitecture: x64 dependsOnTestOsSubgroup: '' + dependOnEvaluatePaths: false condition: true shouldContinueOnError: false variables: {} @@ -54,6 +55,7 @@ jobs: ${{ if eq(parameters.interpreter, 'true') }}: testDisplayName: ${{ parameters.runtimeFlavor }}_interpreter_${{ parameters.liveRuntimeBuildConfig }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} dependsOn: - ${{ if ne(parameters.dependsOn[0], '') }}: - ${{ parameters.dependsOn }} diff --git a/eng/pipelines/mono/templates/build-job.yml b/eng/pipelines/mono/templates/build-job.yml index 6b601d83c050b..d67df2098f2b5 100644 --- a/eng/pipelines/mono/templates/build-job.yml +++ b/eng/pipelines/mono/templates/build-job.yml @@ -13,6 +13,7 @@ parameters: isOfficialBuild: false crossBuild: false crossrootfsDir: '' + dependOnEvaluatePaths: false ### Product build jobs: @@ -29,6 +30,7 @@ jobs: crossBuild: ${{ parameters.crossBuild }} crossrootfsDir: ${{ parameters.crossroofsDir }} condition: ${{ parameters.condition }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} # Compute job name from template parameters name: ${{ format('mono_{0}_product_build_{1}{2}_{3}_{4}', parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} diff --git a/eng/pipelines/mono/templates/xplat-job.yml b/eng/pipelines/mono/templates/xplat-job.yml index 58366dde638b0..3c91c47903b4b 100644 --- a/eng/pipelines/mono/templates/xplat-job.yml +++ b/eng/pipelines/mono/templates/xplat-job.yml @@ -15,6 +15,7 @@ parameters: condition: '' continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -31,7 +32,8 @@ jobs: container: ${{ parameters.container }} condition: ${{ parameters.condition }} dependsOn: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ if ne(parameters.dependsOn, '') }}: - ${{ parameters.dependsOn }} @@ -94,6 +96,8 @@ jobs: - ${{insert}}: ${{ variable }} steps: - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: $(checkoutFetchDepth) - ${{ parameters.steps }} diff --git a/eng/pipelines/mono/templates/xplat-pipeline-job.yml b/eng/pipelines/mono/templates/xplat-pipeline-job.yml index 89917a58e0b8a..31b61c20f93d1 100644 --- a/eng/pipelines/mono/templates/xplat-pipeline-job.yml +++ b/eng/pipelines/mono/templates/xplat-pipeline-job.yml @@ -16,6 +16,7 @@ parameters: condition: true continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -41,6 +42,7 @@ jobs: condition: and(succeeded(), ${{ parameters.condition }}) continueOnError: ${{ parameters.continueOnError }} dependsOn: ${{ parameters.dependsOn }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths }} displayName: ${{ parameters.displayName }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} enableMicrobuild: ${{ parameters.enableMicrobuild }} diff --git a/eng/pipelines/official/jobs/prepare-signed-artifacts.yml b/eng/pipelines/official/jobs/prepare-signed-artifacts.yml index 2a1a11339633d..abab79b6fdcec 100644 --- a/eng/pipelines/official/jobs/prepare-signed-artifacts.yml +++ b/eng/pipelines/official/jobs/prepare-signed-artifacts.yml @@ -21,7 +21,9 @@ jobs: value: $[ coalesce(variables.OfficialSignType, 'real') ] steps: - - template: /eng/pipelines/common/clone-checkout-bundle-step.yml + - checkout: self + clean: true + fetchDepth: 20 - ${{ if eq(parameters.isOfficialBuild, true) }}: - task: NuGetAuthenticate@0 diff --git a/eng/pipelines/runtime-linker-tests.yml b/eng/pipelines/runtime-linker-tests.yml index b78db5fca3fcc..729cb177847a7 100644 --- a/eng/pipelines/runtime-linker-tests.yml +++ b/eng/pipelines/runtime-linker-tests.yml @@ -46,11 +46,6 @@ pr: - THIRD-PARTY-NOTICES.TXT jobs: -# -# Checkout repository -# -- template: /eng/pipelines/common/checkout-job.yml - # # Build Release config vertical for Windows, Linux, Linux musl and OSX # diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index 6cde390c289ce..0c07ccf7a2f0b 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -40,10 +40,6 @@ variables: stages: - stage: Build jobs: - # - # Checkout repository - # - - template: /eng/pipelines/common/checkout-job.yml # # Build CoreCLR diff --git a/eng/pipelines/runtime-staging.yml b/eng/pipelines/runtime-staging.yml index 2dfeef72a3755..87afa0db6bbe0 100644 --- a/eng/pipelines/runtime-staging.yml +++ b/eng/pipelines/runtime-staging.yml @@ -50,9 +50,10 @@ variables: jobs: # -# Checkout repository and evaluate paths +# Evaluate paths # -- template: /eng/pipelines/common/checkout-and-evaluate-paths.yml +- ${{ if eq(variables.dependOnEvaluatePaths, true) }}: + - template: /eng/pipelines/common/evaluate-default-paths.yml # # Build the whole product using Mono and run libraries tests @@ -69,9 +70,9 @@ jobs: variables: # map dependencies variables to local variables - name: librariesContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_libraries.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] - name: monoContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_mono.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ] jobParameters: testGroup: innerloop nameSuffix: AllSubsets_Mono @@ -79,9 +80,9 @@ jobs: timeoutInMinutes: 120 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # extra steps, run tests extraStepsTemplate: /eng/pipelines/libraries/helix.yml @@ -124,8 +125,8 @@ jobs: timeoutInMinutes: 240 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # extra steps, run tests extraStepsTemplate: /eng/pipelines/common/templates/runtimes/android-runtime-and-send-to-helix.yml diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index 83b9451ef8084..6712fa33bd5ae 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -52,9 +52,10 @@ variables: jobs: # -# Checkout repository and evaluate paths +# Evaluate paths # -- template: /eng/pipelines/common/checkout-and-evaluate-paths.yml +- ${{ if eq(variables.dependOnEvaluatePaths, true) }}: + - template: /eng/pipelines/common/evaluate-default-paths.yml # # Build CoreCLR checked @@ -80,8 +81,8 @@ jobs: testGroup: innerloop condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -99,7 +100,7 @@ jobs: compilerName: gcc condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -116,9 +117,9 @@ jobs: testGroup: innerloop condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -165,7 +166,7 @@ jobs: eq(variables['Build.SourceBranchName'], 'master'), eq(variables['System.PullRequest.TargetBranch'], 'master')), or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true))) # Build and test clr tools @@ -179,7 +180,7 @@ jobs: testGroup: clrTools condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true)) # Build the whole product using Mono runtime @@ -202,9 +203,9 @@ jobs: buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -223,9 +224,9 @@ jobs: buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -242,9 +243,9 @@ jobs: variables: # map dependencies variables to local variables - name: librariesContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_libraries.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] - name: monoContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_mono.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ] jobParameters: testGroup: innerloop nameSuffix: AllSubsets_Mono @@ -252,9 +253,9 @@ jobs: timeoutInMinutes: 120 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # extra steps, run tests extraStepsTemplate: /eng/pipelines/libraries/helix.yml @@ -286,9 +287,9 @@ jobs: variables: # map dependencies variables to local variables - name: librariesContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_libraries.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ] - name: monoContainsChange - value: $[ dependencies.checkout.outputs['SetPathVars_mono.containsChange'] ] + value: $[ dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'] ] jobParameters: testGroup: innerloop nameSuffix: AllSubsets_Mono @@ -296,9 +297,9 @@ jobs: timeoutInMinutes: 180 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # extra steps, run tests extraStepsTemplate: /eng/pipelines/libraries/helix.yml @@ -340,8 +341,8 @@ jobs: timeoutInMinutes: 180 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # extra steps, run tests extraStepsTemplate: /eng/pipelines/common/templates/runtimes/wasm-runtime-and-send-to-helix.yml @@ -366,9 +367,9 @@ jobs: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -386,9 +387,9 @@ jobs: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=false condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -409,9 +410,9 @@ jobs: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -428,9 +429,9 @@ jobs: /p:MonoEnableLLVM=true /p:MonoBundleLLVMOptimizer=true condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_installer.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -454,8 +455,8 @@ jobs: jobParameters: condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -477,8 +478,8 @@ jobs: jobParameters: condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -496,9 +497,9 @@ jobs: jobParameters: condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -517,8 +518,8 @@ jobs: runtimeVariant: llvmaot condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -575,7 +576,7 @@ jobs: liveRuntimeBuildConfig: release condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -594,7 +595,7 @@ jobs: testScope: innerloop condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -610,7 +611,7 @@ jobs: runTests: true condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -663,7 +664,7 @@ jobs: liveLibrariesBuildConfig: Release condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -681,8 +682,8 @@ jobs: liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }} condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -704,8 +705,8 @@ jobs: liveLibrariesBuildConfig: Release condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -724,8 +725,8 @@ jobs: liveLibrariesBuildConfig: ${{ variables.debugOnPrReleaseOnRolling }} condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -744,8 +745,8 @@ jobs: liveRuntimeBuildConfig: release condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -767,8 +768,8 @@ jobs: liveRuntimeBuildConfig: release condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # # Mono CoreCLR runtime Test executions using live libraries and LLVM AOT @@ -791,8 +792,8 @@ jobs: runtimeVariant: llvmaot condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_runtimetests.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -820,8 +821,8 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -849,8 +850,8 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_mono.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_mono.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -875,7 +876,7 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -905,7 +906,7 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -931,7 +932,7 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true)) - template: /eng/pipelines/common/platform-matrix.yml @@ -951,7 +952,7 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), eq(variables['isFullMatrix'], true)) # @@ -973,6 +974,6 @@ jobs: dependsOnTestArchitecture: x64 condition: >- or( - eq(dependencies.checkout.outputs['SetPathVars_coreclr.containsChange'], true), - eq(dependencies.checkout.outputs['SetPathVars_libraries.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'], true), + eq(dependencies.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true), eq(variables['isFullMatrix'], true)) diff --git a/eng/pipelines/runtimelab.yml b/eng/pipelines/runtimelab.yml index facd5bc264aed..aa8ba4488b923 100644 --- a/eng/pipelines/runtimelab.yml +++ b/eng/pipelines/runtimelab.yml @@ -52,10 +52,6 @@ variables: stages: - stage: Build jobs: - # - # Checkout repository - # - - template: /eng/pipelines/common/checkout-job.yml # # Build with Debug config and Checked runtimeConfiguration