mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-06 22:46:00 +01:00
Added installation and features tests
This commit is contained in:
15
dist/setup.sh
vendored
15
dist/setup.sh
vendored
@@ -486,6 +486,8 @@ install_docker() {
|
||||
fi
|
||||
|
||||
copy_file $sourceDataPath/installer/docker/docker-compose.yaml docker-compose.yaml
|
||||
copy_file $sourceDataPath/installer/testinstall.sh testinstall.sh 0
|
||||
copy_file $sourceDataPath/installer/testfeatures.sh testfeatures.sh 0
|
||||
copy_file $sourceDataPath/installer/start.sh start.sh 0
|
||||
copy_file $sourceDataPath/installer/stop.sh stop.sh 0
|
||||
|
||||
@@ -500,6 +502,18 @@ install_docker() {
|
||||
try chmod +x stop.sh
|
||||
next
|
||||
fi
|
||||
|
||||
if [[ ! -x testinstall.sh ]]; then
|
||||
step " [32mmake[0m testinstall.sh executable"
|
||||
try chmod +x testinstall.sh
|
||||
next
|
||||
fi
|
||||
|
||||
if [[ ! -x testfeatures.sh ]]; then
|
||||
step " [32mmake[0m testfeatures.sh executable"
|
||||
try chmod +x testfeatures.sh
|
||||
next
|
||||
fi
|
||||
}
|
||||
|
||||
check_directory_owner() {
|
||||
@@ -683,4 +697,3 @@ if [[ $AUTOSTART == 1 ]]; then
|
||||
else
|
||||
cowsay
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user