delete old wesher + wireguard job files.
continuous-integration/laminar-eldarion Build failed with exit code 123 after 5 seconds Details

we *may* need backprots in bullseye for wireguard, but I'm really hoping 
we don't.
This commit is contained in:
Starbeamrainbowlabs 2022-03-21 03:19:48 +00:00
parent cdb959206c
commit 0ef990bff9
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 0 additions and 38 deletions

View File

@ -1,27 +0,0 @@
#!/usr/bin/env bash
echo "Don't forget to run the wireguard job first";
# Sort out log rotation
COPY "${JOBFILE_DIR}/wesher.logrotate" "/tmp/wesher.logrotate"
RUN "sudo mv /tmp/wesher.logrotate /etc/logrotate.d/wesher"
RUN "sudo chown root:root /etc/logrotate.d/wesher"
RUN "sudo apt-get update";
RUN "sudo apt-get install --yes wesher wesher-systemd";
RUN "sudo ufw allow 7946 comment wesher-gossip";
RUN "sudo ufw allow 51820/udp comment wesher-wireguard";
# Allow all traffic from the VPN; we don't actually know what ports Nomad will use
RUN "sudo ufw allow in on wgoverlay";
# Activate the new logging system
RUN "sudo systemctl restart logrotate"
# See the Keepass entry in our database for copy-paste commands to join nodes.
# Basically:
# sudo wesher --cluster-key CLUSTER_KEY_HERE --join 172.16.230.100 --overlay-net 172.31.250.0/16 --log-level info
# sudo systemctl enable --now wesher.service
# sudo systemctl status wesher.service

View File

@ -1,11 +0,0 @@
#!/usr/bin/env bash
RUN "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138";
RUN "echo 'deb http://httpredir.debian.org/debian buster-backports main contrib non-free' | sudo tee /etc/apt/sources.list.d/debian-backports.list";
RUN "sudo apt-get update";
RUN "sudo apt-get install --yes raspberrypi-kernel-headers";
RUN "sudo apt-get install --yes wireguard";