cloud-build/example-config.yaml

105 lines
1.7 KiB
YAML
Raw Normal View History

2019-03-28 03:28:51 +03:00
---
remote: remote:/pub/images/{branch}/cloud
2019-04-18 22:53:33 +03:00
key: 0x00000000
try_build_all: False
2020-04-25 00:07:45 +03:00
repository_url: http://mirror.yandex.ru/altlinux/{branch}/branch
log_level: info
2020-05-06 16:03:06 +03:00
no_delete: True
bad_arches:
- armh
2019-03-28 03:28:51 +03:00
rebuild_after:
weeks: 0
days: 0
hours: 24
minutes: 10
external_files: ~/external_files
2019-09-07 01:18:04 +03:00
2019-03-28 03:28:51 +03:00
images:
opennebula:
target: vm/opennebula-systemd
2019-04-08 01:21:09 +03:00
kinds:
2019-03-28 03:28:51 +03:00
- qcow2
2019-04-19 15:59:27 +03:00
exclude_arches:
2019-03-28 03:28:51 +03:00
- aarch64
2019-06-20 16:34:43 +03:00
vm:
target: vm/systemd
kinds:
- qcow2
exclude_arches:
- aarch64
prerequisites:
- use/net/networkd
- use/net-ssh
- use/vmguest/kvm
- use/repo
rootfs-minimal:
target: ve/docker
2019-04-08 01:21:09 +03:00
kinds:
- tar.xz
2019-07-08 02:14:01 +03:00
tests:
- method: docker
no_scripts:
- var
2019-03-28 03:28:51 +03:00
rootfs-systemd:
target: ve/systemd-base
2019-04-08 01:21:09 +03:00
kinds:
2019-03-28 03:28:51 +03:00
- tar.xz
2019-07-08 02:14:01 +03:00
tests:
- method: lxd
2019-06-25 20:59:26 +03:00
scripts:
- securetty
2019-03-28 03:28:51 +03:00
branches:
Sisyphus:
arches:
i586:
x86_64:
aarch64:
armh:
2020-04-25 00:07:45 +03:00
repository_url: copy:///space/ALT/{branch}-{arch}
repository_url: http://mirror.yandex.ru/altlinux/{branch}
p8:
arches:
i586:
x86_64:
branding: alt-starterkit
2019-04-11 01:17:56 +03:00
# services:
# sshd:
# images:
# - opennebula
# exclude_branches:
# - Sisyphus
# state: disable
# packages:
# gosu:
# images:
# - rootfs-minimal
# exclude_branches:
# - p8
2019-06-25 20:59:26 +03:00
scripts:
securetty:
contents: |
#!/bin/sh
2019-06-25 20:59:26 +03:00
echo pts/0 >> /etc/securetty
global: no
number: 1
var:
contents: |
#!/bin/sh
2019-06-25 20:59:26 +03:00
for dir in run lock; do
mkdir -p "/$dir"
mv /var/"$dir"/* "/$dir"
rmdir "/var/$dir"
ln -sf "/$dir" /var
done
global: yes
number: 27
2019-03-28 03:28:51 +03:00
...