Compare commits

..

5 Commits

Author SHA1 Message Date
c27f1e20f1
losbuild: source ~/.profile in each step
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-26 20:54:41 +02:00
7abc15f2d1
losprep: ignore errors for the sync task 2021-07-26 20:54:06 +02:00
ce201615ef
libvirt: use tf-pool for storage
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-14 16:57:23 +02:00
5af4d799fb
sysctl: limit swappiness (use RAM ftw)
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-14 16:12:30 +02:00
bcd0046242
define a configuration for when lower on resources 2021-07-14 16:11:32 +02:00
4 changed files with 9 additions and 8 deletions

@ -1,6 +1,7 @@
---
- name: prepare device-specific code
shell: |
. ~/.profile
cd ~/android/lineage
. build/envsetup.sh
breakfast {{losdevice}}
@ -9,6 +10,7 @@
- name: build
shell: |
. ~/.profile
cd ~/android/lineage
. build/envsetup.sh
croot &&

@ -38,7 +38,7 @@
- name: set up ccache
shell: |
ccache -M 50G
ccache -M 10G
ccache -o compression=true
args:
executable: /usr/bin/bash
@ -58,6 +58,7 @@
repo sync --force-sync
args:
executable: /usr/bin/bash
ignore_errors: yes
- name: clone the blobs repo
git:

@ -6,11 +6,9 @@ bootcmd:
- uname -r
- timedatectl set-ntp 1
- timedatectl set-timezone Europe/Bratislava
- systemctl disable --now systemd-resolved
- unlink /etc/resolv.conf || true
- systemctl stop systemd-resolved
- echo "nameserver 84.200.69.80" > /etc/resolv.conf
- systemctl disable --now snapd
- systemctl disable --now snapd.socket
- echo "vm.swappiness=3" >> /etc/sysctl.conf
- sleep 10
runcmd:

@ -23,9 +23,9 @@ mode = ["bridge"]
hosts = {
"builder" = {
name = "builder",
vcpu = 4,
memory = 1024 * 12,
diskpool = "default",
vcpu = 2,
memory = 1024 * 10,
diskpool = "tf-pool",
disksize = 1024 * 1024 * 1024 * 150,
mac = "02:26:00:13:37:00",
# sourceimage = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img",