422 Commits

Author SHA1 Message Date
Trenton Holmes
d71562b331 Updates the Dockerfile to facilitate local image builds, adds documentation for how to build, adds registry caching for final image too 2022-04-30 10:33:09 -07:00
Trenton Holmes
2602c24862 Updates the workflow to enable Docker Hub pushing 2022-04-28 12:18:25 -07:00
dependabot[bot]
a34602f812 Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 01:10:48 +00:00
Trenton Holmes
1ff6c020dc Changes the intermediate image building steps to use registry caching, allowig us to always rebuild them, but do so very quickly when nothing has changed 2022-04-27 11:28:55 -07:00
Trenton Holmes
94e3120d2e Fixes the merge issues 2022-04-25 11:39:05 -07:00
Trenton Holmes
a36be2cfd6 Updates the utlity build script to actually support all the images 2022-04-25 11:32:55 -07:00
Trenton Holmes
d79e05b735 Instead of using a full image name, use the repo and version to build the image to pull from. Removes building of the frontend for multiple platforms 2022-04-25 11:32:53 -07:00
Trenton Holmes
d744be97f4 Incorporates the base image building back into the main repo with multi stage building 2022-04-25 11:32:52 -07:00
Michael Shamoon
421a604b92 Merge branch 'main' into dev 2022-04-25 10:33:40 -07:00
Trenton Holmes
6f4d5a95f6 Adds Python 3.10 to the backend test matrix 2022-04-21 10:28:13 -07:00
Trenton Holmes
121cb76d35 Adds workflow level concurrency group with cancelling of in progress jobs to the CI 2022-04-17 15:29:50 -07:00
Trenton Holmes
fa638ce12f Removes the matching regex from the docker/metadata-action as it will create a new :latest even for release candidates 2022-04-13 08:20:30 -07:00
Florian
a90d3bda14 Merge pull request #532 from paperless-ngx/feature-barcode-splitter
Feature barcode splitter
2022-04-11 08:51:48 +02:00
Quinn Casey
d884810c0b Chore: Implement release-drafter action for Changelogs (#669)
* Add inital release-drafter config

* Replace release action

* Add collapse-after 3 to dependencies
2022-04-08 11:12:19 -07:00
florian on nixos (Florian Brandes)
47cdb3b55b update ci.yml to include new dependency
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
2022-04-07 11:14:29 +02:00
Trenton Holmes
28fea5fbed Fixes the Docker image tags 2022-04-02 08:48:58 -07:00
Trenton Holmes
67dd2b7ea7 Fixes the name and path of the built image so it doesn't duplicate 2022-04-01 16:17:22 -07:00
Trenton Holmes
b562d42434 Removes the filtering of on:pull_request event types 2022-03-30 10:10:36 -07:00
Trenton Holmes
8878b933f8 Updates the Dockerfile to utilize our new base image 1.0 which provides the pre-compiled wheels for certain dependencies and most base packages 2022-03-30 09:09:50 -07:00
Trenton Holmes
44a9c56e30 Updates black version to fix issues 2022-03-28 12:23:25 -07:00
Michael Shamoon
c4b7dc8eb0 realign frontend ci pipeline 2022-03-25 00:49:55 -07:00
Michael Shamoon
1c03c42ea1 Merge branch 'main' into testing 2022-03-23 07:22:52 -07:00
Frank Strieter
5ba5b8c2ee fix code style issues
solve merge conflicts

format code

format code

format code
2022-03-23 09:39:55 +01:00
Frank Strieter
2b7d5d85df test: run tests in ci 2022-03-23 09:24:07 +01:00
shamoon
812f2f17c4 Project actions on dev too
[ci skip]
2022-03-23 09:22:40 +01:00
shamoon
7bceb6817b Fix project automations failing on PRs from forks 2022-03-22 01:22:19 -07:00
shamoon
92d55abc5b Fix project automations failing from forks 2022-03-22 00:55:23 -07:00
shamoon
b5de887389 Project actions on dev too
[ci skip]
2022-03-21 08:55:21 -07:00
Michael Shamoon
dbdd83be2a Merge branch 'main' into dev 2022-03-21 08:36:44 -07:00
shamoon
c7d0c60055 Add Automatic Project Actions
[ci skip]
2022-03-20 20:53:30 -07:00
Trenton Holmes
50155d55d0 Uses a change file action to filter only changed src/ files 2022-03-20 21:50:54 +01:00
Trenton Holmes
01731f7255 Disables coveralls step for dependabot branches/pulls 2022-03-20 21:50:54 +01:00
Trenton Holmes
e450676fcc Adds additional CI checks for the backend and frontend, to complement pre-commit hooks which should already be run 2022-03-13 19:37:34 -07:00
Trenton Holmes
12859cff70 Changes the pipenv install to be a sync 2022-03-13 08:20:40 -07:00
Trenton Holmes
17fd35118e Changes codestyle and documentation steps to use cache as well 2022-03-13 08:07:28 -07:00
Trenton Holmes
3bfbc631c0 Fixes coveralls not running 2022-03-13 08:07:28 -07:00
Trenton Holmes
afafe8395f Removes duplicated install of pipenv, changes to use pipx as per the official example 2022-03-13 08:07:28 -07:00
Trenton Holmes
81fe7f5bc0 Updates GHA to use the setup-python pipenv caching 2022-03-13 08:07:28 -07:00
Quinn Casey
86c3206234 Fix failed docker run on multi-tags 2022-03-10 14:58:28 -08:00
Quinn Casey
8ad5557835 [skip ci] Add variable body to fix incorrect changelog 2022-03-05 14:49:52 -08:00
Quinn Casey
b0efac1295 Fix close paren 2022-03-04 12:29:34 -08:00
Quinn Casey
f9f4705bb4 Ensure build isn't skipped on beta tag 2022-03-04 12:28:03 -08:00
Quinn Casey
52168e106a Tag on beta to prerelease 2022-03-04 09:15:59 -08:00
Quinn Casey
cdcb09532e Move build-docker-image before release pipeline 2022-03-04 08:36:13 -08:00
Quinn Casey
7c5939790c Add beta to docker build 2022-03-04 08:31:17 -08:00
Quinn Casey
253b385b07 Fix "incorrect type" YAML error 2022-03-02 12:18:29 -08:00
Marc Schaefer
fdcb4ea4d1 Switch ci.yml from ng to ngx 2022-03-02 21:00:43 +01:00
Quinn Casey
2ad8cf8e1f Update paperless-ng to paperless-ngx 2022-03-02 11:18:17 -08:00
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