lb-config/.drone.yml

124 lines
2.2 KiB
YAML
Raw Permalink Normal View History

2020-09-23 07:13:11 +00:00
---
kind: pipeline
type: docker
2020-09-25 02:30:18 +00:00
name: main
2020-09-23 07:13:11 +00:00
clone:
2020-09-23 07:22:20 +00:00
disable: true
2020-09-23 07:13:11 +00:00
steps:
- name: build_img
2020-09-23 07:22:20 +00:00
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
2020-09-23 17:33:48 +00:00
- name: proc
path: /proc
- name: pts
path: /dev/pts
2020-09-23 07:22:20 +00:00
commands:
2020-09-23 17:33:48 +00:00
- apt-get update
- apt-get install -y live-build
- apt-get install -y git
2020-09-23 07:22:20 +00:00
- lb config
- rm -r config
2020-09-25 02:32:47 +00:00
- git clone --recurse-submodules -b main https://tildegit.org/tildelinux/lb-config config
2020-09-23 07:22:20 +00:00
- lb build
- mv live-image-amd64.img /tl-builds/tildelinux.img
- name: sha512sum
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
commands:
- cd /tl-builds
2020-09-25 05:24:33 +00:00
- sha512sum *.img > SHA512SUMS
2020-09-25 02:28:51 +00:00
trigger:
2020-09-25 02:32:47 +00:00
branch: main
2020-09-25 02:28:51 +00:00
2020-09-25 03:23:11 +00:00
volumes:
- name: builds
host:
path: /home/sose/tl-builds
- name: proc
host:
path: /proc
- name: pts
host:
path: /dev/pts
2020-09-25 02:28:51 +00:00
---
kind: pipeline
type: docker
2020-09-25 02:30:18 +00:00
name: testing
2020-09-25 02:28:51 +00:00
clone:
disable: true
steps:
2020-09-25 05:57:16 +00:00
- name: build_img
2020-09-25 02:28:51 +00:00
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
- name: proc
path: /proc
- name: pts
path: /dev/pts
commands:
- apt-get update
- apt-get install -y live-build
- apt-get install -y syslinux-efi
2020-09-25 02:28:51 +00:00
- apt-get install -y git
- lb config
- rm -r config
- git clone --recurse-submodules -b testing https://tildegit.org/tildelinux/lb-config config
- lb build
- mv live-image-amd64.img /tl-builds/testing/tildelinux-testing.img
- name: build_img_nopersist
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
- name: proc
path: /proc
- name: pts
path: /dev/pts
commands:
- apt-get update
- apt-get install -y live-build
- apt-get install -y syslinux-efi
- apt-get install -y git
- lb clean
- cd config
- git apply patches/0001-remove-peristence.patch
- cd ..
- lb build
- mv live-image-amd64.img /tl-builds/testing/tildelinux-testing-nopersistence.img
2020-09-25 02:28:51 +00:00
- name: sha512sum
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
commands:
- cd /tl-builds/testing
2020-09-25 05:24:33 +00:00
- sha512sum *.img > SHA512SUMS
2020-09-25 02:28:51 +00:00
trigger:
branch: testing
2020-09-23 07:13:11 +00:00
volumes:
- name: builds
2020-09-23 07:22:20 +00:00
host:
path: /home/sose/tl-builds
2020-09-23 17:33:48 +00:00
- name: proc
host:
path: /proc
- name: pts
host:
path: /dev/pts