Skip to content

Commit

Permalink
Merge pull request #201 from CybercentreCanada/updater-client-testing
Browse files Browse the repository at this point in the history
Run service-base tests on host network
  • Loading branch information
cccs-rs committed Feb 26, 2024
2 parents caf74ca + ea2dfaf commit eb5bcba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipelines/full-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ stages:
docker run -v `pwd`/test:/test \
-v $(Pipeline.Workspace)/working/pipelines/base-config.yaml:/etc/assemblyline/config.yml \
-w /test \
--network host \
cccstemp.azurecr.io/assemblyline-v4-service-base:${TAG} \
/bin/bash -c "pip install -r requirements.txt; CI=1 pytest -rsx --durations=10"
workingDirectory: $(Pipeline.Workspace)/working/assemblyline-v4-service
Expand Down

0 comments on commit eb5bcba

Please sign in to comment.