|
1 | 1 | parameters: |
2 | | -- name: DartLabEnvironment |
3 | | - displayName: DartLab Environment |
4 | | - type: string |
5 | | - default: Production |
6 | | - values: |
7 | | - - Production |
8 | | - - Staging |
9 | | -- name: E2EPart1AgentCleanup |
10 | | - displayName: Delete or keep E2E Part 1 machine for debugging |
11 | | - type: string |
12 | | - default: delete |
13 | | - values: |
14 | | - - delete |
15 | | - - stop |
16 | | -- name: E2EPart2AgentCleanup |
17 | | - displayName: Delete or keep E2E Part 2 machine for debugging |
18 | | - type: string |
19 | | - default: delete |
20 | | - values: |
21 | | - - delete |
22 | | - - stop |
23 | | -- name: ApexAgentCleanup |
24 | | - displayName: Delete or keep VS Apex test machine for debugging |
25 | | - type: string |
26 | | - default: delete |
27 | | - values: |
28 | | - - delete |
29 | | - - stop |
30 | | - |
| 2 | + - name: NuGetLocalizationType |
| 3 | + displayName: Whether to do production-ready localization (Full), or pseudo-localization, aka PLOC, (Pseudo) for testing. |
| 4 | + type: string |
| 5 | + default: Full |
| 6 | + values: |
| 7 | + - Full |
| 8 | + - Pseudo |
| 9 | + - name: RunBuildForPublishing |
| 10 | + displayName: Build bits for publishing |
| 11 | + type: boolean |
| 12 | + default: true |
| 13 | + # Disable on this branch. |
| 14 | + # - name: RunCrossFrameworkTestsOnWindows |
| 15 | + # displayName: Run cross framweork tests on Windows |
| 16 | + # type: boolean |
| 17 | + # default: true |
| 18 | + - name: RunFunctionalTestsOnWindows |
| 19 | + displayName: Run functional tests on Windows |
| 20 | + type: boolean |
| 21 | + default: true |
| 22 | + - name: RunSourceBuild |
| 23 | + displayName: Run source build |
| 24 | + type: boolean |
| 25 | + default: true |
| 26 | + - name: RunTestsOnLinux |
| 27 | + displayName: Run tests on Linux |
| 28 | + type: boolean |
| 29 | + default: true |
| 30 | + - name: RunTestsOnMac |
| 31 | + displayName: Run tests on Mac |
| 32 | + type: boolean |
| 33 | + default: true |
| 34 | + - name: RunMonoTestsOnMac |
| 35 | + displayName: Run Mono tests on Mac |
| 36 | + type: boolean |
| 37 | + default: true |
| 38 | + - name: SigningType |
| 39 | + displayName: Type of signing to use |
| 40 | + type: string |
| 41 | + default: Test |
| 42 | +resources: |
| 43 | + repositories: |
| 44 | + - repository: MicroBuildTemplate |
| 45 | + type: git |
| 46 | + name: 1ESPipelineTemplates/MicroBuildTemplate |
| 47 | + ref: refs/tags/release |
| 48 | +variables: |
| 49 | + BINLOG_DIRECTORY: $(Build.StagingDirectory)/binlog |
| 50 | + DOTNET_NOLOGO: 1 |
| 51 | + NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY: 3,1000 |
| 52 | + Codeql.Enabled: false |
| 53 | + Codeql.TSAEnabled: false |
| 54 | + RunBuildForPublishing: ${{ parameters.RunBuildForPublishing }} |
| 55 | + # Disable on this branch. RunCrossFrameworkTestsOnWindows: ${{ parameters.RunCrossFrameworkTestsOnWindows }} |
| 56 | + RunFunctionalTestsOnWindows: ${{ parameters.RunFunctionalTestsOnWindows }} |
| 57 | + RunSourceBuild: ${{ parameters.RunSourceBuild }} |
| 58 | + RunTestsOnLinux: ${{ parameters.RunTestsOnLinux }} |
| 59 | + RunTestsOnMac: ${{ parameters.RunTestsOnMac }} |
| 60 | + RunMonoTestsOnMac: ${{ parameters.RunMonoTestsOnMac }} |
31 | 61 | extends: |
32 | | - template: templates/pipeline.yml |
| 62 | + template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate |
33 | 63 | parameters: |
34 | | - DartLabEnvironment: ${{parameters.DartLabEnvironment}} |
35 | | - E2EPart1AgentCleanup: ${{parameters.E2EPart1AgentCleanup}} |
36 | | - E2EPart2AgentCleanup: ${{parameters.E2EPart2AgentCleanup}} |
37 | | - ApexAgentCleanup: ${{parameters.ApexAgentCleanup}} |
| 64 | + sdl: |
| 65 | + sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES |
| 66 | + binskim: |
| 67 | + enabled: true |
| 68 | + scanOutputDirectoryOnly: true |
| 69 | + sbom: |
| 70 | + enabled: true |
| 71 | + credscan: |
| 72 | + enabled: false |
| 73 | + pool: |
| 74 | + name: VSEngSS-MicroBuild2019-1ES |
| 75 | + os: windows |
| 76 | + demands: |
| 77 | + - ImageOverride -equals server2022-microbuildVS2019-1es |
| 78 | + featureFlags: |
| 79 | + enablePrepareFilesForSbom: true |
| 80 | + customBuildTags: |
| 81 | + - ES365AIMigrationTooling |
| 82 | + stages: |
| 83 | + - template: /eng/pipelines/templates/pipeline.yml@self |
| 84 | + parameters: |
| 85 | + NuGetLocalizationType: ${{parameters.NuGetLocalizationType}} |
| 86 | + RunBuildForPublishing: ${{parameters.RunBuildForPublishing}} |
| 87 | + # Disable on this branch. RunCrossFrameworkTestsOnWindows: ${{parameters.RunCrossFrameworkTestsOnWindows}} |
| 88 | + RunFunctionalTestsOnWindows: ${{parameters.RunFunctionalTestsOnWindows}} |
| 89 | + RunSourceBuild: ${{parameters.RunSourceBuild}} |
| 90 | + RunTestsOnLinux: ${{parameters.RunTestsOnLinux}} |
| 91 | + RunTestsOnMac: ${{parameters.RunTestsOnMac}} |
| 92 | + RunMonoTestsOnMac: ${{parameters.RunMonoTestsOnMac}} |
| 93 | + SigningType: ${{ parameters.SigningType }} |
0 commit comments