Skip to content

Commit

Permalink
[ci] Enable sonic-restapi build in PR validation. (#17397)
Browse files Browse the repository at this point in the history
Why I did it
Enable sonic-restapi build in two platform to avoid build break on restapi target.

Work item tracking
Microsoft ADO (number only): 26048426
How I did it
How to verify it
  • Loading branch information
liushilongbuaa authored Dec 15, 2023
1 parent 73f6e58 commit 2532661
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ stages:
- name: broadcom
variables:
swi_image: yes
INCLUDE_RESTAPI: y
- name: mellanox
variables:
dbg_image: yes
Expand All @@ -79,6 +80,7 @@ stages:
timeoutInMinutes: 1200
variables:
PLATFORM_ARCH: armhf
INCLUDE_RESTAPI: y

- stage: Test
dependsOn: BuildVS
Expand Down
2 changes: 1 addition & 1 deletion rules/config
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ INCLUDE_MGMT_FRAMEWORK = y
ENABLE_HOST_SERVICE_ON_START = y

# INCLUDE_RESTAPI - build docker-sonic-restapi for configuring the switch using REST APIs
INCLUDE_RESTAPI = n
INCLUDE_RESTAPI ?= n

# INCLUDE_NAT - build docker-nat for nat support
INCLUDE_NAT = y
Expand Down

0 comments on commit 2532661

Please sign in to comment.