Name: cflinuxfs3
Owner: Cloud Foundry
Description: null
Created: 2017-04-27 15:40:30.0
Updated: 2018-05-21 09:20:36.0
Pushed: 2018-05-21 09:20:34.0
Homepage: null
Size: 108
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo contains scripts for creating warden root filesystems.
cflinuxfs3/build/install-packages.sh
has a list of packages passed to apt-get install
as well.
To create a rootfs for the cflinuxfs3 stack:
This will create the cflinuxfs3.tar.gz
file, which is the artifact used as the rootfs in Cloud Foundry deployments.
To start, clone the repository containing the cflinuxfs3-rootfs BOSH release:
clone git@github.com:cloudfoundry/cflinuxfs3-release.git`
flinuxfs3-release`
Replace the old cflinuxfs3 tarball with the new tarball created above:
f config/blobs.yml
r -p blobs/rootfs
path-to-new-tarball>/cflinuxfs3.tar.gz blobs/rootfs/cflinuxfs3-new.tar.gz
Create a dev release and upload it to your BOSH deployment:
create release --force --with-tarball --name cflinuxfs3-rootfs
upload release <generated-dev-release-tar-file>
If your Diego deployment manifest has version: latest
indicated for the cflinuxfs3-rootfs
release, then redeploying your Diego will enable this new rootfs to be used in your app containers.
To run the local tests, just run rspec
. If the top level of this repo contains a file named cflinuxfs3.tar.gz
, the tests will be run against this file. Otherwise, make
will be run to create a new rootfs.
To test the rootfs BOSH release, see the instructions here
The generation and release of a new rootfs happens on the cflinuxfs3 CI pipeline.
A new stack is generated with make
.
A dev BOSH release of that new stack is generated and deployed to the BOSH Lite at cflinuxfs3.buildpacks.ci.cf-app.com and the rootfs smoke tests run.
CF and Diego are deployed to that BOSH Lite. The cf-acceptance-tests are then run against the deployment.
Once all tests pass and the product manager ships the release, the rootfs tarball can be found as a Github Release, Docker Image, and as a BOSH release. A commit is also made to update the blobs on cf-release develop.