10000 Move from PkgES hosted agents to 1ES hosted agents by adityapatwardhan · Pull Request #16023 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Move from PkgES hosted agents to 1ES hosted agents #16023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/releaseBuild/azureDevOps/releaseBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ stages:
- job: release_json
displayName: Create and Upload release.json
pool:
vmImage: 'windows-latest'
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
steps:
- checkout: self
clean: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
- group: Azure Blob variable group
displayName: Delete blob is exists
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
steps:
- checkout: self
clean: true
Expand Down
10 changes: 9 additions & 1 deletion tools/releaseBuild/azureDevOps/templates/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ jobs:
value : false
- name: NugetSecurityAnalysisWarningLevel
value: none

# Defines the variables APIScanClient, APIScanTenant and APIScanSecret
- group: PS-PS-APIScan
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment on what variables this brings in?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.


displayName: Compliance
dependsOn:
${{ parameters.parentJobs }}
pool:
name: Package ES Standard Build
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019

# APIScan can take a long time
timeoutInMinutes: 180
Expand Down Expand Up @@ -115,6 +121,8 @@ jobs:
softwareVersionNum: '$(ReleaseTagVar)'
isLargeApp: false
preserveTempFiles: true
env:
AzureServicesAuthConnectionString: RunAs=App;AppId=$(APIScanClient);TenantId=$(APIScanTenant);AppKey=$(APIScanSecret)
continueOnError: true

- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
Expand Down
4 changes: 3 additions & 1 deletion tools/releaseBuild/azureDevOps/templates/json.yml
D7AE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
${{ parameters.parentJobs }}
condition: succeeded()
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019

steps:
#- task: <task type name>@<version>
Expand Down
8 changes: 6 additions & 2 deletions tools/releaseBuild/azureDevOps/templates/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
displayName: Build ${{ parameters.buildName }}
condition: succeeded()
pool:
vmImage: ubuntu-16.04
name: PowerShell1ES
demands:
- ImageOverride -equals MMSUbuntu20.04
dependsOn: ${{ parameters.parentJob }}
variables:
- name: runCodesignValidationInjection
Expand Down Expand Up @@ -66,7 +68,9 @@ jobs:
dependsOn: build_${{ parameters.buildName }}
condition: succeeded()
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- name: buildName
value: ${{ parameters.buildName }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
dependsOn: build_macOS_${{ parameters.buildArchitecture }}
condition: succeeded()
pool:
name: Package ES Standard Build
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- group: ESRP
- name: runCodesignValidationInjection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
dependsOn: package_macOS_${{ parameters.buildArchitecture }}
condition: succeeded()
pool:
name: Package ES Standard Build
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- group: ESRP
- name: runCodesignValidationInjection
Expand Down
5 changes: 4 additions & 1 deletion tools/releaseBuild/azureDevOps/templates/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jobs:
${{ parameters.parentJobs }}
displayName: Build NuGet packages
condition: succeeded()
pool: Package ES Standard Build
pool:
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019

timeoutInMinutes: 90

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
condition: succeeded()

pool:
name: Package ES Standard Build
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019

steps:
- checkout: self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
condition: succeeded()
dependsOn: ${{ parameters.parentJob }}
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- name: runCodesignValidationInjection
value: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ jobs:
${{ parameters.parentJobs }}
condition: succeeded()
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
value: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
condition: succeeded()
dependsOn: ${{ parameters.parentJob }}
pool:
vmImage: windows-latest
name: PowerShell1ES
demands:
- ImageOverride -equals MMS2019
variables:
- name: BuildConfiguration
value: ${{ parameters.BuildConfiguration }}
Expand Down
0