From 7bd1dad61b9f497d23ccae7e3a16c3604b5cf94b Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 21 May 2025 11:49:07 -0700 Subject: [PATCH] Just do governance --- _build/azure-pipelines.compliance.yml | 33 +++------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/_build/azure-pipelines.compliance.yml b/_build/azure-pipelines.compliance.yml index 7a9d3c1690..fe4229fac4 100644 --- a/_build/azure-pipelines.compliance.yml +++ b/_build/azure-pipelines.compliance.yml @@ -45,33 +45,6 @@ extends: submodules: false retryCountOnTaskFailure: 3 - - task: NodeTool@0 - inputs: - versionSpec: 20.x - displayName: 'Install Node' - - - bash: | - npm install -g `node -e 'console.log(JSON.parse(fs.readFileSync("package.json", "utf8")).packageManager)'` - npm --version - displayName: 'Install packageManager from package.json' - - # Do --ignore-scripts for now to avoid needing to install/build rust. - - bash: npm ci --ignore-scripts - displayName: 'npm ci' - - - bash: | - set -euo pipefail - version=$(grep -oP '^go \K[0-9]+\.[0-9]+' go.mod) - curl -SL -o '$(Agent.BuildDirectory)/golang.tar.gz' https://aka.ms/golang/release/latest/go${version}.linux-amd64.tar.gz - tar -C '$(Agent.BuildDirectory)' -xzf '$(Agent.BuildDirectory)/golang.tar.gz' - rm -f '$(Agent.BuildDirectory)/golang.tar.gz' - echo '##vso[task.prependpath]$(Agent.BuildDirectory)/go/bin' - displayName: 'Install Go' - - - bash: | - which go - go version - displayName: 'Check Go version' - - - bash: npx hereby build - displayName: 'Build' + - task: ComponentGovernanceComponentDetection@0 + condition: succeededOrFailed() + continueOnError: True