[github-actions] disable Discovery Proxy in the otbr Backbone CI (#12195)

This commit disables Discovery Proxy in otbr Backbone CI.

Because in this item, `BORDER_ROUTING` is explicitly disabled and it
is required by OT discovery proxy.

This commit removes `"-DOTBR_DNS_UPSTREAM_QUERY=ON"` in build script
because this option will automatically handled in the cmake options
file and it also depends on BORDER_ROUTING. Force it to be ON will
cause a conflict when BORDER_ROUTING is OFF.
This commit is contained in:
Li Cao
2025-12-04 08:24:35 -08:00
committed by GitHub
parent 32ef52f06a
commit d7fe525415
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -61,6 +61,7 @@ jobs:
# packet verification can't handle it because of the order of context ID
# of OMR prefix and Domain prefix is not deterministic.
BORDER_ROUTING: 0
DISCOVERY_PROXY: 0
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
+4 -1
View File
@@ -68,6 +68,9 @@ readonly VERBOSE
BORDER_ROUTING="${BORDER_ROUTING:-1}"
readonly BORDER_ROUTING
DISCOVERY_PROXY="${DISCOVERY_PROXY:-1}"
readonly DISCOVERY_PROXY
NAT64="${NAT64:-0}"
readonly NAT64
@@ -359,12 +362,12 @@ do_build_otbr_docker()
"-DOT_SRP_CLIENT=ON"
"-DOT_FULL_LOGS=ON"
"-DOT_UPTIME=ON"
"-DOTBR_DNS_UPSTREAM_QUERY=ON"
"-DOTBR_DUA_ROUTING=ON"
"-DOTBR_DHCP6_PD=ON"
)
local args=(
"BORDER_ROUTING=${BORDER_ROUTING}"
"DISCOVERY_PROXY=${DISCOVERY_PROXY}"
"INFRA_IF_NAME=eth0"
"BACKBONE_ROUTER=1"
"REFERENCE_DEVICE=1"