build/.woodpecker/.sync.yml

31 lines
829 B
YAML
Raw Normal View History

2023-01-07 01:08:26 +01:00
variables:
- &build_vol '/media/fast/lineage/lineage-20.0:/build'
matrix:
include:
- device: mondrian
version: 20.0
pipeline:
sync:
pull: true
image: docker.nyyu.dev/lineage/android
commands:
- HOME=/home/drone
- git config --global user.email 'drone@nyyu.dev'
- git config --global user.name 'drone'
- cd /build
- rm -rf .repo/repo
2023-01-22 19:59:24 +01:00
- repo init -u https://github.com/LineageOS-UL/android.git -b lineage-$version -g default,-darwin
2023-01-07 01:08:26 +01:00
- mkdir -p .repo/local_manifests
- cp $CI_WORKSPACE/$device.xml .repo/local_manifests/roomservice.xml
- repo forall -c 'git reset --hard --quiet' || true
- bash $CI_WORKSPACE/sync.sh
environment:
version: '20.0'
volumes:
- *build_vol
when:
event:
- manual
- cron