k3s/test/e2e_node/jenkins
Kubernetes Submit Queue 1955ed614f Merge pull request #39074 from Random-Liu/node-e2e-set-user
Automatic merge from submit-queue

Node E2E: Set user with `--ssh-user` flag when running remote node e2e.

This PR unblocks https://github.com/kubernetes/test-infra/issues/1348.

In our test environment, we must login test instance as user `jenkins` because of the service account. Node e2e is always using the default user on the host, which works fine till now, because it is always run as `jenkins` in our test environment.

However, now we moved the test runner into a docker container, inside the container user is `root` by default, which will cause error:
```
Permission denied (publickey)
```

This PR added a flag `--ssh-user` to explicitly specify the user used to ssh into test instance. The dockerized test runner can set user to `jenkins` with this flag.

@krzyzacy  @ixdy
2016-12-21 11:21:09 -08:00
..
benchmark Disable AU in node e2e test. 2016-12-15 01:33:09 -08:00
conformance Add node conformance ci test. 2016-12-13 19:08:55 -08:00
cri_validation Disable AU in node e2e test. 2016-12-15 01:33:09 -08:00
docker_validation Disable AU in node e2e test. 2016-12-15 01:33:09 -08:00
copy-e2e-image.sh Update node e2e image copy script 2016-07-08 11:10:23 -07:00
coreos-init.json test/node-e2e: Update CoreOS update disabling 2016-08-29 16:11:40 -07:00
e2e-node-jenkins.sh Support set user with `--ssh-user` flag when running remote node e2e. 2016-12-21 01:54:02 -08:00
gci-init.yaml Revert "Modify GCI mounter to enable NFSv3" 2016-11-23 13:15:37 +01:00
image-config.yaml Disable AU in node e2e test. 2016-12-15 01:33:09 -08:00
jenkins-ci.properties Remove setup-node, which is not needed after we run the whole test as 2016-12-05 16:16:08 -08:00
jenkins-flaky.properties Remove setup-node, which is not needed after we run the whole test as 2016-12-05 16:16:08 -08:00
jenkins-pull.properties Remove setup-node, which is not needed after we run the whole test as 2016-12-05 16:16:08 -08:00
jenkins-serial.properties Remove setup-node, which is not needed after we run the whole test as 2016-12-05 16:16:08 -08:00
template.properties Support set user with `--ssh-user` flag when running remote node e2e. 2016-12-21 01:54:02 -08:00