124 lines
2.2 KiB
YAML
124 lines
2.2 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: main
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: build_img
|
|
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 main https://tildegit.org/tildelinux/lb-config config
|
|
- 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
|
|
- sha512sum *.img > SHA512SUMS
|
|
trigger:
|
|
branch: main
|
|
|
|
volumes:
|
|
- name: builds
|
|
host:
|
|
path: /home/sose/tl-builds
|
|
- name: proc
|
|
host:
|
|
path: /proc
|
|
- name: pts
|
|
host:
|
|
path: /dev/pts
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: testing
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: build_img
|
|
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 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
|
|
- name: sha512sum
|
|
image: debian:buster
|
|
privileged: true
|
|
volumes:
|
|
- name: builds
|
|
path: /tl-builds
|
|
commands:
|
|
- cd /tl-builds/testing
|
|
- sha512sum *.img > SHA512SUMS
|
|
trigger:
|
|
branch: testing
|
|
|
|
volumes:
|
|
- name: builds
|
|
host:
|
|
path: /home/sose/tl-builds
|
|
- name: proc
|
|
host:
|
|
path: /proc
|
|
- name: pts
|
|
host:
|
|
path: /dev/pts
|