Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
Ready for review.
Description of Changes
Refs #544
Changes proposed in this pull request:
These changes ensure that fedora-31 is preferred everywhere. Running a
make dev
will ensure that the handle-upgrade logic is run, restartingthe VMs as required. What's not included in this change is a method
for handling automated upgrades in staging/prod. In order to accomplish
unattended transition from f30 -> f31, we'll have to update the dom0
state management logic to "include" the handle-upgrade script.
Testing
Make sure you use a
dev
environment (i.e.config.json
shows "environment": "dev").All tests should pass. On my machine, the only test that failed was the dnf update check, so after updating the packages in
fedora-31
, the test suite was passing completely.Also run
qvm-ls | grep fedora
and ensure thatsys-net
,sys-usb
, andsys-firewall
are all based onfedora-31
. (The tests check this, but best to be sure.) I've not yet confirmed the usb export flow to be working, so validation on that front is required, as well.Checklist
If you have made code changes
make flake8
) passes in the development environment (this box maybe left unchecked, as
flake8
also runs in CI)If you have made changes to the provisioning logic
All tests (
make test
) pass indom0
of a Qubes installThis PR adds/removes files, and includes required updates to the packaging
logic in
MANIFEST.in
andrpm-build/SPECS/securedrop-workstation-dom0-config.spec