2023-01-07 01:08:26 +01:00
|
|
|
variables:
|
2023-05-20 08:06:57 +02:00
|
|
|
- &build_vol '/media/fast/lineage/lineage-20.0:/build'
|
|
|
|
- &http_vol '/srv/http/drone:/http'
|
2023-01-07 01:08:26 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2023-05-20 08:06:57 +02:00
|
|
|
- device: mondrianwifi
|
|
|
|
version: 20.0
|
|
|
|
- device: mondrianlte
|
|
|
|
version: 20.0
|
2023-01-07 01:08:26 +01:00
|
|
|
|
|
|
|
skip_clone: true
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
copy:
|
|
|
|
pull: true
|
|
|
|
image: alpine
|
|
|
|
commands:
|
2023-05-20 08:06:57 +02:00
|
|
|
- rm -f /http/lineage-$version-*-UNOFFICIAL-$device.zip*
|
|
|
|
- mv -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip* /http/
|
|
|
|
- cat /build/changelog-mondrian-$version.md >> /http/changelog-$device-$version.md
|
|
|
|
- ls -lh /http/lineage-$version-*-UNOFFICIAL-$device.zip*
|
2023-01-07 01:08:26 +01:00
|
|
|
volumes:
|
2023-05-20 08:06:57 +02:00
|
|
|
- *build_vol
|
|
|
|
- *http_vol
|
2023-01-07 01:08:26 +01:00
|
|
|
when:
|
|
|
|
event:
|
2023-05-20 08:06:57 +02:00
|
|
|
- manual
|
|
|
|
- cron
|
2023-01-07 01:08:26 +01:00
|
|
|
clean:
|
|
|
|
pull: true
|
|
|
|
image: alpine
|
|
|
|
commands:
|
2023-05-20 08:06:57 +02:00
|
|
|
- rm -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip_* /build/out/target/product/$device/lineage_$device-ota-eng.*.zip
|
|
|
|
- rm -rf /build/out/target/product/$device/obj/PACKAGING/target_files_intermediates/*
|
|
|
|
- rm -f /build/changelog-$device-$version.md
|
2023-01-07 01:08:26 +01:00
|
|
|
volumes:
|
2023-05-20 08:06:57 +02:00
|
|
|
- *build_vol
|
2023-01-07 01:08:26 +01:00
|
|
|
when:
|
|
|
|
event:
|
2023-05-20 08:06:57 +02:00
|
|
|
- manual
|
|
|
|
- cron
|
2023-01-07 01:08:26 +01:00
|
|
|
|
|
|
|
depends_on:
|
2023-05-20 08:06:57 +02:00
|
|
|
- changelog
|