Disable `node upgrade` during launch
This commit is contained in:
parent
11d767b20f
commit
4b972903dd
|
@ -72,7 +72,7 @@ Create local archives of both the `adapt_authoring` folder and database:
|
|||
|
||||
### Docker Swarm
|
||||
|
||||
See [`compose-stacks/adapt_authoring`] for an example Docker "swarm mode"
|
||||
See [`coop-cloud/adapt_authoring`] for an example Docker "swarm mode"
|
||||
configuration, including secrets, SSL reverse proxy, and continuous integration
|
||||
tests of the stack deployment.
|
||||
|
||||
|
@ -82,5 +82,7 @@ tests of the stack deployment.
|
|||
rate-limited by Github (the script checks Github for the latest Adapt
|
||||
Authoring version, and to clone the Authoring Framework and plug-ins). Wait
|
||||
an hour, or use a VPN.
|
||||
- `node upgrade` doesn't work, because code is downloaded as a ZIP archive
|
||||
instead of using a `git clone`
|
||||
|
||||
[`compose-stacks/adapt_authoring`]: https://git.autonomic.zone/compose-stacks/adapt_authoring/
|
||||
[`coop-cloud/adapt_authoring`]: https://git.autonomic.zone/coop-cloud/adapt_authoring/
|
||||
|
|
|
@ -50,11 +50,6 @@ install_adapt() {
|
|||
#--smtpUsername "${SMTP_USERNAME}" --smtpPassword "${SMTP_PASSWORD}" \
|
||||
}
|
||||
|
||||
update_adapt() {
|
||||
echo "'conf' dir found, running 'node upgrade ...'"
|
||||
node upgrade --continue Y --updateAutomatically Y
|
||||
}
|
||||
|
||||
main() {
|
||||
set -eu
|
||||
|
||||
|
@ -62,8 +57,6 @@ main() {
|
|||
|
||||
if [ ! -d conf ]; then
|
||||
install_adapt
|
||||
else
|
||||
update_adapt
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue