Compare commits
5 Commits
developmen
...
low-res
Author | SHA1 | Date | |
---|---|---|---|
c27f1e20f1 | |||
7abc15f2d1 | |||
ce201615ef | |||
5af4d799fb | |||
bcd0046242 |
@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: prepare device-specific code
|
- name: prepare device-specific code
|
||||||
shell: |
|
shell: |
|
||||||
|
. ~/.profile
|
||||||
cd ~/android/lineage
|
cd ~/android/lineage
|
||||||
. build/envsetup.sh
|
. build/envsetup.sh
|
||||||
breakfast {{losdevice}}
|
breakfast {{losdevice}}
|
||||||
@ -9,6 +10,7 @@
|
|||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
shell: |
|
shell: |
|
||||||
|
. ~/.profile
|
||||||
cd ~/android/lineage
|
cd ~/android/lineage
|
||||||
. build/envsetup.sh
|
. build/envsetup.sh
|
||||||
croot &&
|
croot &&
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
- name: set up ccache
|
- name: set up ccache
|
||||||
shell: |
|
shell: |
|
||||||
ccache -M 50G
|
ccache -M 10G
|
||||||
ccache -o compression=true
|
ccache -o compression=true
|
||||||
args:
|
args:
|
||||||
executable: /usr/bin/bash
|
executable: /usr/bin/bash
|
||||||
@ -58,6 +58,7 @@
|
|||||||
repo sync --force-sync
|
repo sync --force-sync
|
||||||
args:
|
args:
|
||||||
executable: /usr/bin/bash
|
executable: /usr/bin/bash
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
- name: clone the blobs repo
|
- name: clone the blobs repo
|
||||||
git:
|
git:
|
||||||
|
@ -6,11 +6,9 @@ bootcmd:
|
|||||||
- uname -r
|
- uname -r
|
||||||
- timedatectl set-ntp 1
|
- timedatectl set-ntp 1
|
||||||
- timedatectl set-timezone Europe/Bratislava
|
- timedatectl set-timezone Europe/Bratislava
|
||||||
- systemctl disable --now systemd-resolved
|
- systemctl stop systemd-resolved
|
||||||
- unlink /etc/resolv.conf || true
|
|
||||||
- echo "nameserver 84.200.69.80" > /etc/resolv.conf
|
- echo "nameserver 84.200.69.80" > /etc/resolv.conf
|
||||||
- systemctl disable --now snapd
|
- echo "vm.swappiness=3" >> /etc/sysctl.conf
|
||||||
- systemctl disable --now snapd.socket
|
|
||||||
- sleep 10
|
- sleep 10
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
|
@ -23,9 +23,9 @@ mode = ["bridge"]
|
|||||||
hosts = {
|
hosts = {
|
||||||
"builder" = {
|
"builder" = {
|
||||||
name = "builder",
|
name = "builder",
|
||||||
vcpu = 4,
|
vcpu = 2,
|
||||||
memory = 1024 * 12,
|
memory = 1024 * 10,
|
||||||
diskpool = "default",
|
diskpool = "tf-pool",
|
||||||
disksize = 1024 * 1024 * 1024 * 150,
|
disksize = 1024 * 1024 * 1024 * 150,
|
||||||
mac = "02:26:00:13:37:00",
|
mac = "02:26:00:13:37:00",
|
||||||
# sourceimage = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img",
|
# sourceimage = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img",
|
||||||
|
Loading…
Reference in New Issue
Block a user