Compare commits
4 Commits
1dc4f98432
...
40f30ce467
Author | SHA1 | Date | |
---|---|---|---|
40f30ce467 | |||
32457f2427 | |||
96c9643753 | |||
700d09d54f |
@ -30,6 +30,7 @@ pvc:
|
||||
remote: "GIT_REMOTE"
|
||||
branch: "GIT_BRANCH"
|
||||
clusters_file: "clusters.yml"
|
||||
lock_file: "/run/pvcbootstrapd.lock"
|
||||
cspec_files:
|
||||
base: "base.yml"
|
||||
pvc: "pvc.yml"
|
||||
|
@ -70,6 +70,7 @@ def pull_repository(config):
|
||||
g.pull(rebase=True, env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
|
||||
logger.debug("Performing git submodule update")
|
||||
g.submodule("update", "--init", env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
|
||||
g.submodule("update", env=dict(GIT_SSH_COMMAND=git_ssh_cmd))
|
||||
except Exception as e:
|
||||
logger.warn(e)
|
||||
notifications.send_webhook(config, "failure", "Failed to update Git repository")
|
||||
|
@ -116,12 +116,12 @@ echo
|
||||
|
||||
echo "Installing APT dependencies..."
|
||||
sudo apt-get update
|
||||
sudo apt-get install --yes vlan iptables dnsmasq redis python3 python3-pip python3-requests python3-git sqlite3 celery pxelinux syslinux-common live-build debootstrap uuid-runtime qemu-user-static apt-cacher-ng
|
||||
sudo apt-get install --yes vlan iptables dnsmasq redis python3 python3-pip python3-requests python3-git python3-ansible-runner sqlite3 celery pxelinux syslinux-common live-build debootstrap uuid-runtime qemu-user-static apt-cacher-ng
|
||||
|
||||
echo "Configuring apt-cacher-ng..."
|
||||
sudo systemctl enable --now apt-cacher-ng
|
||||
if ! grep -q ${upstream_mirror} /etc/apt-cacher-ng/backends_debian; then
|
||||
echo "http://${upstream_mirror}" | sudo tee /etc/apt-cacher-ng/backends_debian &>/dev/null
|
||||
echo "http://${upstream_mirror}" | sudo tee -a /etc/apt-cacher-ng/backends_debian &>/dev/null
|
||||
sudo systemctl restart apt-cacher-ng
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user