cloudfoundry-attic / bosh-init

bosh-init is a tool used to create and update the Director VM
Apache License 2.0
31 stars 33 forks source link

Compiled package cache? #19

Open drnic opened 9 years ago

drnic commented 9 years ago

Is there a way to setup s3 or /var/vcap/store as a compiled package cache?

Its non-productive waiting for packages to compile again and again between deploys:

  Compiling package 'busybox/1593c41beb57c12d7f2b82dff61b47d4d119913d'... Finished (00:00:05)
  Compiling package 'generated_tsa_host_key/00b5b02050bc6588cdfe9e523b2ba24a6c9de3c7'... Finished (00:00:00)
  Compiling package 'cf_resource/01aef8e44d0d24c266c3dc7c199aa228881fa908'... Finished (00:00:27)
  Compiling package 'postgresql_9.3/f30f3a88010d8a158a23a3927be0b339f36caec0'...     Finished (00:04:36)
cppforlife commented 9 years ago

We might use /var/vcap/store is available in this story: https://www.pivotaltracker.com/story/show/88923362. I think in the future we will also ship compiled releases so that we do not have to recompile stuff all the time.

drnic commented 9 years ago

Cool re both

On Sun, Apr 19, 2015 at 5:59 PM, Dmitriy Kalinin notifications@github.com wrote:

We might use /var/vcap/store is available in this story: https://www.pivotaltracker.com/story/show/88923362. I think in the future we will also ship compiled releases so that we do not have to recompile stuff all the time.

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry/bosh-init/issues/19#issuecomment-94330731

JamesClonk commented 9 years ago

:+1:

aloucks commented 8 years ago

I'm also interested in a compile cache for bosh-init. Binary releases would be even better!

keymon commented 8 years ago

:+1:

johnmcteague commented 8 years ago

+1, as we try to deploy CF and BOSH into highly regulated environments like Singapore, the compiled package feature of BOSH is a step towards eliminating compilers on production servers. If bosh-init requires us to compile just to launch BOSH then we take a step back again.

combor commented 8 years ago

:+1:

wayneeseguin commented 8 years ago

:+1: :+1: :+1:

kitsirota commented 7 years ago

+1 for compilation cache on S3 with generic CPI support (eg vSphere CPI)

spikymonkey commented 7 years ago

This would be hugely useful for us. The feedback cycle when making manifest changes to a bosh-init deployed bosh is huge because of the package compilation step.