Drivers
deploy (default)
This preview environments driver can be used to build, push, and deploy an app or addon to Porter. Since this driver does all of this, it is also the default driver. The config section, when using this driver, supports the following properties:
waitForJob
[Boolean
, optional] - if set totrue
, the driver will wait for the job to complete before proceedingonlyCreate
[Boolean
, optional] - if set totrue
, the driver will only create the app or addon but not update it on subsequent runsbuild
[Object
, required] - options for the build step, with the following properties:useCache
[Boolean
, optional] - if set totrue
, the driver will use the image cache (if available) for the buildmethod
[Boolean
, required] - one ofdocker
,pack
(Cloud Native Buildpacks) orregistry
context
[String
, optional] - the current build context or working directory to use, relative to the root directory. Defaults to the current working directory.dockerfile
[String
, required only whenmethod
isdocker
] - path to the Dockerfile to use, relative to the root directoryimage
[String
, required only whenmethod
isregistry
] - the container image URI to use including the full image path and the tagbuilder
[String
, optional] - the Buildpacks builder to use when using thepack
method. Defaults topaketobuildpacks/builder:full
.buildpacks
[Array of Strings
, optional] - the list of buildpacks to use, when using thepack
methodenv
[Map of String keys to String values
, optional] - the environment variables to use for the build
env_groups
[Array of Objects
, optional] - list of env groups to use to build and deploy the app or addon, supporting the following properties:name
[String
, required] - the name of the env groupnamespace
[String
, required] - the namespace to use for the env groupversion
[Integer
, optional] - the version of the env group
values
[Map of String keys to Object values
, optional] - the Helm chart values to use for the app or addon. For a detailed explanation, please read the section on Runtime Configuration.
The Basic Web Application example uses this driver.
Outputs
This driver outputs all the values of the underlying Helm release’s chart.