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 skip hack/tools/vendor folder 2021-08-26 20:02:43 +02:00
build.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
clean.sh remove bazel from make clean, bazel is not in any supported branches 2021-11-02 11:41:32 -07:00
cross.sh fix shellcheck in hack/make-rules/... 2019-02-26 00:56:36 -05:00
make-help.sh correct flag order in make-help 2019-07-02 23:42:01 -07:00
test-cmd.sh disable race detector in test-cmd.sh 2021-06-18 14:49:53 -07:00
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 add verify script to catch most validation mutations 2021-10-08 14:37:55 -04:00
vet.sh Stop installing all commands before vetting 2020-08-02 10:56:46 -04:00