From 34a9c7d27280b0e94980810d332df55b4120ff60 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 7 Feb 2024 08:56:31 -0500 Subject: [PATCH] - adds baseline for all checkout jobs Signed-off-by: Vincent Biret --- .azure-pipelines/ci-build.yml | 34 +++++++++++++++++-- .../.gdnbaselines | 0 .../.gdnsuppress | 0 3 files changed, 32 insertions(+), 2 deletions(-) rename guardian/SDL/{build_update_appsettings => common}/.gdnbaselines (100%) rename guardian/SDL/{build_update_appsettings => common}/.gdnsuppress (100%) diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 0c49a170ae..a8ce24ea7c 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -85,9 +85,9 @@ extends: templateContext: sdl: baseline: - baselineFile: $(Build.SourcesDirectory)/guardian/SDL/build_update_appsettings/.gdnbaselines + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines suppression: - suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/build_update_appsettings/.gdnsuppress + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress steps: - checkout: self clean: true @@ -113,6 +113,12 @@ extends: name: Azure-Pipelines-1ESPT-ExDShared os: windows # needed for compliance tasks image: windows-latest + templateContext: + sdl: + baseline: + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines + suppression: + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress steps: - checkout: self clean: true @@ -301,6 +307,12 @@ extends: name: Azure-Pipelines-1ESPT-ExDShared os: ${{ distribution.os }} image: ${{ distribution.image }} + templateContext: + sdl: + baseline: + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines + suppression: + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress steps: - checkout: self @@ -473,6 +485,12 @@ extends: name: Azure-Pipelines-1ESPT-ExDShared os: linux image: ubuntu-latest + templateContext: + sdl: + baseline: + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines + suppression: + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress steps: - checkout: self clean: true @@ -525,6 +543,12 @@ extends: name: Azure-Pipelines-1ESPT-ExDShared os: linux image: ubuntu-latest + templateContext: + sdl: + baseline: + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines + suppression: + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress variables: - group: kiota-vscode-extension-publish dependsOn: @@ -563,6 +587,12 @@ extends: name: Azure-Pipelines-1ESPT-ExDShared os: linux image: ubuntu-latest + templateContext: + sdl: + baseline: + baselineFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnbaselines + suppression: + suppressionFile: $(Build.SourcesDirectory)/guardian/SDL/common/.gdnsuppress dependsOn: [] environment: kiota-github-releases strategy: diff --git a/guardian/SDL/build_update_appsettings/.gdnbaselines b/guardian/SDL/common/.gdnbaselines similarity index 100% rename from guardian/SDL/build_update_appsettings/.gdnbaselines rename to guardian/SDL/common/.gdnbaselines diff --git a/guardian/SDL/build_update_appsettings/.gdnsuppress b/guardian/SDL/common/.gdnsuppress similarity index 100% rename from guardian/SDL/build_update_appsettings/.gdnsuppress rename to guardian/SDL/common/.gdnsuppress