cloud-build/configs/cb-vm-aarch64.yaml
2024-11-06 16:23:04 +03:00

69 lines
1.3 KiB
YAML

---
remote: 'builder@cloud-builder.office.basealt.ru:/home/builder/images/{branch}/{arch}'
repository_url: http://mirror.yandex.ru/altlinux/{branch}/branch
try_build_all: True
log_level: debug
rebuild_after:
days: 5
images:
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
scripts:
- machine_id
packages:
- update-kernel
- apt-scripts
- systemd-settings-disable-kill-user-processes
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
branches:
Sisyphus:
arches:
aarch64:
repository_url: http://ftp.altlinux.org/pub/distributions/ALTLinux/{branch}
p10:
arches:
aarch64:
branding: alt-starterkit
p11:
arches:
aarch64:
branding: alt-starterkit
scripts:
machine_id:
contents: |
#!/bin/sh -exu
etc_machine_id=/etc/machine-id
dbus_machine_id=/var/lib/dbus/machine-id
rm -f "$etc_machine_id" "$dbus_machine_id"
touch "$etc_machine_id"
global: no
number: 90
securetty:
contents: |
#!/bin/sh
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
global: no
number: 1
apt_sources:
contents: |
#!/bin/sh
repo_source=/etc/apt/sources.list.d/altsp.list
[ -s "$repo_source" ] || exit 0
sed -i -E 's/^\s*#(rpm.*http)/\1/' "$repo_source"
global: no
number: 80
...