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: 2f4d11bd9424186f5d3a42ab69f5e927a5c3dcc4 (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