Revision 5204f856
Added by Ondřej Pražák about 8 years ago
app/lib/actions/foreman_pipeline/job/deploy_new_host.rb | ||
---|---|---|
18 | 18 |
:host => { |
19 | 19 |
:ip => '10.168.100.4', |
20 | 20 |
:name => 'random name', |
21 |
}, |
|
22 |
:activation_key => { |
|
23 |
:cp_key => '42' |
|
21 | 24 |
} |
22 | 25 |
} |
23 | 26 |
|
app/lib/actions/foreman_pipeline/job/multiple_promotions.rb | ||
---|---|---|
2 | 2 |
module ForemanPipeline |
3 | 3 |
module Job |
4 | 4 |
class MultiplePromotions < Actions::EntryAction |
5 |
|
|
5 |
middleware.use ::Actions::Middleware::KeepCurrentUser |
|
6 |
|
|
6 | 7 |
def plan(job, environments) |
7 | 8 |
sequence do |
8 | 9 |
environments.each do |env| |
Also available in: Unified diff
debug info