lib/bosh/stemcell/stemcell_builder.rb in bosh-stemcell-1.3202.0 vs lib/bosh/stemcell/stemcell_builder.rb in bosh-stemcell-1.3213.0
- old
+ new
@@ -9,10 +9,13 @@
@runner = dependencies.fetch(:runner)
@collection = dependencies.fetch(:collection)
end
def build
- gem_components.build_release_gems
+ unless 'no' == ENV['BOSH_MICRO_ENABLED']
+ gem_components.build_release_gems
+ end
+
environment.prepare_build
stemcell_stages = collection.extract_operating_system_stages +
collection.agent_stages +
collection.build_stemcell_image_stages