From 40397f35771a37a772f86e00d7dc708ddc6d3544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Tue, 23 Oct 2018 12:58:41 +0200 Subject: Allow to make builds soft-archived. The soft-archived builds cannot be run after some deadline time. The intent is to aggressively recycle old builds after sometime. --- spec/factories/ci/builds.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'spec/factories/ci/builds.rb') diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb index 85ba7d4097d..0cacdf7931f 100644 --- a/spec/factories/ci/builds.rb +++ b/spec/factories/ci/builds.rb @@ -27,6 +27,12 @@ FactoryBot.define do pipeline factory: :ci_pipeline + trait :degenerated do + commands nil + options nil + yaml_variables nil + end + trait :started do started_at 'Di 29. Okt 09:51:28 CET 2013' end -- cgit v1.2.3