From 02eec644f1ed0c3620859fe714139f3354bdd591 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 15 Oct 2018 08:59:37 -0400 Subject: Cirrus: Disable image build job abort on push Normally cirrus will abort jobs if another push is made to a branch. However, with image builds, other VMs are created/managed by packer. Therefor if cirrus aborts a task, it's possible some packer managed VMs will be left behind. Disable this behavior for image-building only. Signed-off-by: Chris Evich --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index ae660394b..1cf21416e 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -99,6 +99,8 @@ build_vm_images_task: # Version of packer to use PACKER_VER: "1.3.1" + # VMs created by packer are not cleaned up by cirrus + auto_cancellation: $CI != "true" gce_instance: image_name: "image-builder-image" # Simply CentOS 7 + packer dependencies -- cgit v1.2.3-54-g00ecf