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: 978a42be638c9908649ff5e29b1a513dfdac9122 (plain)
1
2
3
4
5
6
7
8
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