44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
|
|
From 25a8cb21251d4c45164a03be78d0730590f03ca5 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Ilya Maximets <i.maximets@ovn.org>
|
||
|
|
Date: Tue, 1 Oct 2019 14:28:45 +0300
|
||
|
|
Subject: cirrus: Use latest stable FreeBSD images.
|
||
|
|
|
||
|
|
CirrusCI recently introduced [1] new feature to use image families
|
||
|
|
instead of bare image names for gCloud based instances.
|
||
|
|
This allows us to use most recent stable builds. All the stable builds
|
||
|
|
are in the same image family in gCloud and it will run instances using
|
||
|
|
the most recent one.
|
||
|
|
This also allows us to simply use 11.3 image instead of 11.2. There
|
||
|
|
was no such ability previously, because base freebsd-11-3-release-amd64
|
||
|
|
image has issues[2] that doesn't allow CirrusCI to use it. However,
|
||
|
|
later stable 11.3 images from freebsd-11-3-snap family works fine.
|
||
|
|
|
||
|
|
[1] https://github.com/cirruslabs/cirrus-ci-docs/issues/422
|
||
|
|
[2] https://github.com/cirruslabs/cirrus-ci-docs/issues/359
|
||
|
|
|
||
|
|
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
|
||
|
|
Acked-by: Aaron Conole <aconole@redhat.com>
|
||
|
|
---
|
||
|
|
.cirrus.yml | 4 ++--
|
||
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/.cirrus.yml b/.cirrus.yml
|
||
|
|
index eb6af0a71..aaa5e3eeb 100644
|
||
|
|
--- a/.cirrus.yml
|
||
|
|
+++ b/.cirrus.yml
|
||
|
|
@@ -2,8 +2,8 @@ freebsd_build_task:
|
||
|
|
|
||
|
|
freebsd_instance:
|
||
|
|
matrix:
|
||
|
|
- image: freebsd-12-0-release-amd64
|
||
|
|
- image: freebsd-11-2-release-amd64
|
||
|
|
+ image_family: freebsd-12-0-snap
|
||
|
|
+ image_family: freebsd-11-3-snap
|
||
|
|
cpu: 4
|
||
|
|
memory: 8G
|
||
|
|
|
||
|
|
--
|
||
|
|
2.14.1
|
||
|
|
|
||
|
|
|