packageFeatures and packageMethod
Package Features and Method
Package Features
As CDAF has grown, there has been a constant growth in the number of helper scripts available, however, in many cases only a subset of these are needed at deploy time, so packageFeatures has been introduced to support different deployment use cases, starting with minimal
.
The minimal
set, as the name implies, is the smallest number of helper scripts to execute a deployment. The deployment is limited to local
context, so it is recommended to reduce the processSequence
in your CDAF.solution
file.
packageFeatures=minimal
processSequence=localTasks.sh
Package Method, Windows Self-Extracting Release.ps1 using tarball
Now that tar is included in the windows operating system, this can be used for processing large artefact sets. The PowerShell zip process is performed in memory, and is very slow for large artefact sets, and in extreme cases, can fail when memory is exhausted. By using a tarball, the extraction is performed as a file stream, which uses nominal memory and is exponentially faster, i.e. for a 200MB package the extraction reduces from 7 minutes to 7 seconds.
In your CDAF.solution
file, add the packageMethod
property
packageMethod=tarball
Complete sample solutions are available for Windows and Linux.
For full release details for CDAF 2.5.7 see http://cdaf.io/release