diff --git a/configs/cb-aarch64.yaml b/configs/cb-aarch64.yaml new file mode 100644 index 0000000..178d00a --- /dev/null +++ b/configs/cb-aarch64.yaml @@ -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 +... diff --git a/configs/cb-ve-other.yaml b/configs/cb-ve-other.yaml new file mode 100644 index 0000000..8e31a00 --- /dev/null +++ b/configs/cb-ve-other.yaml @@ -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 +... diff --git a/configs/cb-ve-x86.yaml b/configs/cb-ve-x86.yaml new file mode 100644 index 0000000..13c9a67 --- /dev/null +++ b/configs/cb-ve-x86.yaml @@ -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 +... diff --git a/configs/cb-vm.yaml b/configs/cb-vm.yaml new file mode 100644 index 0000000..f596477 --- /dev/null +++ b/configs/cb-vm.yaml @@ -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 +...