263 Commits

Author SHA1 Message Date
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
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
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
jonaswinkler
a7f3067842 add python 3.9 for tests 2021-01-27 20:27:06 +01:00
jonaswinkler
ce70d1541e enable docker image builds on feature branches 2021-01-26 15:55:47 +01:00
Fabian Koller
2fd8b4d56b Simplify molecule tests
"Upgrade" path includes multiple paths anyway:
- installing the latest official release package
- builing the current PR from source
- upgrading between the two versions
2021-01-23 22:55:46 +01:00
Fabian Koller
e3c49ac78d Determine installed version by git commit hash 2021-01-22 16:28:13 +01:00
Fabian Koller
db605d6a86 Adapt github action to build PR version 2021-01-22 11:10:56 +01:00
jonaswinkler
1920a3bc20 Merge branch 'master' into dev 2021-01-19 16:55:18 +01:00
Fabian Koller
e1d903a6df molecule scenario to test upgrading from releases
Provide a separate scenario to install the last release, then update to
the current one.
Also includes improved deployment verification (check if uploading a
.txt through the API works).
2021-01-18 22:51:40 +01:00
jonaswinkler
b0275411ed version bump 2021-01-17 00:52:54 +01:00
jonaswinkler
d71ebc6eb7 update the CI/CD scripts to not build and push docker images from master, update 'latest' version together with tagged releases. 2021-01-14 22:51:27 +01:00
jonaswinkler
35b7346d39 fix up CI/CD: build docker image on tags, correct docker image version, correct release tag 2021-01-14 17:24:36 +01:00
jonaswinkler
d3355d9e2f fix release CI 2021-01-14 14:08:48 +01:00
jonaswinkler
49ad8754ac release: updated body 2021-01-13 19:56:23 +01:00
jonaswinkler
51789dac97 always execute all tests even if tests for one python version fail 2021-01-12 20:25:58 +01:00
jonaswinkler
54abd0d883 reorganize test CI, only upload coveralls once 2021-01-12 20:23:50 +01:00
jonaswinkler
273e8eae2c fix CI for new coveralls version 2021-01-12 20:05:26 +01:00
jonaswinkler
cb239d023d Merge branch 'master' into dev 2021-01-12 14:14:06 +01:00
jonaswinkler
1b972b7cb8 remove travis branch condition 2021-01-12 13:06:21 +01:00