This stack is derived from Ubuntu 18.04 (Bionic Beaver)
- GNU make
- Docker
To create a rootfs for the cflinuxfs3 stack:
make
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:
git clone [email protected]:cloudfoundry/cflinuxfs3-release.git
cd cflinuxfs3-release
Replace the old cflinuxfs3 tarball with the new tarball created above:
rm -f config/blobs.yml
mkdir -p blobs/rootfs
cp <path-to-new-tarball>/cflinuxfs3.tar.gz blobs/rootfs/cflinuxfs3-new.tar.gz
Create a dev release and upload it to your BOSH deployment:
bosh create release --force --with-tarball --name cflinuxfs3-rootfs
bosh upload release <generated-dev-release-tar-file>
If your Diego deployment manifest has version: latest
indicated for the cflinuxfs3
release, then redeploying Diego will enable this new rootfs.
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 a BOSH Lite deployment.
-
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.