Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
leap
platform
Commits
aa40f8af
There was a problem fetching the pipeline summary.
Verified
Commit
aa40f8af
authored
7 years ago
by
Varac
Browse files
Options
Downloads
Patches
Plain Diff
[CI] Fix env variable name for platform tests
parent
9081524c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/platform-ci/README.md
+3
-3
3 additions, 3 deletions
tests/platform-ci/README.md
with
3 additions
and
3 deletions
tests/platform-ci/README.md
+
3
−
3
View file @
aa40f8af
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment