get working config from taishan
Some checks failed
Building cloud-images / building (push) Failing after 2m35s

This commit is contained in:
Nadezhda Fedorova 2024-08-28 17:18:38 +03:00
parent 7aece57aa1
commit c9fd54d9f4

View File

@ -1,6 +1,6 @@
--- ---
remote: 'cloud@master:/home/cloud/images/{branch}/{arch}' remote: '/home/builder/images/{branch}/{arch}'
repository_url: http://ftp.altlinux.org/pub/distributions/ALTLinux/{branch}/branch repository_url: http://mirror.yandex.ru/altlinux/{branch}/branch
try_build_all: True try_build_all: True
log_level: debug log_level: debug
@ -22,7 +22,10 @@ images:
- method: lxd - method: lxd
scripts: scripts:
- securetty - securetty
- netsharedpath - machine_id
packages:
- apt-scripts
- systemd-settings-disable-kill-user-processes
rootfs-systemd-etcnet: rootfs-systemd-etcnet:
target: ve/systemd-etcnet target: ve/systemd-etcnet
kinds: kinds:
@ -31,7 +34,7 @@ images:
- method: lxd - method: lxd
scripts: scripts:
- securetty - securetty
- netsharedpath - machine_id
rootfs-sysvinit: rootfs-sysvinit:
target: ve/sysvinit-etcnet target: ve/sysvinit-etcnet
kinds: kinds:
@ -40,31 +43,19 @@ images:
- method: lxd - method: lxd
scripts: scripts:
- securetty - securetty
- netsharedpath
cloud: cloud:
target: vm/cloud-systemd target: vm/cloud-systemd
kinds: kinds:
- qcow2c - qcow2c
scripts:
- machine_id
packages:
- update-kernel
- apt-scripts
- systemd-settings-disable-kill-user-processes
rename: rename:
regex: '(.*)\.qcow2c$' regex: '(.*)\.qcow2c$'
to: '\1.qcow2' 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: branches:
Sisyphus: Sisyphus:
@ -77,18 +68,17 @@ branches:
branding: alt-starterkit branding: alt-starterkit
scripts: scripts:
grub_install: machine_id:
contents: | contents: |
#!/bin/sh #!/bin/sh -exu
mkdir -p /etc/firsttime.d etc_machine_id=/etc/machine-id
touch /etc/firsttime.d/grub-install dbus_machine_id=/var/lib/dbus/machine-id
chmod +x /etc/firsttime.d/grub-install
echo '#!/bin/sh -eu' >> /etc/firsttime.d/grub-install rm -f "$etc_machine_id" "$dbus_machine_id"
echo >> /etc/firsttime.d/grub-install touch "$etc_machine_id"
echo grub-install >> /etc/firsttime.d/grub-install
global: no global: no
number: 80 number: 90
securetty: securetty:
contents: | contents: |
#!/bin/sh #!/bin/sh
@ -97,13 +87,6 @@ scripts:
echo pts/1 >> /etc/securetty echo pts/1 >> /etc/securetty
global: no global: no
number: 1 number: 1
netsharedpath:
contents: |
#!/bin/sh
echo %_netsharedpath /sys:/proc > /etc/rpm/macros.d/container
global: no
number: 20
apt_sources: apt_sources:
contents: | contents: |
#!/bin/sh #!/bin/sh