Commit graph

75 commits

Author SHA1 Message Date
Michael Mayer
157d38fe8f CI: Fix ARMv7 build scripts 2021-12-10 17:18:58 +01:00
Michael Mayer
704953e867 CI: Move Docker scripts to /scripts/docker 2021-12-10 17:01:45 +01:00
Michael Mayer
a42cf636aa CI: Update scripts for ARMv7 Docker image builds 2021-12-10 16:36:13 +01:00
Michael Mayer
911cbee06d CI: Update scripts for ARMv7 Docker image builds 2021-12-10 16:33:32 +01:00
Michael Mayer
9e47edbcc0 CI: Update log message in scripts/build.sh 2021-12-10 14:00:49 +01:00
Michael Mayer
b4cfdf619e CI: Add Dockerfile for 32-bit ARMv7 image with "-armv7" suffix
see https://twitter.com/photoprism_app/status/1469257798987005957
2021-12-10 12:27:35 +01:00
Michael Mayer
f8dfedb1bf CI: Add "--build-arg GODEBUG" to build scripts 2021-12-10 09:09:21 +01:00
Michael Mayer
3d1a96fd0a Scripts: Add qemu-user-binfmt and qemu-user-static to install-qemu.sh 2021-12-10 09:01:41 +01:00
Michael Mayer
eae3817381 Scripts: Add qemu packages in install-qemu.sh 2021-12-10 08:51:52 +01:00
Michael Mayer
4def62fb1e CI: Add Go proxy 2021-12-09 18:48:44 +01:00
Michael Mayer
c09d067f70 CI: Add --pull flag to "docker buildx build" command 2021-12-09 14:21:49 +01:00
Michael Mayer
588503a6aa CI: Add deploy-release.sh script 2021-12-03 16:49:43 +01:00
Michael Mayer
ca09dfc617 UX: Add 200px app icon 2021-11-29 19:57:14 +01:00
Michael Mayer
cb983e768d UX: Add 267px app icon 2021-11-29 19:50:18 +01:00
Michael Mayer
65e83a9eee UX: Add app icons and use select icon on slash screen 2021-11-29 14:39:21 +01:00
Michael Mayer
abcdee6728 CI: Add missing executable flag to scripts 2021-11-23 20:45:53 +01:00
Michael Mayer
19f26a79cd CI: Add scripts/test.sh 2021-11-23 20:42:01 +01:00
Michael Mayer
45d1360c18 Metadata: Improve location estimates and UTC handling #1668 2021-11-23 19:23:10 +01:00
Michael Mayer
eb8bc7b709 Backend: Improve resilience #1544 2021-09-23 23:46:17 +02:00
Michael Mayer
d10ccdf398 CI: Ignore "docker buildx rm multibuilder" errors 2021-09-06 14:35:11 +02:00
Michael Mayer
fd785faf68 People: Automatically resolve face cluster collisions #22 2021-09-01 12:48:17 +02:00
Michael Mayer
feb0c557c1 Docker: Update multi-arch development image and config #1158
Now comes with Go 1.17 pre-installed. To match production
docker-compose.yml examples, the development database was
renamed from "photoprism-db" to "mariadb".
2021-08-31 18:08:37 +02:00
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