summaryrefslogtreecommitdiff
path: root/tests/platform-ci
AgeCommit message (Collapse)Author
2017-11-09CI: do soledad migration during upgrade testMicah Anderson
Updating platfrom 0.9 (soledad 0.8.0) to 0.10 (soledad 0.10.3) requires a soledad-server migration. This integrates the migration in the CI upgrade_test. Fixes #8881
2017-10-19CI: fix variable names, abstract ssh setupMicah Anderson
2017-10-17Bug: replace single provider key with an unique oneMicah Anderson
For the CI, we were using the gitlab-runner ssh key for all provider builds, this replaces it with an unique one for each provider.
2017-10-05Feat: Refactor tor servicesMicah Anderson
In order to refactor the tor services, we need to split them out into three different services. This adds the hidden service class that is necessary to support the previous commits. Fixes #8864.
2017-09-28CI: Test staging deb repo componentVarac
Resolves: #8871
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-16Update tests/platform-ci/README.md how to run platform testsVarac
2017-07-16Use unqualified path to bundlerVarac
So users can run it locally when they have `bundler` installed as debian package.
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-04leap_cli - make fog gem optionalelijah
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-06-30[CI] Pin leap_cli so fog-aws is installedVarac
2017-06-28platform test - pin ruby version to 2.1.10 when using rbenv, since that is ↵elijah
the latests that will work.
2017-06-23Use default apt component for CIVarac
Resolves: #8828
2017-06-17Renewed commercial cert for platform CIVarac
2017-06-16[CI] Use older commit for puppet-catalog-testVarac
After `puppet-catalog-test` has been recently updated it failed in our CI with: File[/etc/apt/sources.list] has notify relationship to invalid resource Exec[apt_updated] See #8814 for more details. Resolves: #8814 https://github.com/invadersmustdie/puppet-catalog-test/commit/ac386793c2c456d2071dd0adda716224128f0bb3
2017-06-16[CI] Use master branch of leap_cliVarac
We moved from develop to master some time ago so we should use master for CI testing as well.
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-04-20Ensure leap command is setup properly for CIMicah Anderson
Add a `leap help` command at the end of the CI setup.sh to ensure that the command is setup properly before continuing
2017-03-29Run leap info after deployvarac
2017-03-16Use http://deb.leap.se/platform jessie snapshots for platform CIvarac
2017-01-31Platform CI: Dont run bundle install in parallelvarac
Closes: #8684
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-18Use caching in setup.shvarac
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-18Add public sshkey of gitlab-runner for platform buildsvarac
2016-10-18Checkin cloud.json template without credentialsvarac
2016-10-18Use leap vm for ci buildsvarac
2016-10-18Dont track facts.json and users/gitlab-runnervarac
2016-10-18Dont track provider/files/ssh/known_hostsvarac
2016-10-18Lint ci-build.shvarac