Skip to content

ci: check that deb build process is reproducible after wheels and tarball are generated#156

Merged
rmol merged 1 commit intomasterfrom
ci-reproducibility-check
Jun 30, 2020
Merged

ci: check that deb build process is reproducible after wheels and tarball are generated#156
rmol merged 1 commit intomasterfrom
ci-reproducibility-check

Conversation

@redshiftzero
Copy link
Contributor

After the tarball and wheels are generated, the deb package build
process should thereafter be reproducible. This PR adds a CI check for securedrop-log, securedrop-client, securedrop-export, securedrop-proxy to verify that is indeed the case (this was a manual step from https://github.com/freedomofpress/securedrop-workstation/wiki/Workstation-Beta-Acceptance-Tests#packages).

I'm putting it in a job in CI as the hashes of the built deb are now printed in the CI build output and they should match the deployed packages. This can be used to cross-check with the build logs in the future (indeed, we could adapt this job to run in the LFS repo we use to commit built debs to check the built deb matches the hash of the package built in CI but I'm leaving that for another day).

@redshiftzero redshiftzero requested a review from emkll March 24, 2020 00:09
@redshiftzero redshiftzero changed the title ci: check that deb package build process is reproducible after wheels and tarball is generated ci: check that deb build process is reproducible after wheels and tarball are generated Mar 24, 2020
After the tarball and wheels are generated, the package build
process should thereafter be reproducible.
@rmol rmol force-pushed the ci-reproducibility-check branch from a6984e6 to 1cf40c1 Compare June 30, 2020 20:24
Copy link
Contributor

@rmol rmol left a comment

Choose a reason for hiding this comment

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

👍 I manually verified the build and hash verification logic. The CI output contains the hashes for verification. Looks great.

I had to rebase to catch it up to master, will merge after CI is green.

@rmol rmol merged commit ece5db7 into master Jun 30, 2020
@rmol rmol deleted the ci-reproducibility-check branch June 30, 2020 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants