From 2383eeaf603c3ac762063aaab34288a2423c5b3d Mon Sep 17 00:00:00 2001 From: hallvictoria <59299039+hallvictoria@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:09:47 -0500 Subject: [PATCH] fix: code sign validation for setuptools (#1570) * enable code sign validation & exclude setuptools * duplicate step --- eng/ci/official-build.yml | 4 ++++ pack/templates/macos_64_env_gen.yml | 1 + pack/templates/nix_env_gen.yml | 1 + pack/templates/win_env_gen.yml | 1 + 4 files changed, 7 insertions(+) diff --git a/eng/ci/official-build.yml b/eng/ci/official-build.yml index 8ac6231d..ab2dc802 100644 --- a/eng/ci/official-build.yml +++ b/eng/ci/official-build.yml @@ -38,6 +38,10 @@ extends: name: 1es-pool-azfunc image: 1es-windows-2022 os: windows + sdl: + codeSignValidation: + enabled: true + break: true stages: - stage: Build diff --git a/pack/templates/macos_64_env_gen.yml b/pack/templates/macos_64_env_gen.yml index 56b8b23c..8635e9ed 100644 --- a/pack/templates/macos_64_env_gen.yml +++ b/pack/templates/macos_64_env_gen.yml @@ -30,4 +30,5 @@ steps: !pack/** !python/** !tests/** + !setuptools*/** targetFolder: '$(Build.ArtifactStagingDirectory)' diff --git a/pack/templates/nix_env_gen.yml b/pack/templates/nix_env_gen.yml index 9da26b1b..3a8c17c3 100644 --- a/pack/templates/nix_env_gen.yml +++ b/pack/templates/nix_env_gen.yml @@ -30,4 +30,5 @@ steps: !pack/** !python/** !tests/** + !setuptools*/** targetFolder: '$(Build.ArtifactStagingDirectory)' diff --git a/pack/templates/win_env_gen.yml b/pack/templates/win_env_gen.yml index 2bd38ac7..322375b2 100644 --- a/pack/templates/win_env_gen.yml +++ b/pack/templates/win_env_gen.yml @@ -30,4 +30,5 @@ steps: !pack\** !python\** !tests\** + !setuptools*\** targetFolder: '$(Build.ArtifactStagingDirectory)'