Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cleanup.rake « ci « tasks « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 31c3928e797bb674cfa5d76395aeb943ea61aa76 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

namespace :ci do
  namespace :cleanup do
    desc "GitLab | CI | Clean running builds"
    task builds: :environment do
      Ci::Build.running.update_all(status: 'canceled')
    end
  end
end