Skip to content

Commit

Permalink
Allow for unofficial builds from 1esmain pipeline (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwateratmsft authored Dec 5, 2024
1 parent 0aa1059 commit 8f930ff
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions azure-pipelines/1esmain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ parameters:
default: []
- name: enableSigning
type: boolean
default: True
default: true
- name: isOfficialBuild
type: boolean
default: true

# `resources` specifies the location of templates to pick up, use it to get 1ES templates
resources:
Expand All @@ -22,12 +25,16 @@ resources:
ref: refs/tags/release

extends:
template: azure-pipelines/MicroBuild.1ES.Official.yml@1esPipelines
${{ if eq(parameters.isOfficialBuild, true) }}:
template: azure-pipelines/MicroBuild.1ES.Official.yml@1esPipelines
${{ else }}:
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@1esPipelines
parameters:
sdl:
tsa:
enabled: true
configFile: '$(Build.SourcesDirectory)\.azure-pipelines\compliance\tsaoptions.json'
${{ if eq(parameters.IsOfficialBuild, true) }}:
tsa:
enabled: true
configFile: '$(Build.SourcesDirectory)\.azure-pipelines\compliance\tsaoptions.json'
suppression:
suppressionFile: $(Build.SourcesDirectory)\.config\guardian\.gdnsuppress
credscan:
Expand Down

0 comments on commit 8f930ff

Please sign in to comment.