Revision dd42df0a
Added by Ohad Levy about 12 years ago
- ID dd42df0a3b5d8645ad6db731ec813e64b85a4120
lib/orchestration/queue.rb | ||
---|---|---|
class Queue
|
||
|
||
attr_reader :items
|
||
STATUS = %w[ pending running failed completed rollbacked conflict ]
|
||
STATUS = %w[ pending running failed completed rollbacked conflict canceled]
|
||
|
||
def initialize
|
||
@items = []
|
||
... | ... | |
@items = [] && true
|
||
end
|
||
|
||
def to_json
|
||
all.to_json
|
||
end
|
||
|
||
STATUS.each do |s|
|
||
define_method s do
|
||
all.delete_if {|t| t.status != s}.sort
|
Also available in: Unified diff
adds ec2 provisioning support fixes #1223
- added progress bar for instance creation
- minor fixes for certname based deployments
- added ssh provisioning support to orchestartion, which utilize finish
scripts by default
- added images support (part of the vm compute tab)
- cleanup a lot of unused view attributes in favour of a couple html5
data attributes
- adds capabilities to each compute resource (e.g. build vs. image
provisioning)
- allow to access @host.compute_resource and @host.info in provisioning
templates
- added automatic ssh key pair generation when creating a new compute
resource (note, if you already created one, you would need to delete
it and create it again
- reverse dns now depends on the selected subnet - fixes #1558
- added readonly console support for ec2