Commit Graph
30 Commits
Author SHA1 Message Date
Nathan Vasse 768f616859 🔒️(ci) restrict drive-frontend workflow token to contents:read
CodeQL flagged the workflow for running with default GITHUB_TOKEN
permissions. None of the jobs need write scopes, so pin to the
minimum to contain blast radius if a third-party action is
compromised.
2026-04-08 17:27:58 +02:00
Nathan Vasse bdfade5d10 ️(ci) prebuild drive frontend and serve via nginx for e2e
Replace the per-shard \`yarn dev\` with a single static build
job whose output is shared as an artifact and served by stock
nginx using the production vhost. Cuts e2e startup cost and
exercises the same bundle we ship.
2026-04-08 16:58:27 +02:00
Nathan Vasse d194b51312 ️(ci) cache Playwright browsers by version
Key the Playwright browser cache by the installed @playwright/test
version instead of yarn.lock so cache hits actually match the binaries
Playwright expects, avoiding redundant browser downloads on every CI
run. On cache hit we still install system deps to keep headless runs
working.
2026-04-08 14:37:53 +02:00
Nathan Vasse 209917907f ️(ci) shard e2e tests and cache playwright browsers
E2e tests take 20-23min per browser because they run sequentially
on a single runner with no browser caching. Shard tests across 3
parallel runners per browser and cache Playwright browser binaries
to reduce wall-clock time to ~7min per browser.
2026-04-07 11:21:16 +02:00
Nathan Vasse 95b610dccb 🔧(ci) exclude pdf.worker.mjs from print statement lint
The bundled PDF worker contains minified code with
print() calls that trigger the lint-git check. Since
this is a vendored file it should be excluded.
2026-03-30 10:57:09 +02:00
Manuel Raynaud 564822d31f ️(CI) optimize Docker Hub workflow
We use the Docker Hub Workflow to build and push
our images to Docker Hub, but to check if we
have vulnerabilities in our images as well.
When we are just checking for vulnerabilities,
we don't need to do all the builing steps.
This commit optimizes the workflow by only doing the
necessary steps when we are just checking for
vulnerabilities, so during pull requests we skip the build
steps, and we do not activate QEMU and buildx
2026-02-26 09:19:43 +01:00
Stephan Meijer f43c8a49bd 👷(docker) add arm64 platform support for image builds
Signed-off-by: Stephan Meijer <me@stephanmeijer.com>
2026-02-19 17:38:18 +01:00
Manuel Raynaud aa5efc371c ⬆️(backend) upgrade cryptography to version 46.0.5
upgrade cryptography to fix CVE-2026-26007
2026-02-11 14:54:50 +01:00
Nathan VasseandManuel Raynaud 6f9d213261 ♻️(ci) extract build-mails into a reusable workflow
The e2e tests in drive-frontend.yml need the compiled mail
templates. Rather than duplicating the build-mails job, we
extract it into a reusable workflow that both drive.yml and
drive-frontend.yml can call.
2026-02-06 16:02:25 +01:00
Manuel Raynaud 6089c7bfcc ♻️(helmfile) rename helmfile
Rename helmfile to helmfile.yaml.gotmpl to be compatible with helmfile
0.162 and 1.1.9
2026-02-06 15:58:20 +01:00
Manuel Raynaud 3793f005de (backend) fix randomly failing test due to delay before check
There is a delay between the time the signature is issued and the
time it is checked. Although this delay is minimal, if the signature
is issued at the end of a second, both timestamps can differ of 1s.
2026-02-06 15:39:25 +01:00
Manuel Raynaud 84e7dba52e ♻️(backend) migrate from setuptool to uv_build as build backend
Recently a CVE present in a dependency of setuptool is blocking our CI.
The CVE is fixed, a new release of the dependency (jaraco.context) is
made but the setuptool project is not updating it. We already migrate
from pip to uv to manage our dependencies. We can also migrate the build
backend from setuptool to uv_build.
In the pyproject file, the readme property has been removed, because
uv_build try to read it, but the readme is at the root of the project
and not copied into the Dockerfile instructions. This readme can be used
when the package is published on pypi but it is not the case for Drive.
2026-01-20 18:53:06 +01:00
Stanislas Bruhiere a11829e6f7 🐛(docker-hub) fix mistake in docker user
Remove :-1000 after docker user in github workflows
2025-12-31 10:39:36 +01:00
Sylvain ZimmerandNathan Vasse 971433ff75 🐛(email) avoid trying to send emails if no provider is configured
We want to allow instance to not setup email sending without causing
crashes. Also add the envvar to the test setup so that the existing
tests that were running without DJANGO_EMAIL_HOST to None still
work.
2025-12-18 14:36:30 +01:00
Manuel Raynaud 333662c69e ⬆️(actions) upgrade actions/checkout to v6
Upgrade checkout actions to latest version available
2025-12-01 08:39:07 +01:00
Manuel Raynaud ac562934cb 🔧(actions) migrate from pip to uv
Migreate usage of pip to uv in github actions. How python is setup is
also changed. Doing like this, we will just have to upgrade the python
version requirement in the pyproject file
2025-11-25 09:51:15 +01:00
Manuel Raynaud 65127ad60a ⬆️(backend) upgrade to python 3.13
we want to upgrade to python 3.13 before upgrading it to 3.14 in few
weeks
2025-11-19 16:45:13 +01:00
Nathan Panchout c125d20d31 🐛(front) enhance mimeTypes utility
We cannot put periods in filenames, even if it's an unknown extension.
2025-11-19 11:11:29 +01:00
Nathan Vasse 8c8442cd54 👷(ci) install playwright browser with local version
Before the playwright browsers were installing the most
up-to-date version, not the version of the repository.
This was causing sometimes mismatch and ci crashes when
playwright releases a new version.
2025-10-10 15:41:08 +02:00
Manuel Raynaud d3e67e541f 🔧(ci) always run all git-lint steps
git-lint steps are independant and we would like to have all checks at
once. Using the `if: always()` instruction should ensure all steps
should be run event if the previous fails.
2025-09-02 10:19:50 +02:00
Manuel Raynaud 7b69315edb 🔧(ci) refactor Docker Hub login to use official GitHub actions
Replace custom Docker Hub authentication with standard, secure,
official GitHub actions for improved security and maintainability.

Uses officially supported actions that follow security best practices
and receive regular updates from GitHub.

Avoid unsecure handling of GitHub secrets.
2025-08-29 11:02:17 +02:00
Nathan Vasse 9a714c45bc 👷(ci) add frontend e2e ci job
This job runs the e2e frontend tests for various browsers.
2025-08-27 15:45:16 +02:00
Manuel Raynaud cb9d173382 ️(ci) use setup-python cache option
The setup-python action is able to cache the dependencies and reuse this
cache while the pyproject file has not changed. It is easy to setup,
juste the package manager used has to be declared in the cache settings.
2025-08-25 09:23:53 +02:00
Manuel Raynaud f5d6073974 💚(node) upgrade to node 22
Drive requires node 22, we have to upgrade it in the CI and in the
Dockerfile
2025-06-17 14:26:08 +02:00
Nathan Vasse ff00743f0c 💚(ci) enable frontend CI
Before we were working like unstoppable high speed train, now it's
time add more safety. :)
2025-05-15 17:07:37 +02:00
Manuel Raynaud 23700bec1c 🔧(ci) enable helmfile release action
The helm chart is made, we can now enable the helmfile release action to
publish it in the repo github pages.
2025-04-02 08:19:28 +02:00
Manuel Raynaud 4a52985961 🔧(ci) enable helmfile linter action
We can now enable the helmfile linter in our ci.
2025-04-02 08:19:28 +02:00
Manuel Raynaud 20cabdac95 🔧(ci) configure action to build docker images
The CI was not yet configure to properly build docker images and verify
them. We now have all the Dockerfiles available to do it.
2025-04-02 08:19:28 +02:00
Manuel Raynaud 7eed577278 (back) add first backend version
The first backend version is able to manage items object and their
lifecycle
2025-02-11 14:57:09 +01:00
Manuel Raynaud 2607d77153 🎉(core) shape of the project
Add all files we need to start the project. Only the `src` repository is
missing and will be added later by additional pull requests.
2025-01-29 17:08:23 +01:00