Let the box code initialize the infrastructure
This is done because: 1. The box code can install certs for addons (like mail addon) when required. 2. The box code initialize/teardown addons on demand. This is not planned currently.
This commit is contained in:
@@ -5,7 +5,7 @@ set -eu
|
||||
readonly SOURCE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
readonly TEST_IMAGE="cloudron/test:10.0.0"
|
||||
|
||||
source ${SOURCE_DIR}/setup/INFRA_VERSION
|
||||
source ${SOURCE_DIR}/src/INFRA_VERSION
|
||||
|
||||
# reset sudo timestamp to avoid wrong success
|
||||
sudo -k || sudo --reset-timestamp
|
||||
@@ -13,6 +13,7 @@ sudo -k || sudo --reset-timestamp
|
||||
# checks if all scripts are sudo access
|
||||
scripts=("${SOURCE_DIR}/src/scripts/rmappdir.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/createappdir.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/setup_infra.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/reloadnginx.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/backupbox.sh" \
|
||||
"${SOURCE_DIR}/src/scripts/backupapp.sh" \
|
||||
|
||||
Reference in New Issue
Block a user