This commit is contained in:
parent
7b3e031bc2
commit
bb9c28d352
4
build.sh
4
build.sh
@ -65,8 +65,8 @@ while read -r p; do
|
||||
cd ..
|
||||
done <aur.txt
|
||||
|
||||
del=$(git --no-pager diff HEAD~${CI_PREV_COMMIT_SHA} aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)
|
||||
del=$(git --no-pager diff ${CI_PREV_COMMIT_SHA}..HEAD aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)
|
||||
if [ -n "${del}" ]; then
|
||||
# shellcheck disable=SC2086
|
||||
repo-remove -s /repo/nyyu.db.tar.zst ${del}
|
||||
repo-remove -s /repo/nyyu.db.tar.zst ${del} || true
|
||||
fi
|
||||
|
@ -17,8 +17,8 @@ pkgbase = woodpecker
|
||||
sha256sums = SKIP
|
||||
sha256sums = 6e22e6939222aaad07311e37a086935ca32dd149c3688b2809db5f55df816516
|
||||
sha256sums = 176d884407b89da3e83cb0b19c506a3fd5ce39a19fb6346e512562ee73e50373
|
||||
sha256sums = 7bc4d8ab05573ff761f001a445207a5a9f533b4cb5cf7c538a45dceceb04d441
|
||||
sha256sums = 71807249f898f323fac434cfa01a7af91bb442d4050ae0c955e400a4bb9edef1
|
||||
sha256sums = d029760fd48718c579aaa10289786797cb2064201fef4bfbeacf3b96c54c1597
|
||||
sha256sums = a0a4d1e219e37b695b410bbcfffca89b678a2bb9f3de232fbaaf79a0f2fe57cb
|
||||
|
||||
pkgname = woodpecker-server
|
||||
backup = etc/woodpecker/server
|
||||
|
@ -22,8 +22,8 @@ source=(git+https://github.com/woodpecker-ci/woodpecker.git
|
||||
sha256sums=('SKIP'
|
||||
'6e22e6939222aaad07311e37a086935ca32dd149c3688b2809db5f55df816516'
|
||||
'176d884407b89da3e83cb0b19c506a3fd5ce39a19fb6346e512562ee73e50373'
|
||||
'7bc4d8ab05573ff761f001a445207a5a9f533b4cb5cf7c538a45dceceb04d441'
|
||||
'71807249f898f323fac434cfa01a7af91bb442d4050ae0c955e400a4bb9edef1')
|
||||
'd029760fd48718c579aaa10289786797cb2064201fef4bfbeacf3b96c54c1597'
|
||||
'a0a4d1e219e37b695b410bbcfffca89b678a2bb9f3de232fbaaf79a0f2fe57cb')
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgbase"
|
||||
@ -35,7 +35,7 @@ prepare() {
|
||||
|
||||
mkdir -p build-server build-agent build-cli
|
||||
|
||||
go mod download
|
||||
go mod download || true
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -3,3 +3,4 @@
|
||||
WOODPECKER_SERVER=localhost:9992
|
||||
WOODPECKER_AGENT_SECRET=""
|
||||
WOODPECKER_HEALTHCHECK=false
|
||||
# WOODPECKER_MAX_PROCS=4
|
@ -29,5 +29,8 @@ WOODPECKER_ORGS=
|
||||
WOODPECKER_REPO_OWNERS=
|
||||
WOODPECKER_OPEN=false
|
||||
|
||||
# env
|
||||
# WOODPECKER_ENVIRONMENT=
|
||||
|
||||
# debug
|
||||
WOODPECKER_LOG_LEVEL=
|
||||
# WOODPECKER_LOG_LEVEL=
|
||||
|
Loading…
Reference in New Issue
Block a user