Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand release management workflow for dom0-config to include yum-qa process #116

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nathandyer
Copy link
Contributor

Status

Ready for review

Description of Changes

This PR expands the RPM release management section, or at least the portion dedicated to securedrop-workstation-dom0-config, to match the apt counterpart above, and incorporate the yum-test and yum-qa repos.

Testing

  • CI passes
  • Visual inspection
  • Described process aligns with real-world process

Checklist (Optional)

  • Doc linting (make docs-lint) passed locally
  • Doc link linting (make docs-linkcheck) passed
  • You have previewed (make docs) docs at http://localhost:8000

Copy link
Contributor

@zenmonkeykstop zenmonkeykstop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagged some confusing/inaccurate bits. IMO more specific detail (CLI stuff etc) would be required, but that might be best generated during a release run.


1. Create a release branch in the ``securedrop-workstation`` repository.
2. Push a changelog commit.
3. Push an rc tag in the format ``<major>.<minor>.<patch>~rcN`` on your new commit.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signing ceremonies, and stakeholder communications.

1. Push a release tag on the same commit of the rc tag that was approved during QA.
2. :ref:`Sign the tag with the SecureDrop release key` (or ask another maintainer to do this).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RPMs need to be signed as well/instead. IIRC this happens automatically for test repos but a signer will be needed for prod.


Once the package on ``yum-test`` has passed QA and it appears that no additional
release candidates are needed, repeat the process from Step 2, this time opening
the pull request against ``securedrop-yum-qa``. Once the package is uploaded there,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no securedrop-yum-qa, I think. The preflight procedure as I understand it is the same as for the repos:

  • create and sign prod RPM
  • create a release branch on the securedrop-yum-prod repo and add the RPM there
  • submit a PR for that branch - a webhook will deploy it to yum-qa.securedrop.org
  • do preflight checks (as described below)
  • when good, merge to main, which will deploy it to prod.

@rocodes rocodes self-assigned this Mar 25, 2024
@rocodes rocodes removed their assignment Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Blocked
Development

Successfully merging this pull request may close these issues.

Update securedrop-workstation release docs to include yum-test deployment
3 participants