Commit Graph
66 Commits
Author SHA1 Message Date
Axel Uhl 70905018b4 determine "mail" version and set MAIL_ATTACH_OPTION to -a or -A respectively 2023-07-03 11:18:49 +02:00
Axel Uhl ffd22c1e61 improved Java version check; require version 1.7 or 1.8 for refreshInstance.sh and start 2022-01-13 11:20:53 +01:00
EC2 Server 0e9b943df7 bug5599: ensure newlines in case env files don't have a trailing one 2021-11-17 22:36:06 +00:00
Axel Uhl 2dd56c4ab7 bug5599: first implementation of a deployApplicationToExistingHost method;
factored the createLoadBalancingAndAutoScalingSetup functionality which
the new method now uses in common with the createApplicationReplicaSet
method. Still missing: UI
2021-11-17 13:09:57 +01:00
Axel Uhl a6429a3de0 removed MEMORY default calculation from refreshInstance.sh; it is now provided by env-default-rules.sh 2021-11-16 18:03:20 +01:00
Axel Uhl 380f403db3 bug5599: determine a default MEMORY value in env-default-rules.sh, considering the new TOTAL_MEMORY_SIZE_FACTOR variable 2021-11-16 17:55:06 +01:00
Axel Uhl 84ea3fca57 fixed refreshInstance.sh script which due to a regression does nothing when no release name is provided to install-release 2021-06-07 00:16:26 +02:00
sap-p1-2 25d3152eae fixed refreshInstances.sh script regarding scp download of environment 2021-06-02 22:33:30 +02:00
sap-p1-2 dc170ce3bb use SCP parameter also for environment download 2021-06-02 21:48:46 +02:00
Axel Uhl 3b35eed6e6 added refreshInstance.sh parameter INSTALL_FROM_SCP_USER_AT_HOST_AND_PORT to allow for SCP download of release 2021-06-02 21:18:01 +02:00
Axel Uhl 7fa0c14304 use https for releases.sapsailing.com in refreshInstance.sh script 2021-05-07 12:05:13 +02:00
Axel Uhl 81e929a105 bug4811: fixed typo in debug output of refreshInstance.sh 2021-02-10 01:39:22 +01:00
Axel Uhl a8886bfc41 bug5444: MAIL_... variables are now evaluated in refreshInstance.sh in the auto_install function, establishing configuration/mail.properties 2020-12-03 15:27:01 +01:00
Axel Uhl 69f38ef3f0 bug4811: don't let refreshInstance.sh log to /var/log 2020-11-26 18:48:52 +01:00
Axel Uhl 6ae470c57a bug4811: refactored "sailing" init.d script and moved reverse proxy logic to own script defineReverseProxyMappings.sh 2020-11-26 18:42:19 +01:00
Axel Uhl db7e3b447f bug4811: added a "auto-install-from-stdin" option to refreshInstance.sh 2020-11-26 17:35:24 +01:00
Axel Uhl c6b138fb0c bug4811: added *_NOTIFY variables to Wiki explanation 2020-11-26 13:12:50 +01:00
Axel Uhl 3e43f4795f bug4811: enclose -z params in double quotes 2020-11-25 15:08:49 +01:00
Axel Uhl 781a2a475c bug4811: append env-default-rules.sh to env.sh in refreshInstance.sh auto-install 2020-11-25 14:28:05 +01:00
Axel Uhl b3057ce05a bug4811: fixed .tar.gz suffix handling for refreshInstance.sh install-release 2020-11-25 13:49:31 +01:00
Axel Uhl fcd80cceaf bug4811: execute env-default-rules.sh after env.sh also in refreshInstance.sh 2020-11-25 12:34:09 +01:00
Axel Uhl 2c9e29723c bug4811: in refreshInstance.sh when unpacking release, ensure the symbolic links to /home/scores/* are set 2020-11-24 14:33:36 +01:00
Axel Uhl c264db197f bug4811: set default e-mail addresses for complete build and server start-up in env-default-rules.sh 2020-11-24 14:13:50 +01:00
Axel Uhl 79acdccdb5 bug4811: use load_from_local_release_file in refreshInstance.sh for the actual unpacking and config preservation for load_from_release_file;
this avoids redundancies in the refreshInstance.sh script
2020-11-24 13:55:27 +01:00
Axel Uhl 28f42b1617 bug4811: moved default rules for env variables into env-default-rules.sh which is now executed after env.sh 2020-11-20 16:00:30 +01:00
EC2 Server d9645b9958 bug4811: create env.sh only after release install 2020-11-19 16:31:38 +00:00
EC2 Server 7c3edda2bf bug4811: install default master build if no INSTALL_FROM_RELEASE is provided; fixed some minor bugs in "sailing" init.d script 2020-11-19 15:53:52 +00:00
EC2 Server 0d1b7e40ab bug4811: started to refactor the "sailing" init.d script, affecting also the imageupgrade.sh and refreshInstance.sh scripts 2020-11-19 12:00:59 +00:00
Axel Uhl 67b8698f4e when no DEPLOY_TO is provided, "." is assumed 2020-10-20 13:40:15 +02:00
Axel Uhl 263a574e10 Merge remote-tracking branch 'server/master' 2020-10-05 18:21:21 +02:00
Axel Uhl 7a2418212a fixed indentation in sailing init.d script 2020-10-05 18:16:44 +02:00
EC2 Server 8923e170aa fixed refreshInstance.sh so it copes with spaces in EC2 user data 2020-10-05 15:47:44 +00:00
Axel Uhl bd7f28b61f fixed indentation in refreshInstance.sh script 2020-10-05 16:54:57 +02:00
Axel Uhl 4289557e5a the refreshInstance.sh script's "install-release" option now defaults to the newest build-* release 2019-01-24 22:35:48 +01:00
Axel Uhl 806089a395 added handling of new debug.properties config file in buildAndUpdateProduct.sh and refreshInstance.sh
Change-Id: Ie5280dba773e2ee406ebf01d966e20ad68ff3b92
2019-01-11 12:28:19 +01:00
Axel Uhl 407a59a61d enhanced server start-up mail; preserve mail.properties during release install
Change-Id: I72d4aff7f46e3192846f780e6e98545d277edb65
2018-02-26 15:50:32 +01:00
EC2 Server 2b07fea977 added INSTANCE_INTERNAL_IP4 and use it for a default Plain-SSL mapping during instance start 2016-03-06 11:58:46 +00:00
EC2 Server 995c0815dc append /internal-server-status macro at the end of 001-events.conf to ensure health check with /index.html hits event-based rewrite first 2015-07-06 13:13:37 +00:00
EC2 Server bf4cac1f1a add /internal-server-status to 001-events.conf; always launch httpd 2015-06-30 16:29:08 +00:00
Simon Pamies 565d93972d Updated local install 2015-05-01 10:26:20 +08:00
Simon Pamies 00a0a78b2a Added ability to use a local release file 2015-04-30 10:33:14 +08:00
Axel Uhl 771067ebd0 evaluate the combined env.sh in /etc/init.d/sailing before deciding and launching the httpd server 2014-11-16 10:52:49 +01:00
Simon Pamies b86324625a Fixed bug 2319 2014-11-04 16:35:33 +01:00
Axel Uhl 8b4f4fa7e4 replaced #!/bin/sh by #!/bin/bash to ensure compatibility on Debian-like Linux systems such as Ubuntu 2014-07-16 11:31:14 +02:00
Axel Uhl 8d449b7e76 fixed mail reporting of instance name, IP and DNS name 2014-05-01 00:44:15 +02:00
EC2 Server 0380718afe reload env.sh at the right places after installing an environment 2014-04-29 23:28:00 +00:00
Axel Uhl f310648238 define DEPLOY_TO=server in default env.sh; this way, no convoluted setting of the default is necessary in refreshInstance.sh 2014-04-30 01:18:08 +02:00
EC2 Server b57b4967f6 working on bug 1917 by refactoring the auto-install feature regarding the EC2 user data take-over 2014-04-29 23:14:46 +00:00
Axel Uhl 2c2f945b6d trying to fix bug 1917 by separating the steps of reading EC2 user data, applying it and appending it to env.sh 2014-04-29 23:58:46 +02:00
Axel Uhl 51e64e03fa switched order of activate_user_data and install_environment so that the EC2 user data is appended after the environment parameters. 2014-04-29 16:34:07 +02:00