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:
- clone the git repository named in
params
value - run the
tools/build_content.sh
script - optionally add the content to the system (if
manager/update-catalog
is true) - 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