mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-27 07:06:01 +00:00
chore: added skip for ssl
This commit is contained in:
@@ -13,8 +13,5 @@ cd "$WORKING_DIR" || exit
|
||||
rm -rf "$NOCO_HOME"
|
||||
|
||||
if [ "$1" = "setup" ]; then
|
||||
../noco.sh <<< $'\n\nN\n'
|
||||
|
||||
cd "$NOCO_HOME" || exit
|
||||
docker compose down
|
||||
../noco.sh <<< $'\n\nN\n'
|
||||
fi
|
||||
|
||||
@@ -7,7 +7,7 @@ export NOCO_HOME
|
||||
|
||||
setup() {
|
||||
cd "${WORKING_DIR}/configure" || exit 1
|
||||
./setup.sh
|
||||
./setup.sh setup
|
||||
}
|
||||
|
||||
teardown() {
|
||||
@@ -21,7 +21,6 @@ teardown() {
|
||||
cd "${NOCO_HOME}" || exit 1
|
||||
|
||||
# Verify container is not running
|
||||
docker compose ps | grep -q 'redis' && exit 1
|
||||
docker compose ps | grep -q 'watchtower' && exit 1
|
||||
docker compose ps | grep -q 'nocodb' && exit 1
|
||||
count=$(docker compose ps -q | wc -l)
|
||||
[ "$count" -eq 0 ]
|
||||
}
|
||||
|
||||
@@ -15,6 +15,11 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "Should create SSL certificates" {
|
||||
if [ -z "$TEST_SSL" ]
|
||||
then
|
||||
skip "Skipping SSL tests"
|
||||
fi
|
||||
|
||||
../expects/install/ssl.sh "$RANDOM_NUMBER"
|
||||
|
||||
curl -ksS --head "https://${RANDOM_NUMBER}.ssl.nocodb.dev" > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user