fix: add bash safety headers, ignore GENERAL.upstream.txt, pass UPSTREAM_GENERAL_REF
Some checks failed
ci/woodpecker/manual/ipq60xx Pipeline failed
Some checks failed
ci/woodpecker/manual/ipq60xx Pipeline failed
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,6 +6,7 @@ wrt-wifi/
|
|||||||
# configs generated by builds
|
# configs generated by builds
|
||||||
.config
|
.config
|
||||||
.config.old
|
.config.old
|
||||||
|
Config/GENERAL.upstream.txt
|
||||||
|
|
||||||
# editor / OS
|
# editor / OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- chmod +x ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh
|
- chmod +x ${CI_WORKSPACE}/Scripts/sync_upstream_config.sh
|
||||||
- ${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
|
- name: build-ipq60xx-wifi-yes
|
||||||
image: ubuntu:24.04
|
image: ubuntu:24.04
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
PKG_PATH="$GITHUB_WORKSPACE/wrt/package/"
|
PKG_PATH="$GITHUB_WORKSPACE/wrt/package/"
|
||||||
|
|
||||||
#预置HomeProxy数据
|
#预置HomeProxy数据
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#安装和更新软件包
|
#安装和更新软件包
|
||||||
|
set -euo pipefail
|
||||||
UPDATE_PACKAGE() {
|
UPDATE_PACKAGE() {
|
||||||
local PKG_NAME=$1
|
local PKG_NAME=$1
|
||||||
local PKG_REPO=$2
|
local PKG_REPO=$2
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
#移除luci-app-attendedsysupgrade
|
#移除luci-app-attendedsysupgrade
|
||||||
sed -i "/attendedsysupgrade/d" $(find ./feeds/luci/collections/ -type f -name "Makefile")
|
sed -i "/attendedsysupgrade/d" $(find ./feeds/luci/collections/ -type f -name "Makefile")
|
||||||
#修改默认主题
|
#修改默认主题
|
||||||
|
|||||||
Reference in New Issue
Block a user