-
Notifications
You must be signed in to change notification settings - Fork 46
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
Rebuild qubes-template-securedrop-workstation for production #424
Rebuild qubes-template-securedrop-workstation for production #424
Comments
The rationale here is that we want to use a single template in all environments. As discussed in standup today, we can sign the resulting .rpm artifact with both test and prod keys: After a build, they will be signed with the test key and pushed to the test apt server. Once testing is successful, we can sign this artifact with the release key, and push to the prod apt server for release. I would recommend we proceed as follows:
For 2., we can either (keeping in mind the goal would be to reduce (eliminate) the possibility of a prod install using non-prod repos/artifacts) : While method a. provides consistency at the expense of complexity, I would be inclined to go for option b., for the beta. |
Great discussion, @emkll. For now, let's proceed with installing "test" packages in the template build logic, and signing the resulting template RPM with the test key (since CI-built artifacts were used). That'll keep the wheels turning for the current sprint. We should aim to provide production packages in advance of beta QA in the following order:
Then we can proceed with ~2 weeks of QA using prod infra and and bump versions as necessary. Tagging @redshiftzero since I'm suggesting we push packages to prod endpoints before the final beta go-live date. Doing so will force us to become familiar with the new release machinery in advance of the go-live date. We'll almost certainly update a few package versions during QA. |
Re-opening to track remaining tasks:
|
Updated checklist above: still outstanding are prod-signed RPMs, which will land in the prod repo (https://github.com/freedomofpress/securedrop-workstation-prod-rpm-packages-lfs/) in draft form this week. Before we can finalize the "prod" setup, we'll need to rebuild all deb packages from prod-signed tags, then rebuild the dom0 config RPM. At that point, the |
Status update: @redshiftzero is working on prod-signing tags for the SDW deb packages. Once that's done, we can release them to prod apt. @emkll Plans to start a draft/WIP PR for the prod template, which will be blocked on final merge until we the Workstation debs in the prod repo. |
The test apt key is baked into our base image [1]. In order to prepare for the beta, we will need to rebuild the template using a production apt server.
This requires either:
[1] https://github.com/freedomofpress/qubes-template-securedrop-workstation/blob/master/securedrop-workstation/04_install_qubes_post.sh#L39
The text was updated successfully, but these errors were encountered: