-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update eng/common to dotnet/docker-tools@6fabb8f (#284)
* upgrade docker-tools to 6fabb8f * Move 1ES PT image definition inside internal project conditional * Use WS2016 image with support for 1ES Pipeline Templates
- Loading branch information
Showing
19 changed files
with
112 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This job builds all projects in the repository. It is intended to be used for CG purposes. | ||
# The 1ES CG step does not scan artifacts that are built within Dockerfiles therefore they | ||
# need to be built outside of Dockerfiles. | ||
jobs: | ||
- job: BuildProjects | ||
displayName: Build Projects | ||
pool: | ||
name: NetCore1ESPool-Internal | ||
image: 1es-ubuntu-2204 | ||
os: linux | ||
steps: | ||
- powershell: > | ||
./eng/common/Install-DotNetSdk.ps1 /usr/share/.dotnet | ||
displayName: Run Dotnet Install Script | ||
- script: > | ||
find . -name '*.csproj' | grep $(cgBuildGrepArgs) | xargs -n 1 /usr/share/.dotnet/dotnet build | ||
displayName: Build Projects |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
steps: | ||
- powershell: | | ||
# Use dry-run option for certain publish operations if this is not a production build | ||
$dryRunArg="" | ||
if (-not "$(officialRepoPrefixes)".Split(',').Contains("$(publishRepoPrefix)") ` | ||
-or "$(System.TeamProject)" -eq "$(publicProjectName)") | ||
{ | ||
$dryRunArg=" --dry-run" | ||
} | ||
echo "##vso[task.setvariable variable=dryRunArg]$dryRunArg" | ||
# Use dry-run option for certain publish operations if this is not a production build | ||
$dryRunArg="" | ||
if (-not "$(officialRepoPrefixes)".Split(',').Contains("$(publishRepoPrefix)") ` | ||
-or "$(System.TeamProject)" -eq "$(publicProjectName)") | ||
{ | ||
$dryRunArg=" --dry-run" | ||
} | ||
echo "##vso[task.setvariable variable=dryRunArg]$dryRunArg" | ||
displayName: Set dry-run arg for non-prod |
Oops, something went wrong.