This repo contains all the packaging scripts to build the native PDK packages across various platforms.
NOTE: Please refer to the instructions in the PDK Release Ticket Template for the most up-to-date instructions on releasing a new version of the PDK
- Choose the upstream pdk SHA that you want to release. Optionally, follow the pdk's release process to create a public gem release. You can ignore this step if you want to take the latest commit on
master
of the pdk and pdk-templates repos. - PDK merges to master are automatically promoted into pdk-vanagon with this jenkins job.
- Make sure the correct
ref
andversion
have landed inconfigs/components/rubygem-pdk.json
. - Make sure the correct
ref
has landed inconfigs/components/pdk-templates.json
. This will have been bumped to the latest SHA from pdk-templates by Jenkins. - Create a tag for the RC build:
git tag -a -m x.y.z.0-rc.# x.y.z.0-rc.#
e.g. (git tag -a -m 1.18.0.0-rc.1 1.18.0.0-rc.1
) - Trigger a new build with default params.
- Once the Jenkins jobs are finished, your new packages will appear in builds.delivery.p.n with either the tag you attached to your new commit or the SHA of your
pdk-vanagon
(notpdk
) commit. - Optional: If the packages were tagged with a version, use the S3 ship job to sign and ship the packages to S3. The REF parameter receives the pdk-vanagon tag to ship. RE's CGI script (see RE-9094) will need modifications to pick up the new version.
- After pushing a release to S3, send out a Release Announcement
- Celebrate
- Edit
configs/components/pdk-templates.json
. Update theref
to point to the desired SHA from the pdk-templates.
See https://tickets.puppetlabs.com/browse/PDK-578
- Clone this repo
- Change the
configs/components/rubygem-pdk.json
to point to the SHA or ref and version you want to test/build. - Change the
configs/components/pdk-templates.json
to point to the SHA or ref and version you want to test/build. bundle install
bundle exec build pdk ubuntu-16.04-amd64,windows-2012r2-x64,el-7-x86_64
For more info see https://github.com/puppetlabs/vanagon