380 Commits

Author SHA1 Message Date
Quinn Casey
01d0d0e019 CI: Fix multi stage builds (#190)
* Try fixing build error

* --upgrade instead of --update

* Attempt to fix timeout

* Try build qpdf on arm64

* Revert "Try build qpdf on arm64"

This reverts commit 42823a4d28a7922c2a1c74803514d279caf1b8ec.

* Format

* Try with libqpdf-dev install

* Move libqpdf-dev install to else

* Try with correct uname

* Run docker container to extract frontend

Co-authored-by: Johann Bauer <bauerj@bauerj.eu>
2022-03-01 12:48:26 -08:00
Quinn Casey
cb9e7b2dad Merge branch 'dev' into feature-black 2022-02-28 07:31:52 -08:00
Quinn Casey
34d4c17bc2 Merge pull request #161 from stumpylog/multistep-build
Refactor: Do the npm compile as a Build step in docker (Multistep build)
2022-02-28 06:09:17 -08:00
Quinn Casey
8829947411 Merge pull request #156 from paperless-ngx/docker-fix-ci
Fix Armv7 Docker Build
2022-02-27 16:54:22 -08:00
kpj
a14f180524 Make pycodestyle ignore E203
See https://github.com/psf/black/issues/315 for more details.
2022-02-27 15:46:12 +01:00
kpj
495647c113 Run pycodestyle with --max-line-length=88 to match black's defaults 2022-02-27 15:42:26 +01:00
kpj
e54367cfc5 Run black on all files in project root 2022-02-27 15:36:16 +01:00
kpj
e27749bc9d Remove --verbose parameter from black call 2022-02-27 15:33:10 +01:00
kpj
f3fc4a9fcf Fix wrong job name in CI dependency list 2022-02-27 15:30:49 +01:00
kpj
f0ffc69010 Add GitHub Actions workflow to check black formatting 2022-02-27 15:21:20 +01:00
Johann Bauer
680d1f2126 Fix Armv7 Docker build 2022-02-26 13:43:48 +01:00
Toxix
e2809a48c2 Feat adjust github pipeline for docker frontend artifacts
This should allow to use docker building the frontend artifacts and
reusing them in the bare metal release.
2022-02-25 14:23:40 -08:00
Johann Bauer
0c7cc0ce3a Enable GitHub CodeQL (#160) 2022-02-25 23:20:14 +01:00
Quinn Casey
228ce36a30 Merge pull request #144 from paperless-ngx/tags-ngx
Make CI build from tags starting with ngx-
2022-02-24 08:02:41 -08:00
Johann Bauer
df4ae9f0cd Fix build-docker-image CI step 2022-02-24 16:43:57 +01:00
Johann Bauer
ce2c62e060 Make CI build from tags starting with ngx- 2022-02-24 15:19:25 +01:00
Johann Bauer
6cd3bf0cea Drop support for Python 3.7 (#142) 2022-02-24 15:07:30 +01:00
Sven Lankes
d2179ea75d Merge branch 'dev' into removeansible 2022-02-21 21:45:03 +01:00
Sven Lankes
bc75b9f728 chore: remove ansible playbooks and documentation 2022-02-21 20:15:12 +01:00
Yannic Schroeder
9e2c1ed77b Update nodejs version in CI
Angular does not allow nodejs version 15.
2022-02-20 00:16:38 +01:00
Quinn Casey
9cd42a7de9 Revert "CI: Build and tag container on PRs" 2022-02-19 12:44:53 -08:00
Quinn Casey
ef52fbfd20 Merge pull request #79 from paperless-ngx/ci-build-container-on-prs
CI: Build and tag container on PRs
2022-02-18 06:25:11 -08:00
Filip Kraus
8f384f9ac9 Update name in docs (#80)
* Update name in docs

Will document on #52 what's left do do.

* Update usage_overview.rst
2022-02-18 09:42:55 +01:00
Quinn Casey
c623da75d9 Build and tag container on PRs 2022-02-17 12:24:46 -08:00
Quinn Casey
68918c7422 Fix image name 2022-02-16 08:24:12 -08:00
Quinn Casey
51d4bcc41f Use github container registry 2022-02-16 07:15:22 -08:00
jonaswinkler
ad6157e140 switch to python 3.9 2021-08-18 17:47:53 +02:00
Michael Lynch
4a42c3e403 Add checkout step to whitespace CI job 2021-06-13 10:57:40 -04:00
Michael Lynch
96738277d9 Normalize whitespace in source files
Ensure that no source files have trailing whitespace at end of lines and ensure that all files end with a single trailing newline.

This also adds Github Actions to enforce whitespace conventions.
2021-06-13 10:57:40 -04:00
Fabian Koller
884d85de56 Fix GitHub actions
Follow-up to #630.
The check for the target git sha can does not work in the molecule step.
Instead expose the sha through an env variable in GitHub actions.
2021-02-26 19:39:44 +01:00
jonaswinkler
beedfcd3b7 Merge branch 'dev' 2021-02-25 17:53:17 +01:00
Fabian Koller
752c4b2266 Do not require molecule teardown for success
CI failures should not be caused by intermittently failing docker
communication furing test teardown.
2021-02-25 06:22:59 +01:00
jonaswinkler
97ac2aeab9 rename some steps 2021-02-23 13:13:12 +01:00
jonaswinkler
f592b33602 move codestyle checks into separate job 2021-02-23 13:09:41 +01:00
Jonas Winkler
199c1c657b Update ci.yml 2021-02-22 13:25:21 +01:00
jonaswinkler
035c9c1df6 lets hope this works! 2021-02-22 12:03:07 +01:00
jonaswinkler
bcad9c2ce4 update dependencies 2021-02-21 00:24:33 +01:00
jonaswinkler
29fa004efc github actions: build release tags 2021-02-07 00:14:24 +01:00
jonaswinkler
f9f5a62106 disable CI for translation branches 2021-02-02 14:07:43 +01:00
jonaswinkler
918d81624d CI: ignore translation branches 2021-02-02 13:27:08 +01:00
Michael Shamoon
43ad4a2e18 Update to use new feature-requests category of discussions 2021-01-31 16:22:41 -08:00
Michael Shamoon
1117c1a5b6 Remove feature request template, update others to point to Discussions 2021-01-31 14:32:09 -08:00
jonaswinkler
43d60f4bbe Merge branch 'feature-websockets-status' into dev 2021-01-31 14:37:15 +01:00
jonaswinkler
a171e7318a Merge branch 'master' into dev 2021-01-31 14:03:44 +01:00
jonaswinkler
494ee181d1 moved gunicorn.conf.py to a more appropriate place and reference that in the configuration scripts. 2021-01-31 13:52:21 +01:00
Fabian Koller
54501ef7e5 Change CI ref from merge to head
At this time in the CI, merge is not accessible from tree
https://github.community/t/github-sha-but-how-to-get-the-latest-commit-reference-on-a-branch/17160
2021-01-31 12:00:41 +01:00
jonaswinkler
fce76d0671 Merge branch 'dev' into feature-websockets-status 2021-01-30 16:08:50 +01:00
Jonas Winkler
315b5a69a5 Merge pull request #411 from C0nsultant/ansible-fromsource
Ansible - build release archive from source
2021-01-30 16:05:51 +01:00
jonaswinkler
a7f3067842 add python 3.9 for tests 2021-01-27 20:27:06 +01:00
Jonas Winkler
8cf3ac409f Update issue templates 2021-01-27 11:32:30 +01:00