Skip to content

Commit

Permalink
Update azure pipelines (Azure-Samples#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjortega authored Jun 27, 2024
1 parent 2cbf2c0 commit f6cf4b6
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .azdo/azure-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit f6cf4b6

Please sign in to comment.