cloud-build/configs/cb-vm.yaml

99 lines
1.7 KiB
YAML
Raw Normal View History

2021-06-28 21:40:42 +03:00
---
remote: '/home/builder/images/{branch}/{arch}'
2022-01-27 21:43:16 +03:00
repository_url: copy:///space/ALT/{branch}
2021-06-28 21:40:42 +03:00
try_build_all: True
log_level: debug
rebuild_after:
days: 5
images:
opennebula:
target: vm/opennebula-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
2022-09-29 19:02:52 +03:00
- i586
2021-06-28 21:40:42 +03:00
exclude_branches:
- c8
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
2022-09-29 19:02:52 +03:00
- i586
2021-06-28 21:40:42 +03:00
exclude_branches:
- p8
- c8
tests:
- method: prog(cloud-build-test-cloud)
rename:
regex: '(.*)\.qcow2c$'
2022-05-25 21:43:22 +03:00
to: '\1.qcow2'
2024-03-20 01:12:34 +03:00
# 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'
2021-06-28 21:40:42 +03:00
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
...