summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2018-01-25 10:14:46 +0100
committerVarac <varac@leap.se>2018-01-25 10:14:46 +0100
commitaa40f8af4b8b19d8976ebc677f48b27fd7e5bd3f (patch)
tree3c8c9f604c4a2658002fc8ace21a2ef6a9977dd0
parent9081524ce0744d4a5b2b0faa7de8f8e25068242c (diff)
[CI] Fix env variable name for platform tests
-rw-r--r--tests/platform-ci/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/platform-ci/README.md b/tests/platform-ci/README.md
index 2eae5ca0..af1ccbb9 100644
--- a/tests/platform-ci/README.md
+++ b/tests/platform-ci/README.md
@@ -25,7 +25,7 @@ In order to do so, you need to set your AWS credentials as environment variables
If you want to login to this machine during or after the deploy you need to
- export SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)
+ export platform_PROVIDER_SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)
then start the deply test with
@@ -36,10 +36,10 @@ then start the deply test with
Another possibility to run the platform tests is to use [gitlab-runner](https://docs.gitlab.com/runner/)
together with [Docker](https://www.docker.com/).
-Export `AWS_ACCESS_KEY`, `AWS_SECRET_KEY` and `SSH_PRIVATE_KEY` as shown above.
+Export `AWS_ACCESS_KEY`, `AWS_SECRET_KEY` and `platform_PROVIDER_SSH_PRIVATE_KEY` as shown above.
From the root dir of this repo run:
- gitlab-runner exec docker --env AWS_ACCESS_KEY="$AWS_ACCESS_KEY" --env AWS_SECRET_KEY="$AWS_SECRET_KEY" --env platform_PROVIDER_SSH_PRIVATE_KEY="$SSH_PRIVATE_KEY" deploy_test
+ gitlab-runner exec docker --env AWS_ACCESS_KEY="$AWS_ACCESS_KEY" --env AWS_SECRET_KEY="$AWS_SECRET_KEY" --env platform_PROVIDER_platform_PROVIDER_SSH_PRIVATE_KEY="$platform_PROVIDER_SSH_PRIVATE_KEY" deploy_test
See `.gitlab-ci.yml` for all the different test jobs.