Alex Pyrgiotis
fc313d8744
ci: Fix convert-test-docs step
...
Fix the failing convert-test-docs step, by pinning Poetry to version
1.2.2. This way, we avoid a bug in Poetry 1.3 [1], which was recently
released on PyPI.
[1]: https://github.com/python-poetry/poetry/issues/7184
Closes #292
2022-12-15 18:32:48 +02:00
Alex Pyrgiotis
147caca524
ci: Fix failing build-debian-bookworm step
...
Debian has removed the python-all package from its Bookworm repos, which
breaks our CI tests. Looking into why python-all is required in the
first place, we found that it's an artificial stdeb requirement [1],
prior to 0.9.1 versions
The only platform affected by this issue is Ubuntu Focal, so our
solution is to install python-all specifically for that platform.
Finally, we further simplify our build tasks [2] (on Debian-like
distros) by not letting dh-python run tests when building the packages.
Running the tests has some issues after all:
1. It requires installing all the runtime dependencies of Dangerzone,
since it uses `python -m unittest discover` underneath.
2. It doesn't aid in the stability of the package, since unittest cannot
run test cases for PyTest.
[1]: https://github.com/astraw/stdeb/issues/153
[2]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1349967888
2022-12-15 18:30:19 +02:00
Alex Pyrgiotis
06f92747ab
ci: Fix the failing run-lint step
...
Fix the failing run-lint test by switching to Debian Bookworm for this
step, and installing Poetry 1.2.2 from the official repos. This way, we
circumvent a bug [1] in Poetry 1.3 (released on PyPI) and we greatly
simplify this step [2].
[1]: https://github.com/python-poetry/poetry/issues/7184
[2]: https://github.com/freedomofpress/dangerzone/issues/292#issuecomment-1351368122
2022-12-15 18:29:35 +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
Micah Lee
46a0c60459
Rename workflows to build and build-and-deploy
2021-11-24 11:39:33 -08:00