cloud-build/configs/cb-aarch64.yaml
2024-03-24 21:16:04 +03:00

106 lines
1.9 KiB
YAML

---
remote: 'cloud@master:/home/cloud/images/{branch}/{arch}'
repository_url: http://mirror.yandex.ru/altlinux/{branch}/branch
try_build_all: True
log_level: debug
rebuild_after:
days: 5
images:
rootfs-minimal:
target: ve/docker
kinds:
- tar.xz
tests:
- method: docker
rootfs-systemd:
target: ve/systemd-networkd
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
- machine_id
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
- machine_id
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
scripts:
- machine_id
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
workstation-cloud:
target: vm/alt-workstation-cloud
kinds:
- qcow2c
scripts:
- machine_id
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
branches:
Sisyphus:
arches:
aarch64:
repository_url: http://mirror.yandex.ru/altlinux/{branch}
p10:
arches:
aarch64:
branding: alt-starterkit
p9:
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
...