cloud-build/configs/cb-vm.yaml
2024-04-26 17:07:48 +03:00

99 lines
1.7 KiB
YAML

---
remote: '/home/builder/images/{branch}/{arch}'
repository_url: copy:///space/ALT/{branch}
try_build_all: True
log_level: debug
rebuild_after:
days: 5
images:
opennebula:
target: vm/opennebula-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
- i586
exclude_branches:
- c8
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
- i586
exclude_branches:
- p8
- c8
tests:
- method: prog(cloud-build-test-cloud)
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
# workstation-cloud:
# target: vm/alt-workstation-cloud
# branding: 'none'
# kinds:
# - qcow2c
# exclude_arches:
# - aarch64
# - armh
# - ppc64le
# - i586
# exclude_branches:
# - Sisyphus
# - p9
# - p8
# - c8
# tests:
# - method: prog(cloud-build-test-cloud)
# rename:
# regex: '(.*)\.qcow2c$'
# to: '\1.qcow2'
branches:
Sisyphus:
arches:
i586:
x86_64:
# aarch64:
# ppc64le:
# armh:
p10:
arches:
i586:
x86_64:
# aarch64:
# ppc64le:
# armh:
branding: alt-starterkit
scripts:
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
...