]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: cirrus-ci: workaround "pkg install" bug
authorIlya Shipitsin <chipitsine@gmail.com>
Tue, 11 Feb 2020 08:19:22 +0000 (13:19 +0500)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Feb 2020 09:03:06 +0000 (10:03 +0100)
there's a bug https://github.com/freebsd/pkg/issues/902
adding "pkg update -f && pkg upgrade -y" is workaround.

.cirrus.yml

index d52808358531214ab5fa7ef3b902df1b052a1e77..5c7c8403ddeb58064612a6b8743000084d440431 100644 (file)
@@ -6,7 +6,7 @@ FreeBSD_task:
       image_family: freebsd-11-3-snap
   only_if: $CIRRUS_BRANCH =~ 'master|next'
   install_script:
-    - pkg install -y openssl git gmake lua53 socat
+    - pkg update -f && pkg upgrade -y && pkg install -y openssl git gmake lua53 socat
   script:
     - git clone https://github.com/VTest/VTest.git ../vtest
     - make -C ../vtest