added pipeline for testing
This commit is contained in:
parent
5a00bf4488
commit
db7b7644f4
42
.drone.yml
42
.drone.yml
|
@ -35,6 +35,48 @@ steps:
|
|||
commands:
|
||||
- cd /tl-builds
|
||||
- sha512sum * > SHA512SUMS
|
||||
trigger:
|
||||
branch: master
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: build_img_testing
|
||||
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 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: sha512sum
|
||||
image: debian:buster
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: builds
|
||||
path: /tl-builds
|
||||
commands:
|
||||
- cd /tl-builds/testing
|
||||
- sha512sum * > SHA512SUMS
|
||||
trigger:
|
||||
branch: testing
|
||||
|
||||
volumes:
|
||||
- name: builds
|
||||
|
|
Loading…
Reference in New Issue