Sha256: d25cf35d2afc1385bfedff2ce2744070ec1ad1b0e5d626f4922ef0774f79053e
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
Contents
namespace :release_conductor do namespace :deploy do task :finished do case fetch(:stage).to_s when 'beta-staging' then ReleaseConductor.punch_tickets(:staging,self,['beta'],'beta-dev') when 'staging' then ReleaseConductor.punch_tickets(:staging,self,[nil,'code'],'code-dev') when 'production' then ReleaseConductor.punch_tickets(:production, self,[nil,'code'],'code') when 'beta' then ReleaseConductor.punch_tickets(:production, self,['beta'],'beta') else puts "Unknown stage #{fetch(:stage)}, not punching any tickets" # ReleaseConductor.testing(self) end end task :testing do ReleaseConductor.punch_tickets_to_testing(self,[nil,'code'],'code') end end end after 'deploy:finished', 'release_conductor:deploy:finished' namespace :load do task :defaults do set :account, 'goodmeasures' set :unfuddle_user, -> { ENV['UNFUDDLE_USER'] } set :unfuddle_password, -> { ENV['UNFUDDLE_PASSWORD'] } set :project_id, 1 set :fixed_tickets_in_development_report_id, 55 set :verified_tickets_in_staging_report_id, 66 # execute this curl to get the list of custom field values, and then get those numbers from # there # curl -i -u username:password -X # GET -H 'Accept: application/xml' # 'https://goodmeasures.unfuddle.com/api/v1/projects/1/custom_field_values.xml' set :test_phase, 10 set :production_phase, 15 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
release-conductor-0.0.7 | lib/release-conductor/tasks/release-conductor.rake |