Skip to content

Commit

Permalink
Update e2e tests instructions
Browse files Browse the repository at this point in the history
Adds missing information about configuring the ssh-agent.
Otherwise it fails to run the tests, but because of the tests,
but because of the ssh connection.
  • Loading branch information
Panagiotis Georgiadis committed Jul 2, 2019
1 parent 9f169ae commit 8242045
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ The test can be run locally or in CI.

# Requirements:

- the infrastructure is already deployed. ( Terraform is not necessary a requirement, only the ips)
See mandatory variable for the number of instances required.
- The infrastructure should be already deployed (using Terraform is not mandatory; only the IP addresses are needed). For more information see mandatory variables for the number of instances required.

- Running _ssh-agent_ socket at `/tmp/ssh-agent-sock`. You can do that by running: `./ci/tasks/setup-ssh.py`. Otherwise, you can try manually, by typing: `eval $(ssh-agent -a /tmp/ssh-agent-sock); ssh-add ci/infra/id_shared`.

- You can verify whether the key has been loaded correctly into the _ssh-agent_ by issuing the command: `ssh-add -L`.

- Last but not least, you should be able to connect non-interactively to (either master or worker) node as a _sles_ user : `ssh sles@<node-ip>`.

# Howto

Expand Down

0 comments on commit 8242045

Please sign in to comment.