Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments
diff options
context:
space:
mode:
authorLord Anton Hvornum <anton.feeds@gmail.com>2018-04-08 12:21:46 +0200
committerLord Anton Hvornum <anton.feeds@gmail.com>2018-04-08 12:21:46 +0200
commit456db37a90d1035afd5118bdc432e771361ed123 (patch)
tree79a655352e998948b097d162b8a8edf104363cfc /deployments
parentad8a4fd65e0691a6756de0972bfb23ef347e916b (diff)
Changed the JSON structure to be able to pass args via the network
Diffstat (limited to 'deployments')
-rw-r--r--deployments/08:00:27:E0:E0:E6.json42
1 files changed, 24 insertions, 18 deletions
diff --git a/deployments/08:00:27:E0:E0:E6.json b/deployments/08:00:27:E0:E0:E6.json
index ecfaf2b5..2b7fd42a 100644
--- a/deployments/08:00:27:E0:E0:E6.json
+++ b/deployments/08:00:27:E0:E0:E6.json
@@ -1,22 +1,28 @@
{
- "Setup temp build env": {
- "pacman -Syy --noconfirm git" : null,
- "useradd -m -G wheel builder" : null,
- "sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /etc/sudoers" : null
+ "args" : {
+ "post" : "stay",
+ "password" : "0001"
},
- "install lighttpd2-git": {
- "git clone https://aur.archlinux.org/lighttpd2-git.git /home/builder/lighttpd2" : null,
- "chown -R builder.builder /home/builder/lighttpd2" : null,
- "su - builder -c \"(cd /home/builder/lighttpd2/; /usr/bin/makepkg -s --noconfirm)\"" : null,
- "sh -c 'pacman -U --noconfirm /home/builder/lighttpd2/*.xz'" : null
- },
- "Remove temp build env": {
- "rm -rf /home/builder/lighttpd2" : null,
- "sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null
- },
- "Create mirror": {
- "mkdir -p /srv/http/archlinux/arch_offline/os/x86_64
- "pacman --dbpath /tmp/ -Syu -w --cachedir /srv/http/archlinux/arch_offline/os/x86_64 base base-devel git python python-systemd awesome xorg-xinit xorg-server xorg-server-utils xterm nano screen sudo iptables mesa-libgl dhclient dnsmasq darkhttpd openssh sshfs openssl openvpn gcc" : null,
- "repo-add /srv/http/archlinux/arch_offline/os/x86_64/arch_offline.db.tar.gz /srv/http/archlinux/arch_offline/os/x86_64/*.pkg.tar.xz" : null,
+ "post" : {
+ "Setup temp build env": {
+ "pacman -Syy --noconfirm git" : null,
+ "useradd -m -G wheel builder" : null,
+ "sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /etc/sudoers" : null
+ },
+ "install lighttpd2-git": {
+ "git clone https://aur.archlinux.org/lighttpd2-git.git /home/builder/lighttpd2" : null,
+ "chown -R builder.builder /home/builder/lighttpd2" : null,
+ "su - builder -c \"(cd /home/builder/lighttpd2/; /usr/bin/makepkg -s --noconfirm)\"" : null,
+ "sh -c 'pacman -U --noconfirm /home/builder/lighttpd2/*.xz'" : null
+ },
+ "Remove temp build env": {
+ "rm -rf /home/builder/lighttpd2" : null,
+ "sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null
+ },
+ "Create mirror": {
+ "mkdir -p /srv/http/archlinux/arch_offline/os/x86_64" : null,
+ "pacman --dbpath /tmp/ -Syu -w --cachedir /srv/http/archlinux/arch_offline/os/x86_64 base base-devel git python python-systemd awesome xorg-xinit xorg-server xorg-server-utils xterm nano screen sudo iptables mesa-libgl dhclient dnsmasq darkhttpd openssh sshfs openssl openvpn gcc" : null,
+ "repo-add /srv/http/archlinux/arch_offline/os/x86_64/arch_offline.db.tar.gz /srv/http/archlinux/arch_offline/os/x86_64/*.pkg.tar.xz" : null,
+ }
}
}