Commit Graph

14 Commits

Author SHA1 Message Date
iwilltry42
a278725078
tests/e2e: quiet grep output to pollute the terminal a little less 2021-07-09 10:48:31 +02:00
iwilltry42
91db3f647c
changes when creating clusters + new nodefilter syntax
- generate node names when transforming from simple to cluster config
  - ClusterCreate(clusterconfig) should have a ready made config and not
  generate variables
- ClusterCreate() only prep LB if not already present (to be removed)
- cluster struct: serverloadbalancer is now of type LoadBalancer (Node +
Config)
- use new nodefilter syntax with 'id:index:suffix' instead of
'id[index]' everywhere
  - use suffix when creating the LB
2021-07-09 10:48:26 +02:00
iwilltry42
58cf15b0e5
tests/e2e: add step information and clean resources after every step 2021-02-04 19:07:37 +01:00
Thorsten Klein
0f15ca34d0
[Fix] Allow literal @ in flags that have nodefilters (#421)
- literal @s can now be escaped with a preceeding backslash
  - use case e.g. `--env HTTPS_PROXY=user:pass\@myproxy.com`
- if the last char before a non-literal @ (designating a following
nodefilter) is a backslash, then it can be escaped with another
backslash (no cascading escapes though)
2020-12-04 11:45:56 +01:00
iwilltry42
59359073e4
adjust e2e tests to new syntax 2020-07-14 12:52:34 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails 2020-06-12 13:32:19 +02:00
Antoine
6d9d5a0cc4
Add get k3stoken feature
Add new command verb `k3stoken` to `k3d get`
Populate cluster secret field
Add test for `k3d get k3stoken` command
Externalize validable flag `--all`, in anticipation to reuse into `getKubeConfig.go`
2020-06-04 00:49:12 +02:00
iwilltry42
b8886b86c4
get: allow multiple or no names for getCluster/getNodes
- no name: get all
- one or more name: get only named nodes/clusters
2020-06-03 15:51:21 +02:00
iwilltry42
f9862be237
tests/e2e: Add a full lifecycle e2e test and restructure
- new full lifecycle test also tests stop/start functionality
- cleaned up a bit
2020-04-22 12:58:02 +02:00
iwilltry42
c51ec003bd
createCluster/network: add basic support for hostnetwork mode in docker 2020-04-16 10:07:19 +02:00
iwilltry42
0f9ec09796
adapt tests to new --timeout flag 2020-04-15 11:57:53 +02:00
iwilltry42
51ebcab21f
enable debug logging in e2e tests 2020-01-28 15:06:36 +01:00
iwilltry42
db03084e5d
fix tests and add Dockerfile 2020-01-27 16:22:57 +01:00
iwilltry42
4682cea41f
add tests 2020-01-27 16:13:00 +01:00