- Overview
- Initialize a new release environment
- Components diff
- Disable PE promotion
The purpose of this project is to bring together the automation scripts for the puppet-agent release.
To begin a new release:
- Clone this project
(If already cloned, fetch the latest version (eg.
git pull
) and run the cleanup script:ruby bin/cleanup.rb
) - Make sure you have the correct version of ruby installed (2.6.1)
- Make sure
bundler
is installed cd <path/to/project>
- run
bundle install
- run
ruby bin/initialize <source_branch>
What this does:
- Creates a new directory within this project called
new_release
- Clones
puppet-agent
and all of its dependencies in that directory
What it does:
- Outputs all the new commits for each component since the last release
- Outputs the latest tag, suggested version and current version (from the version file) for each promoted component
To run the script:
ruby bin/components_diff.rb <source_branch> <release_type>
(please note that the source_branch ismaster
and release_type isz
by default)