Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
See https://0xacab.org/leap/platform/-/jobs/14029 for an example.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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()
|
|
Pull duplicated bits into a function
|
|
|
|
|
|
. 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
|
|
|
|
|
|
The develop branch was removed, and current master is the same as
develop was before.
|
|
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
|
|
- Assemble cloud.json from aws credential env vars
- Deploy ssh private key from env var
|
|
|
|
|
|
|
|
|