Skip to content
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

azure-pipelines: Allow for unofficial builds from 1esmain pipeline #1847

Merged
merged 1 commit into from
Dec 5, 2024
Merged
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
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
Loading