-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes xenial docker build We need a recent version of dh-virtualenv. As for Focal, for Xenial we now pull from the Debian [sic] unstable [sic] repos to get a recent version. In Focal, we could reuse the already-available debian-archive-keyring to verify integrity, but in Xenial, the debian-archive-keyring is too old, Jessie-era (2014-11 vs 2018-09, judging by the timestamps). So for Xenial, we must fetch the required key over HTTPS and provide that to apt manually. We must also explicitly reference the "unstable" target for dh-virtualenv, since an older version of the package is available in Xenial, and will be preferrred to the unstable version given the cautious apt preferences we configure. * Stop dh-virtualenv pulling in Sid Python 3 packages * Updates xenial builder image hash Fixes to the build logic were just added by @rmol, so I've rebuilt the image and pushed it to facilitate testing by others. * Adds tests to package build logic for py/dhv We now test explicitly for expected versions of: * python3 * dh-virtualenv Since we're pulling from non-Ubuntu repositories. We'll reuse the same test logic in the march toward Focal build support, as well. Co-authored-by: John Hensley <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# sha256 digest quay.io/freedomofpress/sd-docker-builder-xenial:2020_07_27 | ||
9cfdae58bb673fc7c336864faa223732e6ad169a5d1c4ccd5d76217afc5385f6 | ||
# sha256 digest quay.io/freedomofpress/sd-docker-builder-xenial:2020_09_02 | ||
d62c99bb967e6dd1b276e642a29000656489313c2da2997f6bfbf466509f9b74 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters