Alex Pyrgiotis
02151b5b9f
HACK: Deploy only Fedora 37 packages
...
When deploying packages, build the RPM package for Fedora 37 and deploy
only that.
Problem
=======
The v0.4.0 release introduced Fedora 37 support. We had tested building
an RPM package for Fedora 37 and installing it successfully, so we
assumed that we had the green light for the release.
Turns out however that our CI runners were not building packages for
each of our supported Fedora release, but solely for Fedora 35. It so
happened that Fedora 35 and Fedora 36 had similar Python versions, but
the same did not apply to Fedora 37.
The end result is that users could not install Dangerzone on Fedora 37
through our official repo.
Remediation
===========
In order to help out Fedora 37 users, we plan to do the following:
1. Bump the Fedora patch level of our package to -2. This will help
users install the new package, once we release it.
2. Change our CI pipeline to build an RPM package for Fedora 37 instead,
and deploy that to PackageCloud.
3. Comment out all the other deployments to PackageCloud, since the rest
of the distros are not affected.
IMPORTANT: This is a hotfix that should never be merged back in the main
branch.
Fixes #156
2023-01-25 15:16:59 +02:00
Alex Pyrgiotis
05d08e084d
HACK: Temporarily skip Debian Bookworm builds
...
Temporarily skip building Debian Bookworm packages, due to an upstream
deprecation of `python-all` package [1]. The proper fix is in the `main`
branch, but we don't need to cherry-pick this in this hotfix branch.
[1]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1349967888
2023-01-25 15:04:55 +02:00
Alex Pyrgiotis
b416a566be
ci: Deploy to PackageCloud in Fedora 37
2023-01-25 15:04:54 +02:00
Alex Pyrgiotis
58b23a6338
ci: Handle upstream Poetry bug
...
Poetry 1.3 has an upstream bug [1] that makes it fail in TTYs that
report size 0. A temporary fix for this is to disable escape sequences
support with `--no-ansi`.
[1]: https://github.com/python-poetry/poetry/issues/7184
2023-01-25 10:52:36 +02:00
Alex Pyrgiotis
8658753d57
Use the proper codename for Ubuntu Kinetic Kudu
...
In a previous commit, we used the wrong codename for Ubuntu 22.10
"Kinetic Kudu". Instead of "kudu", we should use "kinetic".
2022-12-01 21:18:40 +02:00
Alex Pyrgiotis
1ad6b59bb1
Support Ubuntu 22.10 "Kinetic Kudu"
...
Add support for the newly released Ubuntu 22.10 "Kinetic Kudu".
Closes #265
2022-12-01 01:05:00 +02:00
Alex Pyrgiotis
badafaaf15
ci: Reinstate Ubuntu Focal support
...
Reinstate support for Ubuntu Focal, which was previously removed in
commit 229ebbda14
.
Refs #206
2022-11-10 16:35:48 +02:00
Alex Pyrgiotis
1daaafe2a3
install: Introduce a script for installing Podman
...
Introduce a script for installing Podman in Ubuntu Focal, in
environments that may, or may not, have sudo installed.
Also, update our CircleCI configuration to use this script when
installing Podman.
2022-11-10 16:35:48 +02:00
deeplow
b1892077fa
Add fedora 37 support in CI
...
Fedora 37 had been removed (commit d7cbe41
) due to lack of support by
packagecloud (our package hosting solution at the time). This will no
longer be true and thus we can add this distro to the list of supported.
2022-10-27 14:53:17 +01:00
deeplow
77c7cba563
Add support for Debian Bookworm
...
Fixes #172
2022-10-27 14:49:23 +01:00
deeplow
75fe45cfb6
replace automated test code in CI
2022-09-13 13:17:15 +01:00
Micah Lee
d7cbe419cc
Comment out deploying to fedora 37, because packagecloud.io does not support it yet
2022-09-06 10:43:18 -07:00
deeplow
ece36dc287
add lint checks on CI
2022-08-22 10:15:30 +01:00
Guthrie McAfee Armstrong
395eba0a74
Remove requests dependency
2022-08-19 15:16:14 +01:00
deeplow
c713801e77
remove EOL ubuntu versions
2022-08-04 19:23:41 +01:00
deeplow
47364c200c
disable debian 12 while waiting on upsteam fix
...
More details at https://github.com/freedomofpress/dangerzone/issues/172
2022-07-20 10:23:58 +01:00
deeplow
a04ed076cb
update distros in CI (deprecate old & add new ver.)
2022-07-11 11:01:19 +01:00
Micah Lee
b4cae37874
Deploy ubuntu on 21.04
2021-11-30 18:01:57 -08:00
Micah Lee
3a337eee1f
Refactor deployments
2021-11-30 17:31:57 -08:00
Micah Lee
defe9ef9dc
Deploy different versions of fedora, debian, and ubuntu from the same container
2021-11-30 17:08:24 -08:00
Micah Lee
4ecaad18fd
Force ruby 2.7
2021-11-30 16:45:39 -08:00
Micah Lee
6f6dae109f
Fix typo in CircleCI deploy
2021-11-30 16:04:36 -08:00
Micah Lee
8f22c4d680
Simplify CircleCI deployment and display debug output
2021-11-30 15:56:32 -08:00
Micah Lee
32792fc143
Don't specify --platform when building in CircleCI
2021-11-29 16:12:07 -08:00
Micah Lee
0908e2941b
Use the latest docker in CI
2021-11-29 16:10:34 -08:00
Micah Lee
4a92048389
Update the CircleCI cache key to no longer rely on files that are deleted
2021-11-29 16:07:18 -08:00
Micah Lee
42f8fb9e2f
Rename the container in CircleCI
2021-11-29 16:04:20 -08:00
Micah Lee
b8b11b514d
Install poetry deps after checking out
2021-11-24 15:51:46 -08:00
Micah Lee
bd0b032c30
For testing, install deps with peotry, and run with poetry, without building a package
2021-11-24 15:39:23 -08:00
Micah Lee
f664ca0509
Try preparing permissions cache dir ahead of time
2021-11-24 14:39:38 -08:00
Micah Lee
a61cab6d3c
Save cache files to /tmp to avoid permission denied in machine job
2021-11-24 14:18:30 -08:00
Micah Lee
9d5f8e55bd
Fix podman install in ubuntu 20.04
2021-11-24 14:07:42 -08:00
Micah Lee
258c6dcb91
Oops, fix build-rpm name
2021-11-24 14:06:45 -08:00
Micah Lee
229ebbda14
Remove release for focal since podman is not packaged in focal, and install podman separately in convert-test-docs
2021-11-24 13:58:45 -08:00
Micah Lee
a6770865c5
Make convert-test-docs use the same docker image as everything else
2021-11-24 13:52:19 -08:00
Micah Lee
3dfefc3e39
Define machine image properly
2021-11-24 13:48:36 -08:00
Micah Lee
4251f6a5a3
Make convert_test_docs build its own container image with podman
2021-11-24 13:47:20 -08:00
Micah Lee
efb4819c31
Fix yaml syntax
2021-11-24 13:41:31 -08:00
Micah Lee
7b05d20234
Add ubuntu/focal, and run each test doc through dangerzone-cli
2021-11-24 13:40:42 -08:00
Micah Lee
73f9200382
Skip more steps if cached
2021-11-24 13:09:30 -08:00
Micah Lee
1ad2dd891c
Skip the save step if the image is already cached
2021-11-24 13:06:37 -08:00
Micah Lee
c883a86500
Oops, filename in dangerzone-converter.tar.gz
2021-11-24 13:02:11 -08:00
Micah Lee
2e400423d7
Typo in yaml
2021-11-24 13:00:48 -08:00
Micah Lee
ef73334865
Set build-container-image to restore the cache and import the image from it
2021-11-24 12:58:24 -08:00
Micah Lee
f52835243f
Set the cache key to a hash of all the container files
2021-11-24 12:50:31 -08:00
Micah Lee
b2d0361bb1
Still running out of RAM, switch from medium to medium+
2021-11-24 12:42:12 -08:00
Micah Lee
3abfb88f29
Use medium resource class for all jobs, to bump up the RAM
2021-11-24 12:31:10 -08:00
Micah Lee
711dc97fff
Missed build-fedora-33 job
2021-11-24 12:13:11 -08:00
Micah Lee
316884e125
Fix yaml issue
2021-11-24 12:12:12 -08:00
Micah Lee
314236be89
Build and deploy ubuntu impish, hirsute, groovy; debian bullseye; fedora 35, 34, 33
2021-11-24 12:10:36 -08:00