Skip to content

git-build-content-push

Creates a critical alert if a bootstrap Task failure occurs.

This task is used to automatically import and synchronize content packages from a git repository. The process DOES NOT assume anything about the content; consequently, the repository MUST have scripts to facilitate building and uploading the content.

When used with the git-lab-trigger-webhook-push trigger, the repository param will be automatically populated when MergeData is set to true. This allows the webhook data to automically flow into the blueprint.

Note

At this time, the repository cannot require authentication.

The process is:

  1. clone the git repository named in params value
  2. run the tools/build_content.sh script
  3. optionally add the content to the system (if manager/update-catalog is true)
  4. optionally rebuild the manager catalogs (if dr-server/update-content` is true)

This assumes that the output of the content script will go into a directory structure like.

rebar-catalog/<cp-name>/<version>.json