Commit Graph
100 Commits
Author SHA1 Message Date
flow.gunso 16dd5a071a Remove _waiting for sync_ from the restart black list 2019-05-02 15:46:40 +02:00
flow.gunso 1e5fe32d2a Merge branch 'feature--cron-or-supervisord' into staging 2019-05-02 15:41:27 +02:00
flow.gunso d03bed11e2 Go with the cron alternative for the staging and stable releases 2019-05-02 15:39:58 +02:00
flow.gunso 926b8836ab Update path to the alternative versions 2019-05-02 15:39:17 +02:00
flow.gunso 7b09e0fe66 Move cron/supervisord/bash alternatives into their own directories 2019-05-02 15:39:02 +02:00
flow.gunso 8662725918 Merge feature--infinite-seafile-restart-into-healthchecks into staging 2019-04-25 16:42:23 +02:00
flow.gunso cbb2b84e77 Fix the healthcheck script path 2019-04-25 15:41:33 +02:00
flow.gunso 2c2f766290 Merge feature--cron-or-supervisord into staging 2019-04-25 15:38:51 +02:00
flow.gunso cf2b56d658 Remove ampersand to start in the background 2019-04-25 12:51:36 +02:00
flow.gunso cf39d73cc5 Use source instead of exec 2019-04-25 07:51:18 +02:00
flow.gunso 67f09f71b2 Switch the infinite restart to the Seafile entrypoint 2019-04-24 20:54:21 +02:00
flow.gunso ee0975a1aa Replace nohup with exec 2019-04-24 18:36:26 +02:00
flow.gunso 2f465ca270 Dont change ownership to crond.pid 2019-04-24 17:20:14 +02:00
flow.gunso ab2c6dc1a7 Add the infinite seafile restart process 2019-04-24 17:19:49 +02:00
flow.gunso 76c26f7356 Remove the infinite seafile restart process 2019-04-24 17:19:31 +02:00
flow.gunso b8eef1e161 Use cron where it should be used 2019-04-24 15:09:30 +02:00
flow.gunso ef1f52560c Run cron as root 2019-04-24 14:40:25 +02:00
flow.gunso 953b784e92 Replace Bash background process with nohup 2019-04-24 14:23:57 +02:00
flow.gunso 00cae794a0 Set ownership to the cron.pid file 2019-04-24 11:58:15 +02:00
flow.gunso 280b42dc37 Create a pid file for cron 2019-04-24 11:57:57 +02:00
flow.gunso 31acb88cde Fix path to bash 2019-04-24 11:56:16 +02:00
flow.gunso 030111b90c Build the Docker bash image 2019-04-24 11:27:32 +02:00
flow.gunso 3e1e7f7b71 Add a Docker image that just run a Bash sub process to keep it alive 2019-04-24 11:27:21 +02:00
flow.gunso 215db335a6 Use the proper Docker entrypoint 2019-04-24 11:26:22 +02:00
flow.gunso 33a93d7bc2 Improve with support for libraries status that prevent restarts 2019-04-24 11:07:41 +02:00
flow.gunso 1a44140556 Rename infinite-seaf-cli-start.sh into seafile-healthcheck.sh 2019-04-24 11:06:53 +02:00
flow.gunso 82f52e36df A a cron specific docker entrypoint 2019-04-23 20:29:42 +02:00
flow.gunso 19281a3883 Rename into a supervisord specific docker entrypoint 2019-04-23 20:29:31 +02:00
flow.gunso a98cc3fe4f Add a license header and some description 2019-04-19 13:47:11 +02:00
flow.gunso 8a79d04d8c Explicitly add a probable issue to follow up 2019-04-19 13:46:37 +02:00
flow.gunso 2fc76dbf8b Fix the inverted line/command break 2019-04-18 23:21:50 +02:00
flow.gunso 511d18c4ae Fix the path to cron/supervisord specific entrypoints 2019-04-18 23:16:19 +02:00
flow.gunso 16f5887522 Add the missing 's' to sources.list.d 2019-04-18 23:10:41 +02:00
flow.gunso 9cfbe0d129 Create the missing apt source.list.d directory 2019-04-18 18:14:07 +02:00
flow.gunso d56cb13d7f Build with the current path helps 2019-04-18 18:07:57 +02:00
flow.gunso 2b9c85c65d Fix docker build parameter when using named files 2019-04-18 18:05:40 +02:00
flow.gunso 5501553cb5 Reduce layers, revert back to not named entrypoints 2019-04-18 18:02:53 +02:00
flow.gunso 5382c5c6e1 Revert back to not named entrypoints 2019-04-18 18:02:23 +02:00
flow.gunso 6b57dd606b Add a Seafile entrypoint for cron 2019-04-18 17:57:04 +02:00
flow.gunso 9e76014bc3 Add a Dockerfile for cron 2019-04-18 17:56:54 +02:00
flow.gunso f4247ef875 Update paths to the Seafile entrypoint 2019-04-18 17:56:44 +02:00
flow.gunso fe5f07f20a Rename with supervisord 2019-04-18 17:56:05 +02:00
flow.gunso 7ca5f50727 Rename with supervisord 2019-04-18 17:55:53 +02:00
flow.gunso c8c575dfa1 Remove the debugging, use absolute paths 2019-04-18 17:55:22 +02:00
flow.gunso e7daeeaec1 Add the CI stage to build for cron and supervisord 2019-04-18 17:32:41 +02:00
flow.gunso 2b228c3484 Add a script to build image for cron and supervisord 2019-04-18 17:32:25 +02:00
flow.gunso 79a58b200d Update the usage from previous changes in v1.1.0 to v1.1.2 2019-04-18 17:12:13 +02:00
flow.gunso a7ad61a79b Merge branch 'staging' 2019-04-18 16:36:32 +02:00
flow.gunso fa5a36187b Push weekly stable to 1.1.2, move 1.1.1 into permanent stable, improve overall readability 2019-04-18 16:31:41 +02:00
flow.gunso f08a8e8686 Document changes in v1.1.2 2019-04-18 16:30:47 +02:00
flow.gunso ce93086822 Merge branch 'feature--slim-down-the-docker-image' into staging 2019-04-18 16:14:19 +02:00
flow.gunso 16776c07b0 Improve autoclean apt, clean apt 2019-04-18 16:14:10 +02:00
flow.gunso 4394d81929 Merge branch 'feature--slim-down-the-docker-image' into staging 2019-04-18 16:06:33 +02:00
flow.gunso fd4d1314b3 Clean aptitude, remove several large files 2019-04-18 16:06:23 +02:00
flow.gunso a5319569ef Merge branch 'feature--slim-down-the-docker-image' into staging 2019-04-18 15:19:33 +02:00
flow.gunso 7bd456dde5 Swith to the slim version of the base image 2019-04-18 15:18:30 +02:00
flow.gunso 760d5b511f Fix typo in source code badge label 2019-04-18 14:57:00 +02:00
flow.gunso 8320756645 Merge branch 'staging' 2019-04-18 14:49:33 +02:00
flow.gunso 4ab49d3e01 Merge branch fix--too-many-seaf-daemons that fix #3 2019-04-18 14:42:00 +02:00
flow.gunso 9507884e06 Push to v1.1.1, set 1.1.0 as obsolete 2019-04-18 14:40:24 +02:00
flow.gunso 31de89ece4 Document changes in v1.1.1 2019-04-18 14:38:53 +02:00
flow.gunso 3c3babc0ce Stop the seaf-cli before restarting it (fix #3), sleep for 20mn instead of an hour 2019-04-18 14:31:34 +02:00
flow.gunso c005bcb8d3 Merge branch 'staging' 2019-04-09 19:14:47 +02:00
flow.gunso e73a9f339b Update the documentation following v1.1.0 changes 2019-04-09 19:14:19 +02:00
flow.gunso b00a452ec6 Document changes in v1.1.0 2019-04-09 19:13:39 +02:00
flow.gunso ed14e0ca5f Set the script absolute path, remote stdout logging 2019-04-09 18:50:25 +02:00
flow.gunso d1bbf07dff Add a log the seaf-cli start loop 2019-04-09 18:41:48 +02:00
flow.gunso 2076319342 Fix the /volume path used for the seafile data 2019-04-09 18:39:57 +02:00
flow.gunso 4320e5b85b Unset -x 2019-04-09 18:21:27 +02:00
flow.gunso ac12bb3349 Set -x 2019-04-09 18:21:21 +02:00
flow.gunso 982044d1c8 Fix the path using ~ 2019-04-09 18:10:08 +02:00
flow.gunso 0fd2b8324d Test with EO instead of -c 2019-04-09 17:55:52 +02:00
flow.gunso 4209691533 Debug mode activated 2019-04-09 17:35:24 +02:00
flow.gunso 66e100ab81 Fix an env var name 2019-04-09 17:19:41 +02:00
flow.gunso b5831b6ae7 Separate commands with ; 2019-04-09 17:08:16 +02:00
flow.gunso e953effc58 Export required environment variables 2019-04-09 16:53:34 +02:00
flow.gunso e23d93338e Preserve environment when starting Seafile 2019-04-09 16:36:53 +02:00
flow.gunso 9f82f02ec5 Fix Seafile init path 2019-04-09 16:19:34 +02:00
flow.gunso 6f62ba4484 Update with new entrypoint names 2019-04-09 16:12:02 +02:00
flow.gunso 587821bfff Rename as the Docker's entrypoint and move into assets 2019-04-09 16:11:42 +02:00
flow.gunso 8086338737 Rename as the seafile's entrypoint 2019-04-09 16:11:23 +02:00
flow.gunso b54cbc7564 Fix files copy order 2019-04-09 15:57:12 +02:00
flow.gunso 0dde8d6e9a Add the new entrypoint 2019-04-09 15:01:10 +02:00
flow.gunso 4e7b550d8a Move the Seafile client related stuff to it's entrypoint and run it 2019-04-09 15:00:51 +02:00
flow.gunso 315c383826 Add an entrypoint for the actual seafile client user 2019-04-09 15:00:28 +02:00
flow.gunso e2fcfcee05 Drop the script now useless 2019-04-09 15:00:11 +02:00
flow.gunso 1f4b0653b9 Only redirect stdout, fix existing group detection 2019-04-09 14:38:20 +02:00
flow.gunso 9968775927 Invert group modification, redirect getent query to /dev/null 2019-04-09 14:23:24 +02:00
flow.gunso 8a66e3993d Fix the user/group ID changes, fix the su -c command calls 2019-04-09 14:13:51 +02:00
flow.gunso 303b387869 Remove overriding the user in favor of root 2019-04-09 13:51:47 +02:00
flow.gunso e78b76550f Move the USER parameter after the ENTRYPOINT 2019-04-09 13:40:21 +02:00
flow.gunso 5a7e2a6775 Actually exit when env vars are missing 2019-04-09 13:39:58 +02:00
flow.gunso 502d2d13a6 Remove the invalid H option with su 2019-04-09 12:48:55 +02:00
flow.gunso db08e076c6 Fix the group ID change 2019-04-09 12:40:56 +02:00
flow.gunso 6c6737c716 Run as container user, change files ownership 2019-04-09 12:28:47 +02:00
flow.gunso 9d986aa086 Drop the change-ownership script 2019-04-09 12:28:30 +02:00
flow.gunso 8a0225edeb Update user/groud ID, fix the script 2019-04-09 12:00:42 +02:00
flow.gunso 4bc58a0927 Creathe the user at build time 2019-04-09 11:59:56 +02:00
flow.gunso 10b4eda111 Don't change ownership at build time, allow all to execute the entrypoint 2019-04-09 11:48:24 +02:00
flow.gunso 891d34aad1 UID and GID are always set 2019-04-09 11:46:40 +02:00