Cascading Properties
Environment, Solution and Function Properties
Release 2.6.0 is the start of applying consistent prioritised properties. The principle of application, from highest to lowest is
- Arguments
- Environment Variables
- Solution Properties
Existing Features
The application is progressive, starting with existing properties which have environment variable format
CDAF_REGISTRY_URL
CDAF_REGISTRY_TAG
CDAF_REGISTRY_USER
CDAF_REGISTRY_TOKEN
CDAF_HOME_MOUNT
CDAF_ERROR_DIAG
New Features in 2.6.0
Along with these, new properties are introduced to support containerBuild using a base image from a private registry
CDAF_PULL_REGISTRY_URL
CDAF_PULL_REGISTRY_TAG
CDAF_PULL_REGISTRY_USER
CDAF_PULL_REGISTRY_TOKEN
dockerPush is extended from only supporting arguments, to searching for environment variables, then solution properties is arguments are not passed.
CDAF_PUSH_REGISTRY_URL
CDAF_PUSH_REGISTRY_TAG
CDAF_PUSH_REGISTRY_USER
CDAF_PUSH_REGISTRY_TOKEN
For full release details for CDAF 2.6.0 see http://cdaf.io/release
As properties are optional, the hardcoded
DOCKER-HUB
value for registry URL has been deprecated. See details in http://cdaf.io/breaking