Commit graph

280 commits

Author SHA1 Message Date
theresa
6c2ce6061c Refactor acceptance tests 2022-07-14 10:19:04 +02:00
Michael Mayer
20a82efda4 Auth: Shorten passwd mode option (password still works) #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-11 05:08:15 +02:00
theresa
63394bf79e Update acceptance test commands 2022-07-08 14:12:46 +02:00
Michael Mayer
591a656270 Auth: Add PHOTOPRISM_AUTH_MODE config option #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-07 19:12:28 +02:00
Michael Mayer
5ec90a5fff Index: Skip redundant thumbs and support symbolic file links #1049 #1874
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-06 23:01:54 +02:00
Michael Mayer
0402b8d397 Demo: Remove docker-demo-debian target from Makefile 2022-06-17 01:31:03 +02:00
Michael Mayer
d769a1e38b Demo: Update Makefile targets 2022-06-16 11:30:00 +02:00
Michael Mayer
13b801d702 Demo: Add docker-demo-latest to Makefile 2022-06-16 11:23:51 +02:00
Michael Mayer
e612dcca10 Demo: Fix Makefile targets 2022-06-16 10:43:59 +02:00
Michael Mayer
db9cbe72c6 Docker/CI: Add Ubuntu-based demo and update targets in Makefile 2022-06-16 10:21:35 +02:00
Michael Mayer
3ea21f4d24 Docker/CI: Add :ubuntu and :preview-ubuntu image tags 2022-06-16 09:55:43 +02:00
theresa
48de8bd0e0 Undo changes 2022-05-31 20:48:02 +02:00
theresa
226ff20b9b Tests: Adapt album tests to run on mobile 2022-05-31 20:36:44 +02:00
Michael Mayer
41e7cc0513 Docker: Update Makefile targets #2334 2022-05-20 11:18:19 +02:00
Michael Mayer
6a0da1a046 Develop: Update Makefile 2022-05-16 20:51:02 +02:00
Michael Mayer
3b55977f88 Develop: Update Makefile and Dockerfile 2022-05-16 20:46:34 +02:00
Michael Mayer
52d1bfef64 Makefile: Abort installation if directory already exists 2022-04-22 18:46:16 +02:00
theresa
b5bdd08a31 Tests: Add url parameter to acceptance test commands 2022-04-19 17:25:36 +02:00
Michael Mayer
f093b498fa CI: Fix prod build scripts and add docker-compose.local.yml #2262 2022-04-18 15:49:30 +02:00
Michael Mayer
c2baf2ae5a Docker: Create default users and groups #2262 #2228
Creates accounts to run PhotoPrism under a custom user ID. Also adds
them to the video and render groups, which might help to access hardware
transcoding devices.
2022-04-18 14:14:32 +02:00
theresa
98b2b8bc34 Tests: Add command for smoke tests 2022-04-15 15:45:39 +02:00
Michael Mayer
038a78c828 Docker: Change default Ubuntu base image from Impish to Jammy 22.04 LTS 2022-04-05 17:33:15 +02:00
Michael Mayer
7ed186da65 CI: Fix Makefile for Ubuntu 22.04 "Jammy" build 2022-04-05 15:59:44 +02:00
Michael Mayer
30fe713594 CI: Add Dockerfiles and update Makefile for Ubuntu 22.04 "Jammy" build 2022-04-05 15:31:29 +02:00
Michael Mayer
e87c7fab51 CI: Add "test-mariadb" target to Makefile 2022-04-04 14:41:14 +02:00
Michael Mayer
a61470dfc7 Migrations: Implement "photoprism migrations ls" command #2216
Lists the status of migrations. Changed "migrate" to "migrations run".
2022-04-01 16:02:58 +02:00
Michael Mayer
a219aa9932 CI: Update Makefile 2022-03-30 13:41:07 +02:00
Michael Mayer
39b0530313 Metadata: Skip brute-force search if no Exif headers were found #2196 2022-03-28 15:57:29 +02:00
Michael Mayer
c87312abef Docker: Add docker-local(-develop)-all Makefile targets #2190 #2193 2022-03-28 11:46:52 +02:00
Michael Mayer
a18a94f640 Docker: Update buster/impish images, add Makefile targets #2190 #2193 2022-03-28 11:36:47 +02:00
Michael Mayer
ff170ae7ed
Merge pull request #2193 from rickysarraf/fix-docker-local-target
Fix docker-local make target
2022-03-28 11:15:11 +02:00
Ritesh Raj Sarraf
9685b24648 Fix docker-local make target
With the adaptation to Debian Bullseye/Bookworm based images, the
docker-local make target got broken with below error.

