Builds BOSH packages in a Docker container.
This command will compile all required packages in the BOSH releases referenced by
your role manifest. The command will create a compilation container named
<repository>-cbase-<FISSILE_VERSION>-<RELEASE_NAME>-<RELEASE_VERSION>-pkg-<PACKAGE_NAME>
for each package (e.g. fissile-cbase-1.0.0-cf-217-pkg-nats
).
All containers are removed, whether compilation is successful or not. However, if the compilation is interrupted during compilation (e.g. sending SIGINT), containers will most likely be left behind.
Compiled packages are stored in <work-dir>/compilation
. Fissile uses the
package's fingerprint as part of the directory structure. This means that if the
same package (with the same version) is used by multiple releases, it will only be
compiled once.
fissile build packages
-c, --cache-dir string Local BOSH cache directory. (default "~/.bosh/cache")
--config string config file (default is $HOME/.fissile.yaml)
-f, --configgin string Path to the tarball containing configgin.
-d, --dark-opinions string Path to a BOSH deployment manifest file that contains properties that should not have opinionated defaults.
-l, --light-opinions string Path to a BOSH deployment manifest file that contains properties to be used as defaults.
-o, --output string Choose output format, one of human, json, or yaml (currently only for 'show properties') (default "human")
-r, --release string Path to dev BOSH release(s).
-n, --release-name string Name of a dev BOSH release; if empty, default configured dev release name will be used
-v, --release-version string Version of a dev BOSH release; if empty, the latest dev release will be used
-p, --repository string Repository name prefix used to create image names. (default "fissile")
-m, --role-manifest string Path to a yaml file that details which jobs are used for each role.
-w, --work-dir string Path to the location of the work directory. (default "/var/fissile")
-W, --workers int Number of workers to use. (default 2)
- fissile build - Has subcommands to build all images and necessary artifacts.