BigW Consortium Gitlab

cleanup.rake 191 Bytes
Newer Older
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