Skip to content

Commit

Permalink
Update azp
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <ganze718@gmail.com>
  • Loading branch information
Pterosaur committed Dec 1, 2023
1 parent 143a643 commit ce1e4ce
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .azure-pipelines/build-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ parameters:
type: string
default: '$(BUILD_BRANCH)'

- name: dash_api_artifact_name
type: string

- name: asan
type: boolean
default: false
Expand Down Expand Up @@ -159,8 +162,19 @@ jobs:
target/debs/bullseye/libprotobuf*.deb
target/debs/bullseye/libprotoc*.deb
target/debs/bullseye/protobuf-compiler*.deb
target/debs/bullseye/libdashapi*.deb
displayName: "Download common libs"
- task: DownloadPipelineArtifact@2
inputs:
source: specific
project: build
pipeline: sonic-net.sonic-dash-api
artifact: ${{ parameters.dash_api_artifact_name }}
runVersion: 'latestFromBranch'
runBranch: 'refs/heads/$(BUILD_BRANCH)'
path: $(Build.ArtifactStagingDirectory)/download/common
patterns: |
libdashapi*.deb
displayName: "Download dash api"
- script: |
set -ex
cd download
Expand Down
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ stages:
common_lib_artifact_name: common-lib
swss_common_artifact_name: sonic-swss-common
sairedis_artifact_name: sonic-sairedis
dash_api_artifact_name: sonic-dash-api
artifact_name: sonic-swss
archive_pytests: true
archive_gcov: true
Expand All @@ -59,6 +60,7 @@ stages:
common_lib_artifact_name: common-lib
swss_common_artifact_name: sonic-swss-common
sairedis_artifact_name: sonic-sairedis
dash_api_artifact_name: sonic-dash-api
artifact_name: sonic-swss-asan
asan: true

Expand All @@ -75,6 +77,7 @@ stages:
common_lib_artifact_name: common-lib.armhf
swss_common_artifact_name: sonic-swss-common.armhf
sairedis_artifact_name: sonic-sairedis.armhf
dash_api_artifact_name: sonic-dash-api.armhf
artifact_name: sonic-swss.armhf
archive_gcov: false

Expand All @@ -87,6 +90,7 @@ stages:
common_lib_artifact_name: common-lib.arm64
swss_common_artifact_name: sonic-swss-common.arm64
sairedis_artifact_name: sonic-sairedis.arm64
dash_api_artifact_name: sonic-dash-api.arm64
artifact_name: sonic-swss.arm64
archive_gcov: false

Expand Down

0 comments on commit ce1e4ce

Please sign in to comment.