mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 03:46:35 +00:00
update : refactor auto-upstall and installation methods
This commit is contained in:
23
docker-compose/1_Auto_Upstall/tests/expects/configure/scale.sh
Executable file
23
docker-compose/1_Auto_Upstall/tests/expects/configure/scale.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
# Configure timeout for each expect command
|
||||
set timeout 10
|
||||
|
||||
# Start your main script
|
||||
set env(PATH) "$env(WORKING_DIR)/mocks:$env(PATH)"
|
||||
|
||||
spawn bash ../../noco.sh
|
||||
|
||||
expect "Do you want to reinstall NocoDB*"
|
||||
send "N\r"
|
||||
|
||||
expect "Enter your choice: "
|
||||
send "6\r"
|
||||
|
||||
expect "How many instances of NocoDB do you want to run*"
|
||||
send "3\r"
|
||||
|
||||
expect "Enter your choice: "
|
||||
send "0\r"
|
||||
|
||||
expect EOF
|
||||
Reference in New Issue
Block a user