aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision
diff options
context:
space:
mode:
Diffstat (limited to 'packer/provision')
-rw-r--r--packer/provision/agl_dependencies.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index 6b71887f..dc5331ad 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -133,8 +133,14 @@ sudo pip3 install mdlint
# releng-scripts needs latest (stable v2.9) jinja2
sudo pip install --force-reinstall --ignore-installed jinja2
sudo pip install --upgrade jinja2
+sudo pip install --force-reinstall --ignore-installed PyYAML
+sudo pip install --upgrade PyYAML
+
sudo pip3 install --force-reinstall --ignore-installed jinja2
sudo pip3 install --upgrade jinja2
+sudo pip3 install --force-reinstall --ignore-installed PyYAML
+sudo pip3 install --upgrade PyYAML
+
# updates for cloud-init
sudo pip3 install --upgrade oauthlib
@@ -204,8 +210,12 @@ EOF
curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash
-DEBIAN_FRONTEND=noninteractive apt-get update
+DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install gitlab-runner
+# workaround for missing file that made pip bail out
+sudo touch /usr/local/lib/python3.6/dist-packages/PyYAML-6.0.dist-info/METADATA || true
+
+
exit 0