gitlab-org--gitlab-foss/lib/gitlab/ci/build/prerequisite/base.rb
Tiger 325d504c3c Don't recreate Kubernetes namespaces if they exist
Instead of attempting to create or update a Kubernetes
namespace on every deploy, only do so when we know it
doesn't exist yet.
2019-03-20 12:04:46 +11:00

27 lines
453 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
module Build
module Prerequisite
class Base
include Utils::StrongMemoize
attr_reader :build
def initialize(build)
@build = build
end
def unmet?
raise NotImplementedError
end
def complete!
raise NotImplementedError
end
end
end
end
end
end