From d7fe525415f8cc51d7f24dbb793a2cf2a8f4a8d2 Mon Sep 17 00:00:00 2001 From: Li Cao Date: Fri, 5 Dec 2025 00:24:35 +0800 Subject: [PATCH] [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. --- .github/workflows/otbr.yml | 1 + script/test | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/otbr.yml b/.github/workflows/otbr.yml index 679b61a80..7d6b07f64 100644 --- a/.github/workflows/otbr.yml +++ b/.github/workflows/otbr.yml @@ -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: diff --git a/script/test b/script/test index 2f481190f..6c72d8375 100755 --- a/script/test +++ b/script/test @@ -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"