arch: null artifacts: null environment: arch: amd64 release: latest slaves: - deploy@fra01.builds.sr.ht - deploy@fra02.builds.sr.ht - deploy@patchouli2.sr.ht image: openbsd/latest oauth: null packages: - qemu repositories: null secrets: - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 shell: null sources: - https://git.sr.ht/~sircmpwn/builds.sr.ht tasks: - genimg: 'cd builds.sr.ht/images/openbsd/$release doas ./genimg $arch' - sanity-check: 'cd builds.sr.ht MEMORY=256 ./images/control openbsd/$release sanity-check' - deploy: "cd builds.sr.ht/images/openbsd/$release\necho \"StrictHostKeyChecking=no\"\ \ >> ~/.ssh/config\nfor server in \"${slaves[@]}\"\ndo\n ssh $server mkdir -p\ \ /var/lib/images/openbsd/$release/$arch\n openrsync $arch/root.img.qcow2 \\\n\ \ ${server}:/var/lib/images/openbsd/$release/$arch/new_root.img.qcow2\n ssh\ \ $server mv /var/lib/images/openbsd/$release/$arch/new_root.img.qcow2 \\\n \ \ /var/lib/images/openbsd/$release/$arch/root.img.qcow2\ndone" triggers: - action: email condition: failure to: ~sircmpwn/sr.ht-image-failures@lists.sr.ht