]> git.lttng.org Git - lttng-ci.git/commitdiff
jjb: imagebuilder: run apt-get update before dependency installation
authorKienan Stewart <kstewart@efficios.com>
Fri, 22 Nov 2024 16:42:45 +0000 (11:42 -0500)
committerKienan Stewart <kstewart@efficios.com>
Tue, 26 Nov 2024 18:49:25 +0000 (13:49 -0500)
It can happen that the snapshotted root node could have old IPs that
are no longer valid cached for the apt mirrors. Running `apt-get
update` will ensure those are cleared.

Change-Id: Id0aa9ff0bfd40c5140d1397d4e6173a97225c26f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
pipelines/images/imagebuild.sh

index db8f1845589b8fe8c29221b633380e0cdbff2227..bd7ee41a78aeabf7131ecc6e6b10c5a1176d656b 100644 (file)
@@ -53,6 +53,7 @@ INSTANCE_START_TIMEOUT="${INSTANCE_START_TIMEOUT:-120}"
 NETWORK_SLEEP="${NETWORK_SLEEP:-15}"
 
 # Dependencies
+apt-get update -y
 apt-get -y install incus-client ansible jq
 
 # Configuration
This page took 0.026123 seconds and 4 git commands to generate.