aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/integration/docker/test.sh
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-29 23:07:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-29 23:07:46 +0300
commit2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb (patch)
tree4c84385c7bd3eeeeadc3cbdc3ef1489080e87418 /test/integration/docker/test.sh
parentdocker: change default paths (diff)
downloadcgitize-2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb.tar.gz
cgitize-2c76f7ea9ac265ba9dcd2684074fc99dd7b2b0cb.zip
t/i/docker: reuse the root docker-compose.yml
Diffstat (limited to 'test/integration/docker/test.sh')
-rwxr-xr-xtest/integration/docker/test.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/integration/docker/test.sh b/test/integration/docker/test.sh
index 4f24cf6..e55841f 100755
--- a/test/integration/docker/test.sh
+++ b/test/integration/docker/test.sh
@@ -128,16 +128,16 @@ setup() {
docker_build
}
-run_server() {
+run_git_server() {
echo
echo ----------------------------------------------------------------------
- echo Running the server
+ echo Running the Git server
echo ----------------------------------------------------------------------
- docker-compose up -d server
+ docker-compose up -d git_server
}
-run_client() {
+run_cgitize() {
echo
echo ----------------------------------------------------------------------
echo Running the client
@@ -148,12 +148,12 @@ run_client() {
return 1
fi
dump "SSH_AUTH_SOCK: $SSH_AUTH_SOCK"
- docker-compose run --rm client
+ docker-compose run --rm backend
}
run() {
- run_server
- run_client
+ run_git_server
+ run_cgitize
}
verify() {