From f66375bd44ca46551837188a461483bfaa3907a8 Mon Sep 17 00:00:00 2001 From: deeplow Date: Thu, 29 Jun 2023 09:51:42 +0100 Subject: [PATCH] Add QA instructions for Qubes alpha support --- RELEASE.md | 21 +++++++++++++++++++++ dev_scripts/qa.py | 21 ++++++++++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 78ab25d..7e672cd 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -46,6 +46,20 @@ and newer platforms, we have to do the following: - [ ] Run the Dangerzone tests. - [ ] Create an .rpm package and install it system-wide. - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). +- [ ] Create a test build in the most recent Fedora template in Qubes OS (Fedora 38 as of + writing this) and make sure it works: + - [ ] Create a new development environment with Poetry. + - [ ] Build the container image and ensure the development environment uses + the new image. + - [ ] Run the Dangerzone tests and confirm that the tests are ran using containers + instead of disposable qubes + - [ ] Run the Dangerzone tests with the env var `QUBES_CONVERSION=1` and confirm that + the tests are ran using diposable qubes instead of containers + - [ ] Create an .rpm with `./install/linux/build-rpm.py` package and + install it in a fedora qube and make sure conversions run with containers + - [ ] Create an .rpm with `./install/linux/build-rpm.py --qubes` package and + install it following the instructions in `BUILD.md` + - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). ### Scenarios @@ -137,6 +151,13 @@ REPOSITORY TAG IMAGE ID CREATED SIZE dangerzone.rocks/dangerzone latest ``` +#### 10. Ensure in Qubes disposable qubes are used by default + +_(Only for Qubes OS)_ + +Run a conversion on Qubes and ensure that it uses disposable qubes by default. + + ## Changelog, version, and signed git tag Before making a release, all of these should be complete: diff --git a/dev_scripts/qa.py b/dev_scripts/qa.py index 424fd00..e1970c4 100755 --- a/dev_scripts/qa.py +++ b/dev_scripts/qa.py @@ -55,7 +55,20 @@ and newer platforms, we have to do the following: - [ ] Run the Dangerzone tests. - [ ] Create an .rpm package and install it system-wide. - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). - +- [ ] Create a test build in the most recent Fedora template in Qubes OS (Fedora 38 as of + writing this) and make sure it works: + - [ ] Create a new development environment with Poetry. + - [ ] Build the container image and ensure the development environment uses + the new image. + - [ ] Run the Dangerzone tests and confirm that the tests are ran using containers + instead of disposable qubes + - [ ] Run the Dangerzone tests with the env var `QUBES_CONVERSION=1` and confirm that + the tests are ran using diposable qubes instead of containers + - [ ] Create an .rpm with `./install/linux/build-rpm.py` package and + install it in a fedora qube and make sure conversions run with containers + - [ ] Create an .rpm with `./install/linux/build-rpm.py --qubes` package and + install it following the instructions in `BUILD.md` + - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). """ CONTENT_QA_SCENARIOS = r"""### Scenarios @@ -147,6 +160,12 @@ $ podman images dangerzone.rocks/dangerzone:latest REPOSITORY TAG IMAGE ID CREATED SIZE dangerzone.rocks/dangerzone latest ``` + +#### 10. Ensure in Qubes disposable qubes are used by default + +_(Only for Qubes OS)_ + +Run a conversion on Qubes and ensure that it uses disposable qubes by default. """ CONTENT_BUILD_DEBIAN_UBUNTU = r"""## Debian/Ubuntu