Steven Achilles
75a0595dfc
Revert "fix: Stop all process before sending SIGTERM to supervisor. ( #2422 )"
...
This reverts commit 3778a7abb1ac7c603288735547821f6610da07be.
2021-12-10 08:18:03 +01:00
junorz
3778a7abb1
fix: Stop all process before sending SIGTERM to supervisor. ( #2422 )
...
Issue detail: https://github.com/sameersbn/docker-gitlab/issues/2421
2021-12-09 22:36:17 +01:00
Sameer Naik
1fd39dc093
update ci pipeline to circleci 2.1
2020-05-05 20:51:28 +05:30
solidnerd
9d5f0dbb0b
Fix various shellcheck warnings and errors
...
Signed-off-by: solidnerd <niclas@mietz.io>
2018-11-24 09:47:58 +01:00
Waldemar Reusch
5173f88612
fix bootloop for rare race condition between kill and wait
...
`wait` will throw an error if a process it waits for is terminated by an external signal. Together with `set -e` this will stop the whole entrypoint script. I guess this issues only crops up very rarely, as the `kill` command already waits for the supervisor process to shut down, and the test using `ps h -p $SUPERVISOR_PID` returns false and thus `wait` is never called.
You can check the behavior using following simple script:
```bash
#!/bin/bash
#set -e
echo "Testing wait command"
sleep 20 &
pid=$!
kill $pid
wait $pid
echo $pid was terminated.
```
as long as `set -e` is commented out, `$pid was terminated` will print. If you enable `set -e`, the last line will not be printed, as the script fails in the `wait` command.
2018-11-18 17:17:16 +01:00
Adrien Ferrand
9b4f62f5e9
Correct entrypoint.sh causing bootloop in some cases ( #1628 )
...
* Correct bootloop in some cases.
Lines "kill -15 $SUPERVISOR_PID" then "wait $SUPERVISOR_PID" may fail if process is killed sufficiently fast. Command "ps -p" ensure process is still here before waiting to its state to change.
* Less output
2018-06-04 22:09:37 +02:00
solidnerd
f31c4d71e0
Start proccess before wait
...
Signed-off-by: solidnerd <niclas@mietz.io>
2018-06-03 22:42:07 +02:00
solidnerd
cd635cd57e
Add GitLab Pages
2017-03-18 11:51:49 +01:00
Sameer Naik
891a04a703
remove stale unix domain sockets
2016-02-26 19:46:10 +05:30
Sameer Naik
16e9ce275b
cleanup
2015-12-29 09:13:20 +05:30
Sameer Naik
1a08943d31
enable DEBUG only when set to true
2015-11-26 10:46:33 +05:30
Sameer Naik
d98b93ffc1
gitlab-workhorse: upgrade to v.0.4.2
...
Module formerly known as gitlab-git-http-server
2015-11-22 12:10:27 +05:30
Sameer Naik
1fff69bece
drop system_ prefix from functions
2015-11-17 22:20:09 +05:30
Sameer Naik
50e13e5fc4
Restructured repo and code for better readability and maintenance
2015-11-17 22:20:05 +05:30
Justin Charette
035ffd1f1e
reconfigure openssh server in noninteractive mode
...
dpkg-reconfigure fails to run without a tty, pty, or some such, so tell
it to just run.
fixes #495
Signed-off-by: Justin Charette <charetjc@gmail.com>
2015-11-16 20:45:52 -05:00
Sameer Naik
36fdc00269
entrypoint.sh: removed leftover if condition
2015-11-11 14:32:59 +05:30
Sameer Naik
d30bb949b3
Expose Facebook OAUTH configuration parameters
2015-11-07 11:20:37 +05:30
Sameer Naik
393173b00d
proper long-term fix for http/https cloning when GITLAB_RELATIVE_URL_ROOT is used
2015-10-29 19:40:30 +05:30
Sameer Naik
57e25a11b9
removed GITLAB_SATELLITES_TIMEOUT configuration parameter
2015-10-27 21:58:58 +05:30
Sameer Naik
6218d2ce72
Recompile assets when GITLAB_RELATIVE_URL_ROOT is used Fixes #481
2015-10-25 12:15:06 +05:30
Sameer Naik
f766917920
mail_room.yml configurations have been moved to gitlab.yml
2015-10-23 12:25:24 +05:30
Sameer Naik
a2bf6d8cbd
whenever gem is no longer used
2015-10-23 12:23:35 +05:30
Sameer Naik
e8b2e4d9a1
entrypoint.sh: cleanups
2015-10-17 10:54:53 +05:30
Sameer Naik
9b17672802
entrypoint.sh: test connection to redis-server
...
Closes #454
2015-10-17 10:54:29 +05:30
Sameer Naik
823a2e6289
speed up container startup by compiling assets at image build time
...
Closes #461
Closes #100
Refer #153
2015-10-16 11:53:22 +05:30
Sameer Naik
77e80c64ea
entrypoint.sh: correct permission setting on uploads/
2015-10-13 11:57:21 +05:30
Sameer Naik
ead5ce8435
entrypoint.sh: allow user to override OAUTH_ENABLED setting
...
Closes #463
2015-10-12 22:30:47 +05:30
Sameer Naik
47b0a4d80e
fix http/https cloning when GITLAB_RELATIVE_URL_ROOT is used
...
Closes #446 , Closes #460
2015-10-12 11:47:39 +05:30
Sameer Naik
101b27f5e0
app:sanitize: execute gitlab:env:info raketask
2015-10-10 11:14:08 +05:30
Sameer Naik
6fea0f83d3
app:sanitize: execute ${GITLAB_SHELL_INSTALL_DIR}/bin/create-hooks
...
Refer #447
2015-10-10 11:13:41 +05:30
Sameer Naik
2516706e63
entrypoint.sh: update permissions of uploads/
...
Refer #456
2015-10-10 11:04:39 +05:30
Sameer Naik
81cb2a7389
entrypoint.sh: set mail_room_enabled to value of GITLAB_INCOMING_EMAIL_ENABLED so that gitlab:check does not complain
2015-10-10 11:04:32 +05:30
Sameer Naik
07e804b30b
simplify oauth substitutions
2015-09-25 12:51:28 +05:30
Sameer Naik
b7c60ee206
expose oauth parameters for crowd server
2015-09-25 12:41:17 +05:30
Sameer Naik
ad458990b0
added IMAP_STARTTLS parameter, defaults to false
2015-09-25 11:39:28 +05:30
Tomi Pakarinen
aab9fdbf61
Take rows beginning with 'nameserver' only from resolv.conf
2015-09-24 19:26:17 +03:00
Sameer Naik
a3914be62a
added CI redirection using GITLAB_CI_HOST parameter
2015-09-24 13:33:28 +05:30
Sameer Naik
83eb229dbe
removed GITLAB_ROBOTS_OVERRIDE parameter. Override default robots.txt if GITLAB_ROBOTS_PATH exists.
...
Refer #364
2015-09-24 12:53:57 +05:30
Sameer Naik
9f0f8bae9c
set value of GITLAB_EMAIL to SMTP_USER if defined, else default to example@example.com
...
Refer #414
2015-09-24 12:41:01 +05:30
Sameer Naik
69bed2aac8
added options to email IMAP and reply by email feature
2015-09-24 12:36:09 +05:30
Sameer Naik
269435cb84
added GITLAB_NOTIFY_ON_BROKEN_BUILDS and GITLAB_NOTIFY_PUSHER parameters
2015-09-24 12:13:04 +05:30
Sameer Naik
28bcedf7eb
gitlab: upgrade to CE v.8.0.0
2015-09-24 12:11:00 +05:30
Sameer Naik
ca25a271a5
expose GITLAB_BACKUP_ARCHIVE_PERMISSIONS parameter
...
Closes #420
2015-09-17 10:36:41 +05:30
Sameer Naik
2d3435787c
entrypoint.sh: default value of DB_TYPE is postgres
...
Closes #418
2015-09-16 00:36:55 +05:30
Sameer Naik
497898e7ed
migration: execute the cache:clear rake task during migration
...
Closes #196
2015-09-03 10:21:14 +05:30
Scott Fan
36c9601b78
Added SMTP_CA_ENABLED, SMTP_CA_PATH and SMTP_CA_FILE configuration options.
...
Without ca_path or ca_file, custom CA certs are not taken into account during the
SMTP SSL/TLS handshake. Since the SMTP email configuration allows the use of CApath
and CAfile for OpenSSL, it should be allowed to set these parameters.
See also:
fa9c1464bc
Signed-off-by: Scott Fan <fancp2007@gmail.com>
2015-08-08 13:56:22 +08:00
Sameer Naik
70fab5b2a2
Merge branch 'master' of https://github.com/mmaschenk/docker-gitlab into mmaschenk-master
2015-08-05 14:39:18 +05:30
Sameer Naik
6f1adde566
ensure the ssh keys have the right permissions, refer #363
2015-08-04 23:10:57 +05:30
Mark Schenk
ebbde7fc77
Added environment variable interpretation for changing the label on the LDAP login option.
2015-08-04 16:50:19 +02:00
Sameer Naik
cc47586a59
entrypoint.sh: ensure ${GITLAB_DATA_DIR}/ssh is owned by root
2015-07-24 00:48:40 +05:30