Indent package for opensuse Leap 42.3
[ci-management.git] / packer / provision / basebuild.sh
index 339765c..75b9148 100644 (file)
@@ -258,6 +258,14 @@ opensuse_systems() {
     # minimum so installing from TW repo
     zypper install -y \
         https://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/nasm-2.13.01-2.2.x86_64.rpm
+
+    # Leap 42.3 does not have a recent INDENT version
+    # Other distros in Jenkins run 2.2.11 so let's align Leap 42.3 too to avoid
+    # build checks differences and false-positives
+    zypper --non-interactive --gpg-auto-import-keys ar \
+       https://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_42.3/devel:tools.repo
+    zypper --gpg-auto-import-keys ref
+    zypper install -y indent
 }
 
 all_systems() {