From e35d1592f9957982b191a7cc9c5d73528fc05a7e Mon Sep 17 00:00:00 2001 From: lingyuzeng Date: Sun, 1 Mar 2026 17:21:47 +0800 Subject: [PATCH] ci(woodpecker): add labels and noninteractive env - Bind pipeline to docker-labeled workers via top-level labels\n- Set DEBIAN_FRONTEND=noninteractive for sync/build steps\n- Keep existing build commands and flow unchanged --- .woodpecker/ipq60xx.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.woodpecker/ipq60xx.yml b/.woodpecker/ipq60xx.yml index ef2eec7..1fb9154 100644 --- a/.woodpecker/ipq60xx.yml +++ b/.woodpecker/ipq60xx.yml @@ -9,6 +9,9 @@ variables: # Leave empty or set to 'main' to always use latest # UPSTREAM_GENERAL_REF: "" +labels: + backend: docker + steps: - name: init-env image: ubuntu:24.04 @@ -21,14 +24,17 @@ steps: - name: sync-configs image: ubuntu:24.04 + environment: + DEBIAN_FRONTEND: noninteractive + UPSTREAM_GENERAL_REF: ${UPSTREAM_GENERAL_REF:-main} commands: - chmod +x ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh - ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh - environment: - UPSTREAM_GENERAL_REF: ${UPSTREAM_GENERAL_REF:-main} - name: build-ipq60xx-wifi-yes image: ubuntu:24.04 + environment: + DEBIAN_FRONTEND: noninteractive commands: - git clone --depth=1 --single-branch --branch ${WRT_BRANCH} ${WRT_REPO} wrt-yes - cd wrt-yes @@ -54,6 +60,8 @@ steps: - name: build-ipq60xx-wifi image: ubuntu:24.04 + environment: + DEBIAN_FRONTEND: noninteractive commands: - git clone --depth=1 --single-branch --branch ${WRT_BRANCH} ${WRT_REPO} wrt-wifi - cd wrt-wifi