diff --git a/procedures/candlepin/branch.md.erb b/procedures/candlepin/branch.md.erb new file mode 100644 index 0000000..9397d98 --- /dev/null +++ b/procedures/candlepin/branch.md.erb @@ -0,0 +1,28 @@ +# Branch Packaging + +- [ ] Clone https://github.com/theforeman/candlepin-packaging +- [ ] Check out most recent branch rpm/< latest_version > +- [ ] Create a new branch for the version being added + - `git checkout -b rpm/<%= release %>` +- [ ] Update `package_manifest.yaml` with <%= release %> +- [ ] Push new branch to https://github.com/theforeman/candlepin-packaging + +# Update CI + +- [ ] Open a PR with the result of [jenkins-jobs](https://github.com/theforeman/jenkins-jobs) branching: `./branch-foreman <%= release %> KATELLO_VERSION` + +# Build Package + +- [ ] Acquire Candlepin SRPM for <%= release %> +- [ ] Build into Copr + - `copr build @theforeman/candlepin-staging-<%= release %> ` +- Create new GPG key for release + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('generate_gpg') %> + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('export_gpg_private') %> to back up + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('sign_gpg') %> + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('upload_gpg') %> +- [ ] Sign RPMs + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('generate_stage_repository') %> + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('sign_stage_rpms') %> + - [ ] VERSION=<%= release %> PROJECT=candlepin <%= rel_eng_script('upload_stage_rpms') %> +- [ ] [Run release pipeline](https://ci.theforeman.org/job/candlepin-<%= release %>-rpm-pipeline/)