chore(ci): remove drone
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
893946fe33
commit
5582e1d3f1
1 changed files with 0 additions and 110 deletions
110
.drone.yml
110
.drone.yml
|
@ -1,110 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: mondrianwifi
|
|
||||||
|
|
||||||
environment:
|
|
||||||
device: mondrianwifi
|
|
||||||
version: 20.0
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: sync
|
|
||||||
pull: always
|
|
||||||
image: docker.nyyu.dev/lineage/android:latest
|
|
||||||
commands:
|
|
||||||
- cd /build
|
|
||||||
- rm -rf .repo/repo
|
|
||||||
- repo init -u https://github.com/LineageOS-UL/android.git -b lineage-$version
|
|
||||||
- mkdir -p .repo/local_manifests
|
|
||||||
- cp $DRONE_WORKSPACE_BASE/$device.xml .repo/local_manifests/roomservice.xml
|
|
||||||
- bash $DRONE_WORKSPACE_BASE/sync.sh
|
|
||||||
volumes:
|
|
||||||
- name: build
|
|
||||||
path: /build
|
|
||||||
- name: build
|
|
||||||
pull: always
|
|
||||||
image: docker.nyyu.dev/lineage/android:latest
|
|
||||||
commands:
|
|
||||||
- cd /build
|
|
||||||
- bash -c ". build/envsetup.sh && lunch lineage_$device-userdebug && mka bacon -j6"
|
|
||||||
volumes:
|
|
||||||
- name: build
|
|
||||||
path: /build
|
|
||||||
- name: tools
|
|
||||||
path: /tools
|
|
||||||
- name: copy
|
|
||||||
pull: always
|
|
||||||
image: docker.nyyu.dev/lineage/android:latest
|
|
||||||
commands:
|
|
||||||
- rm -f /http/lineage-$version-*-UNOFFICIAL-$device.zip*
|
|
||||||
- mv -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip* /http/
|
|
||||||
- cat /build/changelog-$device-$version.md >> /http/changelog-$device-$version.md
|
|
||||||
- ls -lh /http/lineage-$version-*-UNOFFICIAL-$device.zip*
|
|
||||||
volumes:
|
|
||||||
- name: build
|
|
||||||
path: /build
|
|
||||||
- name: http
|
|
||||||
path: /http
|
|
||||||
- name: clean
|
|
||||||
pull: always
|
|
||||||
image: docker.nyyu.dev/lineage/android:latest
|
|
||||||
commands:
|
|
||||||
- rm -f /build/out/target/product/$device/lineage-$version-*-UNOFFICIAL-$device.zip_* /build/out/target/product/$device/lineage_$device-ota-eng.*.zip
|
|
||||||
- rm -f /build/changelog-$device-$version.md
|
|
||||||
volumes:
|
|
||||||
- name: build
|
|
||||||
path: /build
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- custom
|
|
||||||
- cron
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: http
|
|
||||||
host:
|
|
||||||
path: /srv/http/drone
|
|
||||||
- name: build
|
|
||||||
host:
|
|
||||||
path: /media/fast/lineage/lineage-20.0
|
|
||||||
- name: tools
|
|
||||||
host:
|
|
||||||
path: /media/fast/lineage/tools
|
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: mondrianwifi-publish
|
|
||||||
|
|
||||||
environment:
|
|
||||||
device: mondrianwifi
|
|
||||||
version: 20.0
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: publish
|
|
||||||
pull: always
|
|
||||||
image: docker.nyyu.dev/lineage/android:latest
|
|
||||||
commands:
|
|
||||||
- mv /http/lineage-$version-*-UNOFFICIAL-$device.zip* /publish/$version/$device/
|
|
||||||
- cat /http/changelog-$device-$version.md >> /publish/$version/$device/changelog.md
|
|
||||||
- rm -f /http/changelog-$device-$version.md
|
|
||||||
- ls -lh /publish/$version/$device/
|
|
||||||
volumes:
|
|
||||||
- name: http
|
|
||||||
path: /http
|
|
||||||
- name: publish
|
|
||||||
path: /publish
|
|
||||||
trigger:
|
|
||||||
event:
|
|
||||||
- promote
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: http
|
|
||||||
host:
|
|
||||||
path: /srv/http/drone
|
|
||||||
- name: publish
|
|
||||||
host:
|
|
||||||
path: /mnt/android/lineage
|
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
Loading…
Add table
Reference in a new issue