Commit Graph

53 Commits

Author SHA1 Message Date
Michael Mayer
a6d60d2a9f CI: Add qemu packages in scripts/install-qemu.sh #1158 2021-08-13 23:14:36 +02:00
Michael Mayer
2761dc2696 CI: Install qemu packages in scripts/install-qemu.sh #1158 2021-08-13 23:07:17 +02:00
Michael Mayer
70a9466555 CI: Wait 10s after installing qemu-user-static 2021-08-13 22:15:03 +02:00
Michael Mayer
96ec9368a1 CI: Ignore unbound variables in scripts/docker-*.sh 2021-08-05 18:17:59 +02:00
Michael Mayer
9fde38ee5e Docker: Add and update example config files 2021-08-05 18:06:43 +02:00
Thomas Eizinger
8eac89404e
CI: Fail entire build script if any command fails (#1443)
At the moment, the build script exits with 0 even if any of the commands fail.
Setting `-e` fixes this.
2021-07-22 11:56:50 +02:00
Michael Mayer
ccbf8d732e People: Download and install Facenet from dl.photoprism.org #22 #1406
Move TF model to download server to reduce git repo size,
especially in case the model needs updates.
2021-07-16 12:16:56 +02:00
Michael Mayer
32712910bd Docker: Refactor multi-arch build #1158 #1328 2021-06-02 11:04:31 +02:00
Timo Volkmann
5a502fd580
Docker: Build multi-arch images #1158 #1328
* added docker build for arm64 development image
* multi-arch development image
* enabled multi arch build for production build
* moved go installation into shell script
* skip chromedriver installation for arm32 builds
2021-06-02 07:45:40 +02:00
Michael Mayer
de5a71f1a2 Docker: Build images with BuildKit 2021-04-20 06:55:52 +02:00
Michael Mayer
9d887ca5d2 CI: Update Drone config and Makefile for new release branch
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-26 17:02:15 +01:00
Michael Mayer
73a00efae8 Workaround for bad image rotation in Exif headers #637 2020-12-12 13:05:58 +01:00
Michael Mayer
3464bf35ed Config: Add backup path parameter 2020-12-04 11:02:19 +01:00
Hermógenes Oliveira
680773ef2c
Fix example configuration for Apache 2.4 (#573)
* Fix example configuration for Apache 2.4

The tutorial on serverlab.ca contains some errors. The official docs are accurate and more helpful. Added reminder for the benefit of people mindlessly copying and pasting.

* Portability fix for scripts/build.sh

As per the manual, the `-p` flag to `uname` is not portable and results in `unknown` in many cases, for instance, when compiling on a Raspberry Pi 4.
2020-12-02 01:35:24 +01:00
Michael Mayer
123fa0e43e CI: Add build targets and improve docker-build.sh
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-13 22:46:20 +02:00
Michael Mayer
7b5181788b CI: Use original codecov.io uploader
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 17:22:26 +02:00
Michael Mayer
4856a0d756 CI: Replace codecov bash script with downloaded version for testing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 08:26:35 +02:00
Michael Mayer
d518697a18 CI: Add -t parameter to codecov bash script
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-19 08:16:09 +02:00
Michael Mayer
f5b67c34d4 CI: Move from Travis CI to self-hosted Drone CI
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-13 17:32:28 +02:00
Michael Mayer
2b2cd8ed23 Backend: Sanitize metadata titles and descriptions
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-27 14:15:25 +02:00
Michael Mayer
f8ec76d6c9 Backend: Simplify and fix path names for development
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-02 15:51:14 +02:00
Michael Mayer
97cab01e6d Tests: Don't reset main database
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 14:56:26 +02:00
Michael Mayer
d0199598d0 Simplify configuration #66
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
a77b2431d3 Backend: Improve labels, keywords and caching
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-28 21:20:42 +02:00
Michael Mayer
252e67ce03 Add photo_count column to labels table
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-09 11:00:22 +02:00
Michael Mayer
3aad02501f Run unit tests in separate databases to avoid conflicts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 19:34:29 +02:00
Michael Mayer
4f05fde794 Update build environments 2020-04-28 11:51:42 +02:00
Michael Mayer
78eae2f14e Backend: Add NSFW detector
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 15:41:37 +01:00
Michael Mayer
5e37cd54fc Update Docker images: new directory structure 2019-06-29 23:27:42 +02:00
Michael Mayer
f2b6cf169d Rename libtensorflow-linux-x86_64-avx to libtensorflow-linux-avx #83 2019-06-26 00:27:05 +02:00
Michael Mayer
1b0b41b824 Add static build target #83 2019-06-23 03:21:12 +02:00
Michael Mayer
7eccd2a440 Disable docker cache for builds 2019-06-07 20:35:38 +02:00
Michael Mayer
aab504ffd6 Initial support for HEIF image files incl improved tests & example files 2019-06-06 14:44:35 +02:00
Michael Mayer
323248ef51 Fix for download-nasnet.sh script 2019-06-05 18:48:53 +02:00
Michael Mayer
a6131eeddd Move all config files to assets/config and resources to assets/resources 2019-06-05 18:25:20 +02:00
Michael Mayer
a38fe29953 Colorize go test output using kyoh86/richgo 2019-06-03 16:31:15 +02:00
Michael Mayer
8124a8cde1 Use label rules to optimize image classification 2019-05-16 08:41:16 +02:00
Michael Mayer
c5e2783b8d Upgrade Go to 1.12.5, improve Makefile and add chromium-browser 2019-05-09 06:18:22 +02:00
Michael Mayer
940e2a69f9 Upgrade Webpack and JS dependencies 2019-05-07 15:41:33 +02:00
Michael Mayer
471d77ee47 Fix download-nasnet.sh script 2019-05-04 01:17:39 +02:00
Michael Mayer
3389b5115e Use hash to keep TensorFlow model up to date 2019-05-04 00:53:02 +02:00
Michael Mayer
818019a7ec Use nasnet mobile instead of inception v1 for image classification 2019-04-30 13:17:01 +02:00
Michael Mayer
f7404f838b Fix slow tests and improve test output (colorized) #58 2018-11-17 06:56:43 +01:00
Michael Mayer
f3129097cf Fix Inception model name in download script #70 2018-11-17 02:49:25 +01:00
Michael Mayer
aa831d3a2f Add scripts/travis.sh and remove IFs from .travis.yml #62 2018-11-12 07:48:49 +01:00
Michael Mayer
ef4f9c3f7b Prefix for build script variables #62 2018-11-12 07:42:15 +01:00
Michael Mayer
c5ee0fee48 Add darktable development docker image #62
- Improved build scripts and Dockerfile
- broadwayd can be used as display server for darktable or other GTK based software
2018-11-12 06:58:39 +01:00
Michael Mayer
9001075512 Remove debug information and dot files from production build #58 2018-11-09 11:41:07 +01:00
Michael Mayer
133c7964ad Add tensorflow model and test file to development image #39 2018-11-08 16:41:14 +01:00
Michael Mayer
ac31141669 Smaller docker images with multi-stage build #39 2018-11-08 10:56:11 +01:00