namespace :ci do

# Stub ci:all rake task
task :all

desc 'publish'
task publish: [
  'ci:prometheus:publish',
  'ci:slack:publish'
]

desc 'Runs the Rake CI server'
task :server do
  require 'ndr_dev_support/daemon/ci_server'

  worker = NdrDevSupport::Daemon::CIServer.from_args(ENV)
  worker.run
end

end