82734470d2
All checks were successful
ci/woodpecker/push/build Pipeline was successful
- update makedeb - use bin, git, normal, leafee98 to classify packages - only build package from leafee98 and bin in ci - add script to build all packages locally - add more log about running hook in build.sh
27 lines
805 B
YAML
27 lines
805 B
YAML
steps:
|
|
- name: build_all
|
|
image: debian-pack:0.4
|
|
secrets:
|
|
- WEBDAV_PASS
|
|
- WEBDAV_USER
|
|
environment:
|
|
- WEBDAV_UPLOAD_TARGET=https://dufs.leafee98.com/apt/income
|
|
- APT_BASE=https://dufs.leafee98.com/apt
|
|
commands:
|
|
- rm -f /tmp/apt-file-exists-cache.json
|
|
- ./script/build.sh
|
|
--makedeb-path makedeb/makedeb
|
|
--package-exists-hook "
|
|
$(realpath ./script/package_exists.py)
|
|
--filename {}
|
|
--cache-file /tmp/apt-file-exists-cache.json
|
|
--package-arch amd64
|
|
--apt-base $APT_BASE
|
|
"
|
|
--upload-to-webdav "$WEBDAV_UPLOAD_TARGET"
|
|
--webdav-user "$WEBDAV_USER"
|
|
--webdav-pass "$WEBDAV_PASS"
|
|
--package-dir packages/bin
|
|
--package-dir packages/leafee98
|
|
|