1.如何修改virtualbox的配置
实际部署过程中会出现编译超时等问题,可通过修改virtualbox的配置,增加资源解决。
config.vm.provider :virtualbox do |v, override|
override.vm.box_version = '9000.84.0' # ci:replace
v.memory = 10*1024
v.cpus = 6
end
2. 使用bosh-lite方法部署CloudFoundry时,在bosh deploy这一步报错
Started updating job api_z1 > api_z1/0. Failed: Action Failed get_task: Task 11f4c291-661d-4055-5533-3ae6aaef5a86 result: Applying: Applying job cloud_controller_ng: Applying package buildpack_php for job cloud_controller_ng: Decompressing package files: Shelling out to tar: Running command: 'tar --no-same-owner -xzvf /var/vcap/data/tmp/bosh-blobstore-externalBlobstore-Get464931667 -C /var/vcap/data/tmp/bosh-agent-applier-packages-CompiledPackageApplier-Apply763004612', stdout: './
./php_buildpack-cached-v4.3.0.zip
', stderr: '
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
': exit status 2 (00:01:01)
通常Global Cache位于 ../bosh-lite/tmp/ 目录下。