diff options
author | Santiago Fernandez Madero <safern@microsoft.com> | 2021-01-15 07:53:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 07:53:12 +0300 |
commit | b5f811d64dea5ed0cc7cefe6e97cfd3ffbd6c5af (patch) | |
tree | f546992fa41f4a5bc7e905b4b608ed2d8aec87fe /eng/pipelines | |
parent | ce4423ab00448fd5900627f7c3f373930a255f61 (diff) |
Try again to get rid of checkout bundle for PRs (#47003)
This reverts commit 604660b37a0d416155a97cbd09c1edc101a1a1cb.
Diffstat (limited to 'eng/pipelines')
65 files changed, 209 insertions, 503 deletions
diff --git a/eng/pipelines/common/checkout-job.yml b/eng/pipelines/common/checkout-job.yml deleted file mode 100644 index 9d7f4272d66..00000000000 --- 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_<subset>.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/checkout-step.yml b/eng/pipelines/common/checkout-step.yml deleted file mode 100644 index 39575a8a6fe..00000000000 --- a/eng/pipelines/common/checkout-step.yml +++ /dev/null @@ -1,23 +0,0 @@ -parameters: - useBundle: true - fetchDepth: 20 - -steps: -# Checkout from bundle -- ${{ if eq(parameters.useBundle, true) }}: - - 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 - -- ${{ if eq(parameters.useBundle, false) }}: - - checkout: self - clean: true - fetchDepth: ${{ parameters.fetchDepth }} diff --git a/eng/pipelines/common/checkout-and-evaluate-paths.yml b/eng/pipelines/common/evaluate-default-paths.yml index 2319db6de62..1e2641a309c 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 00000000000..58f0e96389b --- /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_<subset>.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 ba0775f9c22..586e9df6d7b 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -17,7 +17,7 @@ parameters: condition: true useContinueOnErrorDuringBuild: false shouldContinueOnError: false - useCheckoutBundle: false + dependOnEvaluatePaths: false isOfficialBuild: false runtimeFlavor: 'coreclr' helixQueues: '' @@ -41,12 +41,12 @@ jobs: workspace: clean: all - ${{ if and(ne(parameters.useCheckoutBundle, true),ne(parameters.dependsOn,'')) }}: + ${{ if and(ne(parameters.dependOnEvaluatePaths, true),ne(parameters.dependsOn,'')) }}: dependsOn: ${{ parameters.dependsOn }} - ${{ if eq(parameters.useCheckoutBundle, true) }}: + ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: dependsOn: - - checkout + - evaluate_paths - ${{ if ne(parameters.dependsOn,'') }}: - ${{ parameters.dependsOn }} @@ -82,9 +82,9 @@ jobs: - ${{ variable }} steps: - - template: /eng/pipelines/common/checkout-step.yml - parameters: - useBundle: ${{ parameters.useCheckoutBundle }} + - 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 4f49d91dcc7..cb84d3420d5 100644 --- a/eng/pipelines/common/templates/runtimes/build-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/build-test-job.yml @@ -23,7 +23,7 @@ parameters: runtimeFlavorDisplayName: 'CoreCLR' runtimeVariant: '' dependsOn: [] - useCheckoutBundle: false + dependOnEvaluatePaths: false ### Build managed test components (native components are getting built as part ### of the the product build job). @@ -48,8 +48,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} variables: ${{ parameters.variables }} pool: ${{ parameters.pool }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} - + 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 dce11d30209..eac13a734ec 100644 --- a/eng/pipelines/common/templates/runtimes/run-test-job.yml +++ b/eng/pipelines/common/templates/runtimes/run-test-job.yml @@ -23,7 +23,7 @@ parameters: runtimeFlavorDisplayName: 'CoreCLR' shouldContinueOnError: false dependsOn: [] - useCheckoutBundle: false + dependOnEvaluatePaths: false ### Test run job @@ -47,7 +47,7 @@ jobs: runtimeVariant: ${{ parameters.runtimeVariant }} pool: ${{ parameters.pool }} condition: ${{ parameters.condition }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 ea532ac3d95..760543475a7 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -4,9 +4,9 @@ variables: - name: isFullMatrix value: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} -# We only use checkout bundle on PRs -- name: useCheckoutBundle - value: ${{ eq(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 092f82a6a4c..c9929621eb1 100644 --- a/eng/pipelines/common/xplat-setup.yml +++ b/eng/pipelines/common/xplat-setup.yml @@ -21,7 +21,7 @@ jobs: shouldContinueOnError: ${{ and(endsWith(variables['Build.DefinitionName'], 'staging'), eq(variables['Build.Reason'], 'PullRequest')) }} # keep in sync with /eng/pipelines/common/variables.yml - useCheckoutBundle: ${{ eq(variables['Build.Reason'], 'PullRequest') }} + 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 diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index 90c12c59085..dae6c1991f4 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -24,18 +24,9 @@ trigger: - eng/pipelines/libraries/* - eng/pipelines/runtime.yml -variables: - - template: /eng/pipelines/common/variables.yml - jobs: # -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - template: /eng/pipelines/common/checkout-job.yml - -# # Debug builds # - template: /eng/pipelines/common/platform-matrix.yml diff --git a/eng/pipelines/coreclr/clrinterpreter.yml b/eng/pipelines/coreclr/clrinterpreter.yml index d296a73dac8..afd30afeb6b 100644 --- a/eng/pipelines/coreclr/clrinterpreter.yml +++ b/eng/pipelines/coreclr/clrinterpreter.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 96dca3400f9..8c8a734c230 100644 --- a/eng/pipelines/coreclr/crossgen2-composite.yml +++ b/eng/pipelines/coreclr/crossgen2-composite.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 a750d690e6e..91fd57df331 100644 --- a/eng/pipelines/coreclr/crossgen2-gcstress.yml +++ b/eng/pipelines/coreclr/crossgen2-gcstress.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 ec7a348ec1b..bbee75f5fb6 100644 --- a/eng/pipelines/coreclr/crossgen2-outerloop.yml +++ b/eng/pipelines/coreclr/crossgen2-outerloop.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 ae71788b41f..e6899918318 100644 --- a/eng/pipelines/coreclr/crossgen2.yml +++ b/eng/pipelines/coreclr/crossgen2.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 f681df41cca..354d0478469 100644 --- a/eng/pipelines/coreclr/gc-longrunning.yml +++ b/eng/pipelines/coreclr/gc-longrunning.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 27c54ef8521..ed48e1c6288 100644 --- a/eng/pipelines/coreclr/gc-simulator.yml +++ b/eng/pipelines/coreclr/gc-simulator.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 784dc4d73ed..a80132fae4d 100644 --- a/eng/pipelines/coreclr/gcstress-extra.yml +++ b/eng/pipelines/coreclr/gcstress-extra.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 8fec266ccd6..ac69b525850 100644 --- a/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml +++ b/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 715c59daa07..1aa2757c1e9 100644 --- a/eng/pipelines/coreclr/ilasm.yml +++ b/eng/pipelines/coreclr/ilasm.yml @@ -17,15 +17,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 e07c9bcc9a7..eb209a16432 100644 --- a/eng/pipelines/coreclr/jit-experimental.yml +++ b/eng/pipelines/coreclr/jit-experimental.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 cb23fd3bc53..63fc5fc447f 100644 --- a/eng/pipelines/coreclr/jitrollingbuild.yml +++ b/eng/pipelines/coreclr/jitrollingbuild.yml @@ -13,10 +13,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 09c5f6326d7..260ec5e2b21 100644 --- a/eng/pipelines/coreclr/jitstress-isas-arm.yml +++ b/eng/pipelines/coreclr/jitstress-isas-arm.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 8d5f8ec5a05..87d3c1e5a60 100644 --- a/eng/pipelines/coreclr/jitstress-isas-x86.yml +++ b/eng/pipelines/coreclr/jitstress-isas-x86.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 0698bff6912..b8df154ba0e 100644 --- a/eng/pipelines/coreclr/jitstress.yml +++ b/eng/pipelines/coreclr/jitstress.yml @@ -14,15 +14,7 @@ schedules: - release/*.* always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 b6804b542c5..5a3933e6218 100644 --- a/eng/pipelines/coreclr/jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstress2-jitstressregs.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 5e5802acbdb..83294c63c95 100644 --- a/eng/pipelines/coreclr/jitstressregs-x86.yml +++ b/eng/pipelines/coreclr/jitstressregs-x86.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 49f9e5fb4d5..18622bde4d5 100644 --- a/eng/pipelines/coreclr/jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstressregs.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 5569998a176..d9aebfe3080 100644 --- a/eng/pipelines/coreclr/libraries-gcstress-extra.yml +++ b/eng/pipelines/coreclr/libraries-gcstress-extra.yml @@ -9,15 +9,7 @@ trigger: none # - master # always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 5f8d7148275..9493a385d85 100644 --- a/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml +++ b/eng/pipelines/coreclr/libraries-gcstress0x3-gcstress0xc.yml @@ -9,15 +9,7 @@ trigger: none # - master # always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 7cc23bfd69c..0d014d1d8c6 100644 --- a/eng/pipelines/coreclr/libraries-jitstress.yml +++ b/eng/pipelines/coreclr/libraries-jitstress.yml @@ -14,15 +14,7 @@ schedules: - release/*.* always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 5d3ceea5244..17227645c74 100644 --- a/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/libraries-jitstress2-jitstressregs.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 31341dda635..5718686cc48 100644 --- a/eng/pipelines/coreclr/libraries-jitstressregs.yml +++ b/eng/pipelines/coreclr/libraries-jitstressregs.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 90b171a6bca..9cee03fed01 100644 --- a/eng/pipelines/coreclr/perf.yml +++ b/eng/pipelines/coreclr/perf.yml @@ -19,15 +19,7 @@ trigger: - SECURITY.md - THIRD-PARTY-NOTICES.TXT -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 f8ff99932e8..2dfb7f7cef5 100644 --- a/eng/pipelines/coreclr/r2r-extra.yml +++ b/eng/pipelines/coreclr/r2r-extra.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 ea741ba8970..a4773d15054 100644 --- a/eng/pipelines/coreclr/r2r.yml +++ b/eng/pipelines/coreclr/r2r.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 e42d8902fc3..d791c652d2b 100644 --- a/eng/pipelines/coreclr/release-tests.yml +++ b/eng/pipelines/coreclr/release-tests.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 658377fc972..8fbbe6cc522 100644 --- a/eng/pipelines/coreclr/runincontext.yml +++ b/eng/pipelines/coreclr/runincontext.yml @@ -8,15 +8,7 @@ schedules: - master always: true -variables: - - template: /eng/pipelines/common/variables.yml - jobs: -# -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 a3baabaf5d2..4ead4f90094 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 519fb4a85a2..14b364c1ce8 100644 --- a/eng/pipelines/coreclr/templates/build-jit-job.yml +++ b/eng/pipelines/coreclr/templates/build-jit-job.yml @@ -10,7 +10,7 @@ parameters: stagedBuild: false timeoutInMinutes: '' variables: {} - useCheckoutBundle: false + dependOnEvaluatePaths: false ### Product build jobs: @@ -24,7 +24,7 @@ jobs: enableMicrobuild: true stagedBuild: ${{ parameters.stagedBuild }} pool: ${{ parameters.pool }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 362d5d68da7..bae0c5fe790 100644 --- a/eng/pipelines/coreclr/templates/build-job.yml +++ b/eng/pipelines/coreclr/templates/build-job.yml @@ -8,7 +8,7 @@ parameters: container: '' crossBuild: false crossrootfsDir: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false isOfficialBuild: false osGroup: '' osSubgroup: '' @@ -36,7 +36,7 @@ jobs: stagedBuild: ${{ parameters.stagedBuild }} pool: ${{ parameters.pool }} condition: ${{ parameters.condition }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 219c5235d1d..77802a2bf40 100644 --- a/eng/pipelines/coreclr/templates/crossdac-pack.yml +++ b/eng/pipelines/coreclr/templates/crossdac-pack.yml @@ -3,7 +3,7 @@ parameters: buildConfig: '' container: '' crossDacPlatforms: {} - useCheckoutBundle: false + dependOnEvaluatePaths: false isOfficialBuild: false osGroup: '' osSubgroup: '' @@ -29,7 +29,7 @@ jobs: runtimeVariant: ${{ parameters.runtimeVariant }} stagedBuild: ${{ parameters.stagedBuild }} timeoutInMinutes: ${{ parameters.timeoutInMinutes }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 beb41c7caea..282dcee588e 100644 --- a/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml @@ -8,7 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -37,7 +37,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} helixType: 'test/crossgen-comparison/' pool: ${{ parameters.pool }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 66331b30817..1a326c1f295 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml @@ -8,7 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -37,7 +37,7 @@ jobs: liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }} helixType: 'test/crossgen-comparison/' pool: ${{ parameters.pool }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 dffcbf394fe..8bc7f6f0f6f 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml @@ -8,7 +8,7 @@ parameters: runtimeVariant: '' crossBuild: false crossrootfsDir: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false stagedBuild: false variables: {} pool: '' @@ -41,7 +41,7 @@ jobs: pool: ${{ parameters.pool }} targetos: ${{ parameters.targetos }} targetarch: ${{ parameters.targetarch }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 6f2f735c3e8..783fdcfcfef 100644 --- a/eng/pipelines/coreclr/templates/format-job.yml +++ b/eng/pipelines/coreclr/templates/format-job.yml @@ -6,7 +6,7 @@ parameters: container: '' crossBuild: false crossrootfsDir: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false timeoutInMinutes: '' stagedBuild: false variables: {} @@ -24,7 +24,7 @@ jobs: container: ${{ parameters.container }} crossBuild: ${{ parameters.crossBuild }} crossrootfsDir: ${{ parameters.crossrootfsDir }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 949d37bdff8..1744824fbb4 100644 --- a/eng/pipelines/coreclr/templates/helix-queues-setup.yml +++ b/eng/pipelines/coreclr/templates/helix-queues-setup.yml @@ -9,7 +9,7 @@ parameters: platform: '' runtimeFlavorDisplayName: '' shouldContinueOnError: false - useCheckoutBundle: false + dependOnEvaluatePaths: false jobParameters: {} jobs: @@ -22,7 +22,7 @@ jobs: container: ${{ parameters.container }} pool: ${{ parameters.pool }} shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 abb59906b21..30eb295fc11 100644 --- a/eng/pipelines/coreclr/templates/run-superpmi-job.yml +++ b/eng/pipelines/coreclr/templates/run-superpmi-job.yml @@ -22,7 +22,7 @@ parameters: runKind: '' # required -- test category collectionType: '' collectionName: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false jobs: - template: xplat-pipeline-job.yml @@ -38,7 +38,7 @@ jobs: continueOnError: ${{ parameters.continueOnError }} collectionType: $ {{ parameters.collectionType }} collectionName: ${{ parameters.collectionName }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 334e71b4f7e..471c39bfe95 100644 --- a/eng/pipelines/coreclr/templates/xplat-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-job.yml @@ -16,7 +16,7 @@ parameters: condition: '' continueOnError: false dependsOn: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -33,8 +33,8 @@ jobs: container: ${{ parameters.container }} condition: ${{ parameters.condition }} dependsOn: - - ${{ if eq(parameters.useCheckoutBundle, true) }}: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ if ne(parameters.dependsOn, '') }}: - ${{ parameters.dependsOn }} @@ -103,8 +103,8 @@ jobs: - ${{insert}}: ${{ variable }} steps: - - template: /eng/pipelines/common/checkout-step.yml - parameters: - useBundle: ${{ parameters.useCheckoutBundle }} + - 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 736b5a9d192..93c8ed0f8cf 100644 --- a/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml @@ -18,7 +18,7 @@ parameters: condition: true continueOnError: false dependsOn: '' - useCheckoutBundle: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -41,12 +41,12 @@ jobs: stagedBuild: ${{ parameters.stagedBuild }} strategy: ${{ parameters.strategy }} pool: ${{ parameters.pool }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} # arcade-specific parameters 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 906bfda84ae..73f42cb3579 100644 --- a/eng/pipelines/global-build.yml +++ b/eng/pipelines/global-build.yml @@ -28,17 +28,8 @@ pr: - SECURITY.md - THIRD-PARTY-NOTICES.TXT -variables: - - template: /eng/pipelines/common/variables.yml - jobs: # -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - template: /eng/pipelines/common/checkout-job.yml - -# # Build with Release config and Debug runtimeConfiguration # - template: /eng/pipelines/common/platform-matrix.yml diff --git a/eng/pipelines/installer/jobs/base-job.yml b/eng/pipelines/installer/jobs/base-job.yml index 2df485fdb44..b9ac8dae308 100644 --- a/eng/pipelines/installer/jobs/base-job.yml +++ b/eng/pipelines/installer/jobs/base-job.yml @@ -13,7 +13,7 @@ parameters: buildSteps: [] dependsOn: [] dependsOnGlobalBuild: false - useCheckoutBundle: false + dependOnEvaluatePaths: false globalBuildSuffix: '' variables: [] name: '' @@ -295,8 +295,8 @@ jobs: value: ' /p:LibrariesConfiguration=${{ parameters.liveLibrariesBuildConfig }}' dependsOn: - - ${{ if eq(parameters.useCheckoutBundle, true) }}: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ parameters.dependsOn }} - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }}: - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', @@ -348,9 +348,9 @@ jobs: continueOnError: false condition: and(succeeded(), in(variables['SignType'], 'real', 'test')) - - template: /eng/pipelines/common/checkout-step.yml - parameters: - useBundle: ${{ parameters.useCheckoutBundle }} + - 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 1201959c643..4307af1bc54 100644 --- a/eng/pipelines/libraries/base-job.yml +++ b/eng/pipelines/libraries/base-job.yml @@ -15,7 +15,7 @@ parameters: container: '' steps: [] dependsOn: [] - useCheckoutBundle: false + dependOnEvaluatePaths: false variables: {} name: '' displayName: '' @@ -118,8 +118,8 @@ jobs: - _BuildConfig: ${{ parameters.buildConfig }} dependsOn: - - ${{ if eq(parameters.useCheckoutBundle, true) }}: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ parameters.dependsOn }} workspace: clean: all @@ -128,9 +128,9 @@ jobs: timeoutInMinutes: ${{ parameters.timeoutInMinutes }} steps: - - template: /eng/pipelines/common/checkout-step.yml - parameters: - useBundle: ${{ parameters.useCheckoutBundle }} + - 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 c3972f7dfcd..9d26ad7a4af 100644 --- a/eng/pipelines/libraries/build-job.yml +++ b/eng/pipelines/libraries/build-job.yml @@ -24,7 +24,7 @@ parameters: preBuildSteps: [] container: '' condition: true - useCheckoutBundle: false + dependOnEvaluatePaths: false shouldContinueOnError: false variables: {} pool: '' @@ -51,7 +51,7 @@ jobs: preBuildSteps: ${{ parameters.preBuildSteps }} container: ${{ parameters.container }} condition: ${{ parameters.condition }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 29448860680..aad40983ef9 100644 --- a/eng/pipelines/libraries/helix-queues-setup.yml +++ b/eng/pipelines/libraries/helix-queues-setup.yml @@ -9,7 +9,7 @@ parameters: platform: '' runtimeFlavorDisplayName: '' shouldContinueOnError: false - useCheckoutBundle: false + dependOnEvaluatePaths: false jobParameters: {} jobs: @@ -22,7 +22,7 @@ jobs: container: ${{ parameters.container }} pool: ${{ parameters.pool }} shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + dependOnEvaluatePaths: ${{ parameters.dependOnEvaluatePaths}} runtimeFlavorDisplayName: ${{ parameters.runtimeFlavorDisplayName }} helixQueues: diff --git a/eng/pipelines/libraries/outerloop-mono.yml b/eng/pipelines/libraries/outerloop-mono.yml index ae443cf92c5..2dc1e513a85 100644 --- a/eng/pipelines/libraries/outerloop-mono.yml +++ b/eng/pipelines/libraries/outerloop-mono.yml @@ -13,8 +13,6 @@ variables: - template: variables.yml jobs: - - ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 3da58fdf18a..0a643a6bb71 100644 --- a/eng/pipelines/libraries/outerloop.yml +++ b/eng/pipelines/libraries/outerloop.yml @@ -12,8 +12,6 @@ variables: - template: variables.yml jobs: - - ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 9fcbaf9bf25..c2335785401 100644 --- a/eng/pipelines/libraries/run-test-job.yml +++ b/eng/pipelines/libraries/run-test-job.yml @@ -18,7 +18,7 @@ parameters: dependsOnTestBuildConfiguration: Debug dependsOnTestArchitecture: x64 dependsOnTestOsSubgroup: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false condition: true shouldContinueOnError: false variables: {} @@ -55,7 +55,7 @@ jobs: ${{ if eq(parameters.interpreter, 'true') }}: testDisplayName: ${{ parameters.runtimeFlavor }}_interpreter_${{ parameters.liveRuntimeBuildConfig }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 2d91e4b26eb..1b7c3d9abd8 100644 --- a/eng/pipelines/mono/templates/build-job.yml +++ b/eng/pipelines/mono/templates/build-job.yml @@ -15,7 +15,7 @@ parameters: crossrootfsDir: '' dependsOn: '' monoCrossAOTTargetOS: '' - useCheckoutBundle: false + dependOnEvaluatePaths: false ### Product build jobs: @@ -33,7 +33,7 @@ jobs: monoCrossAOTTargetOS: ${{ parameters.monoCrossAOTTargetOS }} crossrootfsDir: ${{ parameters.crossroofsDir }} condition: ${{ parameters.condition }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} + 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 240f1ed6b9d..3c91c47903b 100644 --- a/eng/pipelines/mono/templates/xplat-job.yml +++ b/eng/pipelines/mono/templates/xplat-job.yml @@ -10,12 +10,12 @@ parameters: crossrootfsDir: '' strategy: '' pool: '' - useCheckoutBundle: false # arcade-specific parameters condition: '' continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -32,8 +32,8 @@ jobs: container: ${{ parameters.container }} condition: ${{ parameters.condition }} dependsOn: - - ${{ if eq(parameters.useCheckoutBundle, true) }}: - - checkout + - ${{ if eq(parameters.dependOnEvaluatePaths, true) }}: + - evaluate_paths - ${{ if ne(parameters.dependsOn, '') }}: - ${{ parameters.dependsOn }} @@ -96,8 +96,8 @@ jobs: - ${{insert}}: ${{ variable }} steps: - - template: /eng/pipelines/common/checkout-step.yml - parameters: - useBundle: ${{ parameters.useCheckoutBundle }} + - 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 1c377a3f3ad..31b61c20f93 100644 --- a/eng/pipelines/mono/templates/xplat-pipeline-job.yml +++ b/eng/pipelines/mono/templates/xplat-pipeline-job.yml @@ -11,12 +11,12 @@ parameters: pool: '' runtimeVariant: '' liveRuntimeBuildConfig: 'release' - useCheckoutBundle: false # arcade-specific parameters condition: true continueOnError: false dependsOn: '' + dependOnEvaluatePaths: false displayName: '' timeoutInMinutes: '' enableMicrobuild: '' @@ -37,12 +37,12 @@ jobs: strategy: ${{ parameters.strategy }} pool: ${{ parameters.pool }} runtimeVariant: ${{ parameters.runtimeVariant }} - useCheckoutBundle: ${{ parameters.useCheckoutBundle }} # arcade-specific parameters 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/runtime-linker-tests.yml b/eng/pipelines/runtime-linker-tests.yml index 3b4b6797353..729cb177847 100644 --- a/eng/pipelines/runtime-linker-tests.yml +++ b/eng/pipelines/runtime-linker-tests.yml @@ -45,17 +45,8 @@ pr: - SECURITY.md - THIRD-PARTY-NOTICES.TXT -variables: - - template: /eng/pipelines/common/variables.yml - jobs: # -# Checkout repository -# -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - template: /eng/pipelines/common/checkout-job.yml - -# # Build Release config vertical for Windows, Linux, Linux musl and OSX # - template: /eng/pipelines/common/platform-matrix.yml diff --git a/eng/pipelines/runtime-staging.yml b/eng/pipelines/runtime-staging.yml index 55579c20669..a47272362f3 100644 --- a/eng/pipelines/runtime-staging.yml +++ b/eng/pipelines/runtime-staging.yml @@ -50,10 +50,10 @@ variables: jobs: # -# Checkout repository and evaluate paths +# Evaluate paths # -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 @@ -70,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 @@ -80,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 @@ -125,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 31f3d18157e..a4f0cdc4114 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -52,10 +52,10 @@ variables: jobs: # -# Checkout repository and evaluate paths +# Evaluate paths # -- ${{ if eq(variables.useCheckoutBundle, true) }}: - - 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 @@ -81,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)) # @@ -100,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)) # @@ -117,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)) # @@ -166,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 @@ -180,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 Mono AOT offset headers once, for consumption elsewhere @@ -219,9 +219,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 @@ -240,9 +240,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)) # @@ -259,9 +259,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 @@ -269,9 +269,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 @@ -303,9 +303,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 @@ -313,9 +313,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 @@ -357,8 +357,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 @@ -383,9 +383,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 @@ -403,9 +403,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)) # @@ -426,9 +426,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 @@ -445,9 +445,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)) # @@ -471,8 +471,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)) # @@ -522,8 +522,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)) # @@ -541,9 +541,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)) # @@ -562,8 +562,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)) # @@ -620,7 +620,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 @@ -639,7 +639,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 @@ -655,7 +655,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)) # @@ -708,7 +708,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)) # @@ -726,8 +726,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)) # @@ -749,8 +749,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 @@ -769,8 +769,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)) # @@ -789,8 +789,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)) # @@ -812,8 +812,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 @@ -836,8 +836,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)) # @@ -865,8 +865,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)) # @@ -894,8 +894,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)) # @@ -920,7 +920,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)) # @@ -950,7 +950,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)) # @@ -976,7 +976,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 @@ -996,7 +996,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)) # @@ -1018,6 +1018,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 f80fd6b24f6..aa8ba4488b9 100644 --- a/eng/pipelines/runtimelab.yml +++ b/eng/pipelines/runtimelab.yml @@ -52,11 +52,6 @@ variables: stages: - stage: Build jobs: - # - # Checkout repository - # - - ${{ if eq(variables.useCheckoutBundle, true) }}: - - template: /eng/pipelines/common/checkout-job.yml # # Build with Debug config and Checked runtimeConfiguration |