CDAF 2.5.7 Package Features and Method

CDAF 2.5.7 Package Features and Method

CDAF 2.5.7 is now available

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

To view or add a comment, sign in

More articles by Jules Clements

  • Release Train Engineering

    In large-scale environments, a release can encompass infrastructure, operational, and application changes. Within the…

    2 Comments
  • Saying Goodbye to Old Code: A Love Letter to the Repos I've Laid to Rest

    There comes a time in every technologist’s journey when we face the final push—not of a feature, not a hotfix—but the…

    4 Comments
  • Realising the Feedback Loop

    Information Technology Solution Delivery in Enterprise Environments Continuous Delivery to Shift-Left While the DevOps…

    1 Comment
  • Technical Debt

    After over a decade of maintaining the Continuous Delivery Automation Framework, the time has come to pause new…

  • Self-hosted Containers

    Opinionated Docker Image and Container Management CDAF 2.6.

  • CDAF 2.6.0 Cascading Properties

    Environment, Solution and Function Properties CDAF Release 2.6.

  • Do-Nothing Pipeline

    Entering Sprint-0 To embed automation into the feature development lifecycle, a pipeline should exist at the earliest…

  • CDAF containerDeploy

    containerDeploy, like containerBuild, is intended for self-hosted agent/runner use cases. By including the image…

  • CDAF Variable Validation Operation

    CDAF provided tabular configuration management files in late 2018, but until now, did not have a convenient way of…

  • CDAF Feature Branch Environments

    The existing feature branch capability in CDAF (Git only, entry.ps1/entry.

Explore content categories