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 13, 2024
1 parent e183fff commit 62122b8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions procedures/candlepin/branch.md.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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 following updates:
- [ ] Add new vars file for the version being branched, [for example](https://github.com/theforeman/jenkins-jobs/blob/master/theforeman.org/pipelines/vars/candlepin/4.4.groovy)
- [ ] Add <%= release %> to https://github.com/theforeman/jenkins-jobs/blob/master/theforeman.org/yaml/includes/candlepin_versions.yaml.inc
- [ ] Add <%= release %> to https://github.com/theforeman/jenkins-jobs/blob/master/centos.org/jobs/candlepin-pipelines.yml
- 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') %>
10 changes: 10 additions & 0 deletions procedures/candlepin/release.md.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Build Package

- [ ] Acquire Candlepin SRPM for <%= release %>
- [ ] Build into Copr
- `copr build @theforeman/candlepin-staging-<%= release %> <SRPM>`
- [ ] 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 62122b8

Please sign in to comment.