ci: Add Fedora 41 support

This commit is contained in:
Alex Pyrgiotis 2024-10-14 17:36:55 +03:00
parent fd5aafdde9
commit b5d64e3420
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA
7 changed files with 14 additions and 8 deletions

View file

@ -47,6 +47,8 @@ jobs:
version: "39" version: "39"
- distro: fedora - distro: fedora
version: "40" version: "40"
- distro: fedora
version: "41"
steps: steps:
- name: Checkout - name: Checkout

View file

@ -79,6 +79,8 @@ jobs:
version: 39 version: 39
- distro: fedora - distro: fedora
version: 40 version: 40
- distro: fedora
version: 41
steps: steps:
- name: Add packages.freedom.press to our YUM sources - name: Add packages.freedom.press to our YUM sources
run: | run: |

View file

@ -238,7 +238,7 @@ jobs:
strategy: strategy:
matrix: matrix:
distro: ["fedora"] distro: ["fedora"]
version: ["39", "40"] version: ["39", "40", "41"]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

View file

@ -10,6 +10,7 @@ since 0.4.1, and this project adheres to [Semantic Versioning](https://semver.or
### Added ### Added
- Point to the installation instructions that the Tails team maintains for Dangerzone ([announcement](https://tails.net/news/dangerzone/index.en.html)) - Point to the installation instructions that the Tails team maintains for Dangerzone ([announcement](https://tails.net/news/dangerzone/index.en.html))
- Platform support: Fedora 41 ([issue #947](https://github.com/freedomofpress/dangerzone/issues/947))
## [0.7.1](https://github.com/freedomofpress/dangerzone/compare/v0.7.1...v0.7.0) ## [0.7.1](https://github.com/freedomofpress/dangerzone/compare/v0.7.1...v0.7.0)

View file

@ -16,6 +16,7 @@ Dangerzone is available for:
- Debian 13 (trixie) - Debian 13 (trixie)
- Debian 12 (bookworm) - Debian 12 (bookworm)
- Debian 11 (bullseye) - Debian 11 (bullseye)
- Fedora 41
- Fedora 40 - Fedora 40
- Fedora 39 - Fedora 39
- Tails - Tails

View file

@ -24,7 +24,7 @@ as a special case of Fedora, release-wise). For each of these platforms, we need
to check if a new version has been added, or if an existing one is now EOL to check if a new version has been added, or if an existing one is now EOL
(https://endoflife.date/ is handy for this purpose). (https://endoflife.date/ is handy for this purpose).
In case of a new version: In case of a new version (beta, RC, or official release):
1. Add it in our CI workflows, to test if that version works. 1. Add it in our CI workflows, to test if that version works.
* See `.circleci/config.yml` and `.github/workflows/ci.yml`, as well as * See `.circleci/config.yml` and `.github/workflows/ci.yml`, as well as
@ -103,7 +103,7 @@ and newer platforms, we have to do the following:
- [ ] Run the Dangerzone tests. - [ ] Run the Dangerzone tests.
- [ ] Create a .deb package and install it system-wide. - [ ] Create a .deb package and install it system-wide.
- [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below).
- [ ] Create a test build in the most recent Fedora platform (Fedora 40 as of - [ ] Create a test build in the most recent Fedora platform (Fedora 41 as of
writing this) and make sure it works: writing this) and make sure it works:
- [ ] Create a new development environment with Poetry. - [ ] Create a new development environment with Poetry.
- [ ] Build the container image and ensure the development environment uses - [ ] Build the container image and ensure the development environment uses
@ -111,7 +111,7 @@ and newer platforms, we have to do the following:
- [ ] Run the Dangerzone tests. - [ ] Run the Dangerzone tests.
- [ ] Create an .rpm package and install it system-wide. - [ ] Create an .rpm package and install it system-wide.
- [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below).
- [ ] Create a test build in the most recent Qubes Fedora template (Fedora 39 as - [ ] Create a test build in the most recent Qubes Fedora template (Fedora 40 as
of writing this) and make sure it works: of writing this) and make sure it works:
- [ ] Create a new development environment with Poetry. - [ ] Create a new development environment with Poetry.
- [ ] Run the Dangerzone tests. - [ ] Run the Dangerzone tests.
@ -385,15 +385,15 @@ repo, by sending a PR. Follow the instructions in that repo on how to do so.
> **NOTE**: This procedure will have to be done for every supported Fedora version. > **NOTE**: This procedure will have to be done for every supported Fedora version.
> >
> In this section, we'll use Fedora 39 as an example. > In this section, we'll use Fedora 41 as an example.
Create a Fedora development environment. You can [follow the Create a Fedora development environment. You can [follow the
instructions in our build section](https://github.com/freedomofpress/dangerzone/blob/main/BUILD.md#fedora), instructions in our build section](https://github.com/freedomofpress/dangerzone/blob/main/BUILD.md#fedora),
or create your own locally with: or create your own locally with:
```sh ```sh
./dev_scripts/env.py --distro fedora --version 39 build-dev ./dev_scripts/env.py --distro fedora --version 41 build-dev
./dev_scripts/env.py --distro fedora --version 39 run --dev bash ./dev_scripts/env.py --distro fedora --version 41 run --dev bash
cd dangerzone cd dangerzone
``` ```

View file

@ -52,7 +52,7 @@ and newer platforms, we have to do the following:
- [ ] Run the Dangerzone tests. - [ ] Run the Dangerzone tests.
- [ ] Create a .deb package and install it system-wide. - [ ] Create a .deb package and install it system-wide.
- [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below). - [ ] Test some QA scenarios (see [Scenarios](#Scenarios) below).
- [ ] Create a test build in the most recent Fedora platform (Fedora 40 as of - [ ] Create a test build in the most recent Fedora platform (Fedora 41 as of
writing this) and make sure it works: writing this) and make sure it works:
- [ ] Create a new development environment with Poetry. - [ ] Create a new development environment with Poetry.
- [ ] Build the container image and ensure the development environment uses - [ ] Build the container image and ensure the development environment uses