cloud-build/example-config.yaml

97 lines
1.5 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
repository_url: file:///space/ALT/{branch}
log_level: info
bad_arches:
- armh
2019-03-28 03:28:51 +03:00
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:
repository_url: file:///space/ALT/{branch}-{arch}
p8:
arches:
i586:
x86_64:
branding: alt-starterkit
repository_url: file:///space/ALT/{branch}
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
...