36 Commits

Author SHA1 Message Date
iwilltry42
5cea7eae0a
tests/e2e: more extensive k3s version tests 2020-10-19 13:53:34 +02:00
iwilltry42
688c8d1ef6
tests/e2e: update k3s versions 2020-10-10 17:39:00 +02:00
iwilltry42
6708515125
tests/e2e: add wait time between exec tries 2020-10-06 12:50:46 +02:00
iwilltry42
dc725fcdbc
docs: add some missing flags and info on host.k3d.internal 2020-10-06 12:46:06 +02:00
iwilltry42
c47f7b731d
tests/e2e: test host.k3d.internal DNS entry 2020-10-05 21:44:11 +02:00
iwilltry42
d420ccf1f7
tests/e2e: use imported image 2020-10-05 15:53:41 +02:00
iwilltry42
66a63f654f
E2E: enable skipping multiple tests and improve log messages 2020-09-20 14:42:52 +02:00
iwilltry42
a578c32260
E2E: add extra tests and test different k3s versions 2020-09-19 09:11:30 +02:00
iwilltry42
ec3f10ec57
use server/agent instead of master/worker 2020-07-14 20:29:33 +02:00
iwilltry42
c83ac0afd4
fix merge leftovers 2020-07-14 15:46:44 +02:00
iwilltry42
84d6063e4b
Merge branch 'master' into enhancement/noun-verb-syntax 2020-07-14 15:31:12 +02:00
iwilltry42
59359073e4
adjust e2e tests to new syntax 2020-07-14 12:52:34 +02:00
iwilltry42
7325cc41c4
tests/e2e: update flags for 'get kubeconfig' 2020-06-22 08:15:35 +02:00
iwilltry42
c00f8952ba
getKubeconfig: write to new file by default 2020-06-18 17:44:11 +02:00
iwilltry42
7e775f009f
Tests/E2E: include heper image builds in e2e tests 2020-06-18 10:02:46 +02:00
Thorsten Klein
4272ad4fd8
[Enhancement] Improved CI with Drone (#278)
* Misc: cleanup and restructure Makefile

* Misc: use dind output target in Dockerfile

* tests/e2e: ensure that the docker runner is really up before continuing

* CI: add drone

* Misc: fix image tag for e2e in Makefile

* CI/drone: add build step, step conditionals and restrict to linux platform

* CI/drone: add docs pipeline

* Misc: allow setting e2e runner timeout via Makefile arg

* CI/drone: add target platform for docs pipeline

* CI: Goodbye travis

* Misc: add drone make target to run drone CI locally

* CI/drone: add basic pipelines for k3d-tools and k3d-proxy

* remove ref event trigger
2020-06-17 19:35:42 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails 2020-06-12 13:32:19 +02:00
Antoine
0862f11324
👌 replace k3d getk3stoken command by --token flag onto command k3d get cluster 2020-06-04 00:56:02 +02:00
iwilltry42
ad06e90e13 fix issues with context.Context and remove LOG_LEVEL=debug in e2e test 2020-06-04 00:49:12 +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
42ee62e552
createNode: add --wait and --timeout flags
- new struct: createNodeOpts for wait and timeout values
- new commands for creating/adding multiple nodes which then wait for
all nodes to be up, if specified
- tests/e2e: new test for adding a master node
2020-06-03 14:55:50 +02:00
iwilltry42
ee8b34d9f6
createNode: do not copy '--cluster-init' when creating a new master node, as this will break the node 2020-06-03 13:40:13 +02:00
iwilltry42
99f5a6884a
getNodeLogs: accept time.Time parameter
- fixes startCluster's --wait/--timeout functionality
--> now doesn't check all the logs (e.g. from previous run)
----> no more false positives when checking for a specifc log message
only in the current run
2020-05-29 11:21:12 +02:00
iwilltry42
e98f96b4f4
tests/e2e: add E2E_SKIP env var to skip specific e2e tests, as test_multi_master tends to fail in travis 2020-05-11 12:31:16 +02:00
iwilltry42
813a8a98af
tests/e2e: add failure case for importing images 2020-04-23 11:53:34 +02:00
iwilltry42
d7e71e07d2
fix/loadImage: extract labels from master/worker nodes only
- imageVolume couldn't be determined before in some cases, because it
tried to extract the name from labels on the masterlb which doesn't have
them.
- now we're only trying get the label from master/worker nodes and this
also adds a failover solution
- also, we ignore non-worker/master nodes upon image import
2020-04-23 11:40:13 +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
347fd1e78a
tests/e2e: adapt e2e tests to new kubeconfig logic 2020-04-22 09:14:55 +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
4561f90b5d
tests/e2e: fix --api-port flag syntax 2020-04-14 10:52:38 +02:00
iwilltry42
c79b8ed1ae
E2E-Tests: init test for multi-master setups 2020-04-08 13:08:24 +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