These scripts are intended for use by organizations that provide OSTree repositories, automating workflow operations around release engineering.
This implements a "binary promotion model" of commits across separate branches, similar to what's described in the ostree manual. This script is used by CentOS Atomic Host Development. See the releases.yml file there.
To use this, you should store the releases.yml
file in git, and ensure that
do-release-tags
is executed from a CI system like Jenkins.
A simpler pattern is to have an internal repository which has at
most one new commit, which isn't exposed publicly. This script
maintains a redhat.staging
detached metadata key, and will
undo the topmost commit if it has that key.
To use this, just run it before your build system generates a commit.
Generate statistics on the files in a given commit.
Directly change a given ref, with no verification.