Module: Dapp::Dimg::Stages

Included in:
Dapp::Dimg
Defined in:
lib/dapp/dimg/stages.rb

Overview

Stages

Instance Method Summary collapse

Instance Method Details

#all_imagesObject



18
19
20
# File 'lib/dapp/dimg/stages.rb', line 18

def all_images
  @all_images ||= all_stages.map(&:image).uniq!(&:name)
end

#signatureObject



6
7
8
# File 'lib/dapp/dimg/stages.rb', line 6

def signature
  last_stage.send(:signature)
end

#stage_cache_formatObject



10
11
12
# File 'lib/dapp/dimg/stages.rb', line 10

def stage_cache_format
  "#{project.stage_cache}:%{signature}"
end

#stage_dapp_labelObject



14
15
16
# File 'lib/dapp/dimg/stages.rb', line 14

def stage_dapp_label
  project.stage_dapp_label
end