Skip to content

Commit 891c512

Browse files
authored
increase timeout, volume permissions (#870)
1 parent 03ed5b8 commit 891c512

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

test/smoke-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ deploy_sourcegraph() {
2020
expect_containers="26"
2121
fi
2222

23-
echo "Giving containers 30s to start..."
24-
sleep 30
23+
echo "Giving containers 90s to start..."
24+
sleep 90
2525
}
2626

2727
test_count() {

test/volume-config.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
# Create volume directories.
44
cd /deploy-sourcegraph-docker
5+
echo
6+
echo "creating deployment for volume directories"
7+
echo
8+
./pure-docker/deploy.sh
9+
echo
10+
echo "tearing down deployment for volume directories"
11+
echo
12+
./pure-docker/teardown.sh
513
# Set permissions on volume directories.
614
#
715
# IMPORTANT: If these change, or a new service is introduced, it must be explicitly called out in
@@ -13,6 +21,7 @@ pushd ~/sourcegraph-docker
1321
chown -R 100:101 gitserver* prometheus-v2* worker* repo-updater* searcher* sourcegraph-frontend* symbols* zoekt* minio-disk
1422
chown -R 999:1000 redis-store-disk redis-cache-disk
1523
chown -R 472:472 grafana-disk
16-
chown -R 999:999 pgsql-disk codeintel-db-disk codeinsights-db-disk
24+
chown -R 999:999 pgsql-disk codeintel-db-disk
25+
chown -R 70:70 codeinsights-db-disk
1726
popd
1827
echo "Ready to deploy"

0 commit comments

Comments
 (0)