get working config from taishan
Some checks failed
Building cloud-images / building (push) Failing after 2m35s
Some checks failed
Building cloud-images / building (push) Failing after 2m35s
This commit is contained in:
parent
7aece57aa1
commit
c9fd54d9f4
@ -1,6 +1,6 @@
|
||||
---
|
||||
remote: 'cloud@master:/home/cloud/images/{branch}/{arch}'
|
||||
repository_url: http://ftp.altlinux.org/pub/distributions/ALTLinux/{branch}/branch
|
||||
remote: '/home/builder/images/{branch}/{arch}'
|
||||
repository_url: http://mirror.yandex.ru/altlinux/{branch}/branch
|
||||
try_build_all: True
|
||||
log_level: debug
|
||||
|
||||
@ -22,7 +22,10 @@ images:
|
||||
- method: lxd
|
||||
scripts:
|
||||
- securetty
|
||||
- netsharedpath
|
||||
- machine_id
|
||||
packages:
|
||||
- apt-scripts
|
||||
- systemd-settings-disable-kill-user-processes
|
||||
rootfs-systemd-etcnet:
|
||||
target: ve/systemd-etcnet
|
||||
kinds:
|
||||
@ -31,7 +34,7 @@ images:
|
||||
- method: lxd
|
||||
scripts:
|
||||
- securetty
|
||||
- netsharedpath
|
||||
- machine_id
|
||||
rootfs-sysvinit:
|
||||
target: ve/sysvinit-etcnet
|
||||
kinds:
|
||||
@ -40,31 +43,19 @@ images:
|
||||
- method: lxd
|
||||
scripts:
|
||||
- securetty
|
||||
- netsharedpath
|
||||
cloud:
|
||||
target: vm/cloud-systemd
|
||||
kinds:
|
||||
- qcow2c
|
||||
scripts:
|
||||
- machine_id
|
||||
packages:
|
||||
- update-kernel
|
||||
- apt-scripts
|
||||
- systemd-settings-disable-kill-user-processes
|
||||
rename:
|
||||
regex: '(.*)\.qcow2c$'
|
||||
to: '\1.qcow2'
|
||||
scripts:
|
||||
- grub_install
|
||||
# workstation-cloud:
|
||||
# target: vm/alt-workstation-cloud
|
||||
# branding: 'none'
|
||||
# kinds:
|
||||
# - qcow2c
|
||||
# exclude_branches:
|
||||
# - Sisyphus
|
||||
# - p9
|
||||
# - p8
|
||||
# - c8
|
||||
# rename:
|
||||
# regex: '(.*)\.qcow2c$'
|
||||
# to: '\1.qcow2'
|
||||
# scripts:
|
||||
# - grub_install
|
||||
|
||||
branches:
|
||||
Sisyphus:
|
||||
@ -77,18 +68,17 @@ branches:
|
||||
branding: alt-starterkit
|
||||
|
||||
scripts:
|
||||
grub_install:
|
||||
machine_id:
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
#!/bin/sh -exu
|
||||
|
||||
mkdir -p /etc/firsttime.d
|
||||
touch /etc/firsttime.d/grub-install
|
||||
chmod +x /etc/firsttime.d/grub-install
|
||||
echo '#!/bin/sh -eu' >> /etc/firsttime.d/grub-install
|
||||
echo >> /etc/firsttime.d/grub-install
|
||||
echo grub-install >> /etc/firsttime.d/grub-install
|
||||
etc_machine_id=/etc/machine-id
|
||||
dbus_machine_id=/var/lib/dbus/machine-id
|
||||
|
||||
rm -f "$etc_machine_id" "$dbus_machine_id"
|
||||
touch "$etc_machine_id"
|
||||
global: no
|
||||
number: 80
|
||||
number: 90
|
||||
securetty:
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
@ -97,13 +87,6 @@ scripts:
|
||||
echo pts/1 >> /etc/securetty
|
||||
global: no
|
||||
number: 1
|
||||
netsharedpath:
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
|
||||
echo %_netsharedpath /sys:/proc > /etc/rpm/macros.d/container
|
||||
global: no
|
||||
number: 20
|
||||
apt_sources:
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
|
Loading…
Reference in New Issue
Block a user