```
rrs@lenovo:~/photoprism-repo (rickysarraf-develop)$ make docker-local
scripts/docker/build.sh photoprism
Usage: build.sh [name] [tag] [/subimage]
make: *** [Makefile:338: docker-local] Error 1
```

This PR fixes it by introducing the 2 new local targets for Bullseye and
Bookworm. And it also aliases the docker-local target to the latest,
which right now is Bookworm

Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
2022-03-28 14:41:32 +05:30
Michael Mayer
ebf3520d28 CI: Use "npm ci" instead of "npm install" in Makefile 2022-03-28 10:45:15 +02:00
Michael Mayer
788dd3fb6d CI: Update *-armv7 and *-arm64 builds in Makefile #2178 2022-03-23 13:51:34 +01:00
Michael Mayer
7f943d2f3f Docker: Upgrade ARMv7 base image to Debian 12 "Bookworm" #2178 2022-03-23 13:39:45 +01:00
Michael Mayer
ea3a6e6e0a Docker: Add experimental Debian 12 "Bookworm" base images #2125 2022-03-23 07:51:33 +01:00
Michael Mayer
0ee686ffb1 Docker: Make sure /sbin/gosu exists and has the right permissions #2120
see https://github.com/photoprism/photoprism/discussions/2120
2022-03-17 17:02:38 +01:00
Michael Mayer
8d645c77ff CI: Update Makefile 2022-03-16 19:10:20 +01:00
Michael Mayer
5dce02ebbd Docker: Use absolute command names to avoid path problems #2146 #2149 2022-03-16 19:09:53 +01:00
Michael Mayer
7beb21f899 Backend: Update Makefile and Go dependencies in go.mod/sum 2022-03-16 17:47:21 +01:00
Michael Mayer
8787c9dffb Develop: Upgrade bullseye base image from Go v1.17.8 to v1.18.0 2022-03-16 17:35:54 +01:00
Michael Mayer
f5aee956af CI: Exclude Docker image scripts from build package #2076 2022-03-11 10:30:18 +01:00
Michael Mayer
d9d0af4bb8 Develop: Upgrade base image from 220302 to 220311-bullseye #2076
Dockerfiles were also updated for improved readability.
2022-03-11 09:40:04 +01:00
Michael Mayer
3fe573845c Docker: Use common entrypoint.sh script for develop and prod env #2076 2022-03-01 13:55:05 +01:00
Michael Mayer
d4a10c10b6 CI: Update Docker base image pulls in Makefile #1337 2022-02-25 21:46:42 +01:00
Michael Mayer
531e0899ff CI: Update Makefile #1337 2022-02-25 16:55:47 +01:00
Michael Mayer
d3564f7682 Docker: Add experimental develop:bullseye-slim image for testing 2022-02-21 20:20:57 +01:00
Michael Mayer
2f26584891 CI: Add "fix-permissions" target to Makefile 2022-02-21 11:21:58 +01:00
Michael Mayer
a9193c47a9 Docker: Remove GOPROXY and GODEBUG args from all images 2022-02-20 16:55:25 +01:00
Michael Mayer
adeaab919a Docker: Use debian:bullseye-slim as ARMv7 develop base image 2022-02-20 16:15:54 +01:00
Michael Mayer
95bd037928 CI: Change docker-* order in Makefile 2022-02-20 13:21:11 +01:00
Michael Mayer
17ec461a15 CI: Add docker-*-arm targets to Makefile 2022-02-20 12:31:22 +01:00
Michael Mayer
947f7a5785 CI: Remove tab char from test-js in Makefile 2022-02-19 19:04:45 +01:00
Michael Mayer
68cbefdf29 Docker: Update ARMv7 base image 2022-02-19 18:46:09 +01:00
Michael Mayer
925bb367ea CI: Create tar.gz archives from build directories 2022-02-19 17:13:55 +01:00
Michael Mayer
73e6d1d061 CI: Change Docker image build order in Makefile 2022-02-19 15:53:21 +01:00
Michael Mayer
4247066c1b Docker: Reduce image layers and improve build scripts 2022-02-19 15:32:52 +01:00
Michael Mayer
50f5c9f2ef CI: Refactor build script 2022-02-16 16:52:35 +01:00
Michael Mayer
bf225185be CI: Update Makefile 2022-02-16 16:37:53 +01:00
Michael Mayer
39fb3b7ab0 Docker: Pull prod base images before building preview and release 2022-02-16 16:24:45 +01:00
Michael Mayer
2a34bf4a83 Develop: Update Makefile 2022-02-16 15:43:31 +01:00
Michael Mayer
36ae97ac5c Docker: Add firefox-esr to bullseye base images and update build scripts 2022-02-16 15:41:58 +01:00
Michael Mayer
f1acf801b0 Docker: Update production tags for armv7, bullseye, and buster 2022-02-16 14:48:05 +01:00
Michael Mayer
823f864896 Docker: Reorganize image folders and update build scripts 2022-02-16 14:29:42 +01:00
Michael Mayer
91dfe95e23 Docker: Improve develop and production image builds 2022-02-16 09:51:43 +01:00
Michael Mayer
f8e94ab4a5 Docker: Add "preview" and "release" targets for Debian Buster & Bullseye 2022-02-15 20:03:13 +01:00
Michael Mayer
211317ccff Develop: Add Debian Docker base images (experimental) 2022-02-15 18:23:59 +01:00
Michael Mayer
e88b4c1809 Docker: Update ARMv7 docs and include dedicated make targets for ARM64 2022-02-13 16:25:59 +01:00
Michael Mayer
ef5c7a30ad Docker: Upgrade NPM before starting production build 2022-02-09 19:31:57 +01:00
Michael Mayer
7c5348c52e Docker: Add DynDNS client for DigitalOcean 2022-01-08 17:53:51 +01:00
Michael Mayer
006b5bb704 Code Quality: Add "gofmt -w -s pkg internal cmd" to "make fmt-go"
gofmt formats Go source code, where -s stands for "simplify"
2022-01-08 12:12:00 +01:00
Michael Mayer
4309e28efd OIDC: Add Traefik, Keycloak and Rename Development Base Image #782 2022-01-06 11:31:37 +01:00
Michael Mayer
97187578a2 Docker: Update Makefile for ARMv7 build #1815 2021-12-14 21:02:27 +01:00
Michael Mayer
5d0a57c462 Docker: Add photoprism/development:armv7 Dockerfile for test & dev #1815 2021-12-14 20:56:24 +01:00
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
911cbee06d CI: Update scripts for ARMv7 Docker image builds 2021-12-10 16:33:32 +01:00
Michael Mayer
165d71bcef CI: Update Makefile for ARMv7 Docker image builds 2021-12-10 16:25:07 +01:00
Michael Mayer
724aef3f11 CI: Update Makefile 2021-12-10 15:37:35 +01:00
Michael Mayer
77621a7221 CI: Revert unnecessary "messages.pot" file change when running generate 2021-12-10 13:54:42 +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
e2e5fd11d4 CI: Add "export GODEBUG=http2client=0" to Makefile 2021-12-10 09:06:37 +01:00
Michael Mayer
4ee54a369f CI: Enable multi-arch build for photoprism/goproxy 2021-12-10 09:02:53 +01:00
Michael Mayer
4def62fb1e CI: Add Go proxy 2021-12-09 18:48:44 +01:00
Michael Mayer
714e65d2da CI: Remove "dep-go" from "dep" target in Makefile 2021-12-09 15:19:49 +01:00
Michael Mayer
588503a6aa CI: Add deploy-release.sh script 2021-12-03 16:49:43 +01:00
Michael Mayer
0575ab2276 Places: Add state name normalizations for Germany #1664 2021-11-11 17:10:52 +01:00
Michael Mayer
6e2426288c Docker: Add config for dummy-webdav & oidc services 2021-11-09 17:40:53 +01:00
Michael Mayer
88972a4094 Makefile: Rename reset-test-databases to reset-testdb 2021-11-09 17:32:51 +01:00
Michael Mayer
3417539218 Docker: Upgrade Ubuntu base image from 21.04 to 21.10 #1632 2021-10-21 16:53:04 +02:00
Michael Mayer
66e40c7429 CI: Update .drone.yml 2021-09-22 10:34:34 +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
c7e28d688f Makefile: Reformat imports when running "make fmt-go" 2021-08-14 18:18:25 +02:00
theresa
560758c8ba Tests: Add make commands for public=false test suite 2021-08-13 21:25:15 +02:00
Michael Mayer
ddc19594ad Makefile: Add build target for DigitalOcean cloud image 2021-08-06 08:57:50 +02:00
Michael Mayer
f2685698b8 Makefile: Add "dev" target to install latest Go / NPM in dev environment 2021-08-05 11:09:26 +02:00
Michael Mayer
25dbebd5b7 People: Add facenet.zip to development base image #22 #1406 2021-07-16 15:17:27 +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
2b98f72f2f CI: Update .drone.yml #1158 #1432
Move scripts/install-qemu.sh from Makefile to .drone.yml
2021-07-15 16:26:21 +02:00
Michael Mayer
1744b17cfe CI: Add "linux/arm" as target for preview Docker images
Depending on the build time, we can keep this.
2021-07-08 18:39:13 +02:00