Add configs

This commit is contained in:
Mikhail Gordeev 2021-06-28 21:40:42 +03:00
parent 6dade88d04
commit f835aaea4e
4 changed files with 389 additions and 0 deletions

98
configs/cb-aarch64.yaml Normal file
View File

@ -0,0 +1,98 @@
---
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
- resolved
packages:
- apt-scripts
- systemd-settings-disable-kill-user-processes
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
scripts:
- resolved
packages:
- update-kernel
- apt-scripts
- systemd-settings-disable-kill-user-processes
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:
securetty:
contents: |
#!/bin/sh
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
global: no
number: 1
resolved:
contents: |
#!/bin/sh
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
global: no
number: 99
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
...

91
configs/cb-ve-other.yaml Normal file
View File

@ -0,0 +1,91 @@
---
remote: 'cloud@172.16.0.2:/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
- resolved
packages:
- apt-scripts
- systemd-settings-disable-kill-user-processes
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
exclude_branches:
- p8
- c8
branches:
Sisyphus:
arches:
ppc64le:
armh:
repository_url: http://mirror.yandex.ru/altlinux/{branch}
p10:
arches:
ppc64le:
armh:
branding: alt-starterkit
p9:
arches:
ppc64le:
armh:
branding: alt-starterkit
scripts:
securetty:
contents: |
#!/bin/sh
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
global: no
number: 1
resolved:
contents: |
#!/bin/sh
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
global: no
number: 99
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
...

96
configs/cb-ve-x86.yaml Normal file
View File

@ -0,0 +1,96 @@
---
remote: 'cloud@172.16.0.2:/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
- resolved
packages:
- apt-scripts
- systemd-settings-disable-kill-user-processes
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
- tar.xz
tests:
- method: lxd
scripts:
- securetty
exclude_branches:
- p8
- c8
branches:
Sisyphus:
arches:
i586:
x86_64:
repository_url: http://mirror.yandex.ru/altlinux/{branch}
p10:
arches:
i586:
x86_64:
branding: alt-starterkit
p9:
arches:
i586:
x86_64:
branding: alt-starterkit
p8:
arches:
i586:
x86_64:
branding: alt-starterkit
scripts:
securetty:
contents: |
#!/bin/sh
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
global: no
number: 1
resolved:
contents: |
#!/bin/sh
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
global: no
number: 99
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
...

104
configs/cb-vm.yaml Normal file
View File

@ -0,0 +1,104 @@
---
remote: 'cloud@172.16.0.2:/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:
opennebula:
target: vm/opennebula-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
exclude_branches:
- p8
- c8
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
cloud:
target: vm/cloud-systemd
kinds:
- qcow2c
exclude_arches:
- aarch64
- armh
- ppc64le
exclude_branches:
- p8
- c8
scripts:
- resolved
packages:
- update-kernel
- apt-scripts
- systemd-settings-disable-kill-user-processes
tests:
- method: prog(cloud-build-test-cloud)
rename:
regex: '(.*)\.qcow2c$'
to: '\1.qcow2'
branches:
Sisyphus:
arches:
i586:
x86_64:
# aarch64:
# ppc64le:
# armh:
repository_url: http://mirror.yandex.ru/altlinux/{branch}
p10:
arches:
i586:
x86_64:
# aarch64:
# ppc64le:
# armh:
branding: alt-starterkit
p9:
arches:
i586:
x86_64:
# aarch64:
# ppc64le:
# armh:
branding: alt-starterkit
p8:
arches:
i586:
x86_64:
branding: alt-starterkit
scripts:
securetty:
contents: |
#!/bin/sh
echo pts/0 >> /etc/securetty
echo pts/1 >> /etc/securetty
global: no
number: 1
resolved:
contents: |
#!/bin/sh
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
global: no
number: 99
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
...