Skip to content

Commit

Permalink
Add Candlepin branch procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Jun 3, 2024
1 parent e183fff commit 7d35b99
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions procedures/candlepin/branch.md.erb
Original file line number Diff line number Diff line change
@@ -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 %> <SRPM>`
- 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/)

0 comments on commit 7d35b99

Please sign in to comment.