kubernetes/hack/make-rules
Jonathan Lebon 3ebd93cd02 test-e2e-node: support pure SSH mode
Right now, `run_remote.go` only supports GCE instances. But actually
running the tests is completely independent of GCE and could work just
as well on any SSH-accessible machine.

This patch adds a new `--mode` switch, which defaults to `gce` for
backwards compatibility, but can be set to `ssh`. In that mode, the GCE
API is not used at all, and we simply connect to the hosts given via
`--hosts`.

This is still better than `run_local.go` because the latter mixes build
environment with test environment, which doesn't fit well with
container-optimized operating systems.

This is part of an effort to setup the e2e node tests on Fedora CoreOS
(see https://github.com/coreos/fedora-coreos-tracker/issues/990).

Patch best viewed with whitespace ignored.
2021-11-22 10:13:15 -05:00
..
helpers
build.sh
clean.sh remove bazel from make clean, bazel is not in any supported branches 2021-11-02 11:41:32 -07:00
cross.sh
make-help.sh
test-cmd.sh
test-e2e-node.sh test-e2e-node: support pure SSH mode 2021-11-22 10:13:15 -05:00
test-integration.sh Add periodic etcd scraping to integration tests 2021-11-05 21:32:58 -04:00
test.sh don't search under ./bazel-*, bazel is not in use. 2021-11-02 11:40:59 -07:00
update.sh remove hack/{update,verify}-bazel.sh 2021-11-02 11:38:42 -07:00
verify.sh
vet.sh