From f6cf4b6316de89213d3b0fbe3d8ee5e17f0b6373 Mon Sep 17 00:00:00 2001 From: Richard Ortega Date: Thu, 27 Jun 2024 15:49:49 -0400 Subject: [PATCH] Update azure pipelines (#31) --- .azdo/azure-pipeline.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.azdo/azure-pipeline.yaml b/.azdo/azure-pipeline.yaml index 95fc6f6..7d2bd37 100644 --- a/.azdo/azure-pipeline.yaml +++ b/.azdo/azure-pipeline.yaml @@ -5,20 +5,6 @@ pool: vmImage: ubuntu-latest steps: - - task: PoliCheck@2 - displayName: 'Run PoliCheck' - inputs: - targetType: 'F' - targetArgument: '$(Build.SourcesDirectory)' - result: 'PoliCheck.xml' - toolVersion: Latest - - script: docker build -t graphrag:backend -f docker/Dockerfile-backend . - displayName: 'Build backend docker image' - - script: docker build -t graphrag:frontend -f docker/Dockerfile-frontend . - displayName: 'Build frontend docker image' - # Component Governance does not support pyproject.toml yet. - # For that reason, use toml-to-requirements to export the - # dependencies into a requirements.txt file. - script: | pip install toml-to-requirements toml-to-req --toml-file pyproject.toml --poetry --optional-lists dev,test,backend,frontend @@ -31,4 +17,10 @@ steps: scanType: 'Register' verbosity: 'Verbose' alertWarningLevel: 'High' - dockerImagesToScan: graphrag:backend,graphrag:frontend + # - task: PoliCheck@2 + # displayName: 'Run PoliCheck' + # inputs: + # targetType: 'F' + # targetArgument: '$(Build.SourcesDirectory)' + # result: 'PoliCheck.xml' + # toolVersion: Latest