diff options
author | varac <varacanero@zeromail.org> | 2016-10-14 19:57:52 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-10-18 21:17:13 +0200 |
commit | 65c7e65282a40e72d077d1462cc33e734505269c (patch) | |
tree | e278fb745f720e9993d33fba6496a3400ddc9038 | |
parent | 1438c4d5ed1c4fb63c8003f8bd3cbca78ce0252c (diff) |
Include secret variables from gitlab ci settings
- Assemble cloud.json from aws credential env vars
- Deploy ssh private key from env var
-rwxr-xr-x | tests/platform-ci/ci-build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh index 21ea015f..5872bf57 100755 --- a/tests/platform-ci/ci-build.sh +++ b/tests/platform-ci/ci-build.sh @@ -9,6 +9,11 @@ # * leap_platform: in ../.. # * test provider: in provider/ # * leap-platform-test: installed in path +# * AWS credentials as environment variables: +# * `AWS_ACCESS_KEY` +# * `AWS_SECRET_KEY` +# * ssh private key used to login to remove vm +# * `SSH_PRIVATE_KEY` # # Todo: # - Running locally works fine, now use it in gitlab CI ( which ssh-key ? create cloud.json from env vars ) |