File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ services:
16
16
- config-ce:/etc/gitlab
17
17
- logs-ce:/var/log/gitlab
18
18
- data-ce:/var/opt/gitlab
19
- - . /scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh
19
+ - ${PWD} /scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh
20
20
healthcheck :
21
21
test : /healthcheck-and-setup.sh
22
22
interval : 10s
@@ -36,8 +36,8 @@ services:
36
36
- config-ee:/etc/gitlab
37
37
- logs-ee:/var/log/gitlab
38
38
- data-ee:/var/opt/gitlab
39
- - . /scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh
40
- - . /Gitlab-license.txt:/Gitlab-license.txt
39
+ - ${PWD} /scripts/healthcheck-and-setup.sh:/healthcheck-and-setup.sh
40
+ - ${PWD} /Gitlab-license.txt:/Gitlab-license.txt
41
41
healthcheck :
42
42
test : /healthcheck-and-setup.sh
43
43
interval : 10s
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
3
- echo ' Waiting for GitLab container to become healthy'
3
+ printf ' Waiting for GitLab container to become healthy'
4
4
5
5
until test -n " $( docker ps --quiet --filter label=terraform-provider-gitlab/owned --filter health=healthy) " ; do
6
6
printf ' .'
7
7
sleep 5
8
8
done
9
9
10
+ echo
10
11
echo ' GitLab is healthy'
12
+
13
+ # Print the version, since it is useful debugging information.
14
+ curl --silent --show-error --header ' PRIVATE-TOKEN: ACCTEST' http://127.0.0.1:8080/api/v4/version
15
+ echo
You can’t perform that action at this time.
0 commit comments