summaryrefslogtreecommitdiff
path: root/tests/platform-ci/ci-build.sh
AgeCommit message (Collapse)Author
2017-09-26Use right domain name to renew certsVarac
2017-09-26Add cert renewal to production deploymentsVarac
2017-09-13CI: Use master branch for demo.bitmask.net deployVarac
Commit 55b784f2 fixed this for mail.bitmask.net, but not for demo.bitmask.net. See https://0xacab.org/leap/platform/commit/55b784f2ccd6336db4bab9157a8498cb87c562ff This fixes #8843.
2017-07-27CI: fix provider checkoutMicah Anderson
Provider checkout was being done to a pre-existing directory, which resulted in an error about the directory already existing (see https://0xacab.org/leap/platform/-/jobs/15730), this should fix that problem.
2017-07-26CI: Cleanup and enhance to specify platform branchMicah Anderson
Fix indentation; setup some more clear variables. Add a third variable to ensure the proper platform branch is checked out. This is necessary because otherwise environment deploys get stuck because the platform directory is in a detached state and then the environment deploys will not proceed because the branch check fails. This will fix #8843.
2017-07-04Fix non-existent CI variable CI_COMMIT_REF (#8844)Micah Anderson
2017-07-04Additional fix for CI cache failureMicah Anderson
2017-07-04Fix upgrade_test failure.Micah Anderson
See https://0xacab.org/leap/platform/-/jobs/14029 for an example.
2017-07-01[CI] Fix node name for local testsVarac
2017-06-30[CI] Run bundle install after checking out different platform branchVarac
2017-06-30[CI] Add upgrade tests to ci-build.shVarac
2017-06-30[CI] Fail when CI_JOB_NAME is not recognizedVarac
2017-06-30[CI] Move more commands into functionsVarac
2017-06-30[CI] Use CI_JOB_NAME to determine what action to takeVarac
2017-06-30[CI] Check for mandatory env variables on platform buildsVarac
2017-04-27change environment names to match ci-build.shMicah Anderson
2017-04-27Improve ci-build.sh (Closes #8771)varac
* Change environment names for clarity: . Use staging for deploying to latest . Use production environments to deploy to demo: production/vpn production/mail * Install leap_cli if not present and define default values * Remove old nodes from cached runs * Remove no longer used SEEDS variable * Debugging improvements: . Hide secrets when calling ci-build.sh with xtrace enabled . Use unbuffer to we can add debug output locally . Add debugging to build_from_scratch()
2017-04-25Add a production environment for demovpn, demomailMicah Anderson
Pull duplicated bits into a function
2017-04-25Fix the pipefail by putting ts inside of ci-build.shMicah Anderson
2017-04-20switch to using CI_ENVIRONMENT_NAME and defaulting to the basic deploymentMicah Anderson
2017-04-20Enhance ci-build.sh for latest CI builds.Micah Anderson
. Reorganize script to allow for multiple builds . Add latest build, pulling from the ibex provider . Run the build as the cirunner unprivileged user . Set pipefail because job is run within a pipe . Change name of 'build' stage to 'deploy' . Setup an environment for the latest CI deployment
2017-03-29Run leap info after deployvarac
2016-12-08Use webapp/nickserver:master on leap_platform:master (#8678)varac
2016-10-25Change CI build webapp source branch to master.Micah Anderson
The develop branch was removed, and current master is the same as develop was before.
2016-10-18Use random vm name when running localvarac
when using gitlab-runner locally, CI_BUILD_ID is always 1 which will conflict with running/terminating AWS instances in subsequent runs therefore we pick a random number in this case
2016-10-18Include secret variables from gitlab ci settingsvarac
- Assemble cloud.json from aws credential env vars - Deploy ssh private key from env var
2016-10-18Use leap vm for ci buildsvarac
2016-10-18Lint ci-build.shvarac
2016-09-01cherry pick from "break on every deploy error"elijah
2016-09-01fix paths for gitlab cielijah