20690: Removes WORKBENCH_SECRET_KEY from config. Uses new formula version. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
21041: Improves the sync() function so that it can push code from HEAD. When running the installer from a Jenkins pipeline, the checked out code may not be from a specific branch, so we need to take care of this special case when pushing the code to the bare repositories on the nodes. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20926: Requires manually setting PG version when not using the 'database' role. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20889: Fixes installer.sh indentation to match the how provision.sh is written. It had a mix of space-based and tab-based indentation that made code a bit difficult to read. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20889: Checks that cert files are present before trying to use them. Also, some documentation fixes. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20889: Fixes a bug when database & controller roles are on a single node. The database role gets handled first, so the controller node gets removed from the list and then when checking if multiple nodes were available, the code path for a single controller didn't checked if the node was already removed from the node list. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20680: Only do a rolling update when there is multiple controllers Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
20680: installer does rolling update of controller When there is a load balancer, disable each controller node in turn before updating it. Also, don't reduce controller_nr when a controller is down, having worker_connections go up and down during deploy seems like in could cause problems. Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
20610: Unifies the 'api' role with the 'controller' role. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20610: Moves code from local.params to its own common.sh file. provision & installer scripts now loads this new file that in turn loads the params files. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20610: Fixes deployment order to avoid failures. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20610: Adds 'balancer' role to the installer scripts. Also, fixes a salt bootstrap issue dur to the fact that as of today, the 3004 version is no longer considered 'stable'. Also, changes the way we use SSH so that no envvars are forwarded to remote hosts, to avoid having 'setlocale' warnings mixed with salt cmd.run outputs when using Debian distros to run the installer. This avoids issues on the first run, before salt configures the remote node's locale. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20665: Fixes logic script error & minor docs improvements. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20665: Code style improvements. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20665: Handles secrets on a separate file. This allows the admin to give special treatment to it, to comply with security policies that the local organization may have. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20548: Emit the git commit in the deploy log. Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
20548: Rework git deployment a bit Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
20482: Allows the cluster operator to use an arbitrary domain. Instead of making domains like cluster_prefix.domain mandatory, let the site admin to select whichever domain they need for the deployment. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
20482: Makes installer.sh compatible with older (Ubuntu 18.04) git versions. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
16379: doc updates Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>