iwilltry42
acfa952b51
CI/drone: use DRONE_TAG
2020-06-17 20:05:01 +02:00
iwilltry42
32b7934f14
CI/drone: add pre-release step
2020-06-17 19:45:09 +02:00
iwilltry42
7d01f4ac14
Merge branch 'master' of github.com:rancher/k3d
2020-06-17 19:35:55 +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
0b23807d44
createCluster: make '--wait' be true by default
2020-06-17 18:20:24 +02:00
iwilltry42
3cd1a05b91
Maintenance: move all labels to constants and fix log formatting issues
2020-06-12 19:00:01 +02:00
Thorsten Klein
178fe6d20d
Merge pull request #279 from rancher/feature/random-api-port
...
[Feature] Choose random API Port by default
2020-06-12 13:35:00 +02:00
iwilltry42
d6b5d4dbf5
createCluster: fallback to default api port if random allocation fails
2020-06-12 13:32:19 +02:00
iwilltry42
3205cbac67
createCluster: ask OS/kernel for free port...
...
... instead of leaving this up to docker, since then we don't know about
it when creating the labels, etc. used e.g. for updating the kubeconfig with
the correct port
2020-06-12 13:22:21 +02:00
iwilltry42
711e1ed048
createCluster: use random hostPort for API-Port by default
...
- this makes it easier to create multiple clusters without having to
worry about choosing a different port every time
- This is for you @ibuildthecloud ;)
2020-06-12 12:57:40 +02:00
iwilltry42
5643b4e60c
proxy: increase timeout to 10 minutes
...
- prevent stream from breaking during e.g. 'kubectl get logs -f POD'
Fixes #276
2020-06-12 12:47:32 +02:00
iwilltry42
2d0ec0a1d0
createNode: fix log output generating nil pointer...
...
... dereference in addNodeToCluster when cluster does not exist.
Fixes #277
2020-06-12 12:39:36 +02:00
Thorsten Klein
e7ffd18fca
Merge pull request #275 from rancher/add-k3d-tools
...
Integrating k3d-tools repo as Go submodule
2020-06-10 19:54:06 +02:00
iwilltry42
e81cacd747
add .dockerignore to ignore submodules when building k3d
2020-06-10 19:46:19 +02:00
iwilltry42
0593cfd8c0
integrate k3d-tools repo as Go submodule
2020-06-10 19:41:31 +02:00
iwilltry42
bdb5a1f858
getKubeconfig: fix condition when no overwriting contexts
...
Reference: https://github.com/rancher/k3d/pull/268#issuecomment-639829646
2020-06-10 19:20:02 +02:00
Thorsten Klein
80e9689a7c
Merge pull request #274 from inercia/inercia/k3x_ref
...
Reference to k3x
2020-06-08 17:05:03 +02:00
Alvaro Saurin
8d92a44cba
Reference to k3x
...
Signed-off-by: Alvaro Saurin <alvaro.saurin@gmail.com>
2020-06-08 14:22:54 +02:00
Thorsten Klein
18a9ddd020
Merge pull request #271 from lvuch/lh-theme-customization
...
docs: fix nav color and placement of current section name in header (thanks @lvuch)
2020-06-05 21:12:41 +02:00
lvuch
3b2fc6ef24
fix nav color and placement of current section name in header
2020-06-05 10:51:27 -07:00
Thorsten Klein
a6976d321c
Merge pull request #270 from rancher/feature/completions
...
[Feature] Shell completions
2020-06-05 15:04:59 +02:00
iwilltry42
2d6a67822c
remove fixed FIXME :)
2020-06-05 14:29:01 +02:00
iwilltry42
374d9d16d7
completion: NodeRoles for '--role' flag on 'create node'
2020-06-05 14:12:08 +02:00
iwilltry42
5020259cb5
completion: improve short/long command descriptions
2020-06-05 14:03:54 +02:00
iwilltry42
91425d3738
completion: AvailableClusters for '--cluster' flag in createNode and loadImage
2020-06-05 14:00:27 +02:00
iwilltry42
45a7b2dd7d
completion: new ValidArgsAvailableNodes
...
- completion proposes list of existing nodes
- available for get/delete/start/stop node
2020-06-05 13:50:34 +02:00
iwilltry42
d3f7621ed8
completion: use AvailableClusters completion for start, stop, delete, getKubeconfig
2020-06-05 13:46:49 +02:00
iwilltry42
2e75b90ffb
completion/getCluster: move validargs function to util package
2020-06-05 13:44:15 +02:00
iwilltry42
17c1fccd9c
completion: add custom completion for 'get clusters'
2020-06-05 09:04:05 +02:00
iwilltry42
76b7450b02
remove --runtime root flag and make docker the default
2020-06-05 08:50:47 +02:00
iwilltry42
3a962b3226
completion: use PR branch of cobra to fix completion for zsh
2020-06-05 08:24:03 +02:00
iwilltry42
0af0207691
docs: add disclaimer for targeting v3.0.0+
2020-06-05 07:44:37 +02:00
Thorsten Klein
85197b5fc2
Merge pull request #264 from lvuch/lh-theme-customization
...
[Enhancement] Docs: favicons and header changes (thanks @lvuch)
2020-06-04 20:46:18 +02:00
lvuch
53484f1a63
resolve favicon issue and move css
2020-06-04 10:31:11 -07:00
iwilltry42
c02b6362a9
docs: add info on 'get clusters --token' flag
2020-06-04 16:00:12 +02:00
Thorsten Klein
85132c1531
Merge pull request #266 from rancher/feature/load-images-from-tar
...
[Enhancement] loadImage: cleanup and enable loading from tarball/-stream
2020-06-04 15:44:23 +02:00
iwilltry42
dc740d5829
loadImage: exit early if no valid image was specified
2020-06-04 15:30:01 +02:00
iwilltry42
ae84791cf4
deps: update modules
2020-06-04 15:04:14 +02:00
iwilltry42
f39a9513fd
dependencies: update docker dependencies to fix issues with failing windows builds introduced by the usage of the archive package
2020-06-04 15:03:18 +02:00
iwilltry42
c83341b512
loadImage: add command alias
2020-06-04 11:58:55 +02:00
iwilltry42
0bc8887b3d
docs: add notes about new functionality of load image
2020-06-04 11:58:06 +02:00
iwilltry42
dbb24f4e1c
loadImages: accept mixed runtimeImage and tarball args
...
- loads images from tarballs and runtime
- only tries to do something if respective lists are not empty
- only creates tools node if it's not present yet
- uses new tools image to remove tarballs after process
2020-06-04 11:55:40 +02:00
iwilltry42
933ac38059
loadImages: loop over all input images
2020-06-04 09:50:45 +02:00
iwilltry42
7dec0cc1be
Merge branch 'master' of github.com:rancher/k3d into feature/load-images-from-tar
2020-06-04 08:58:29 +02:00
Thorsten Klein
92c11570a3
Merge pull request #257 from RouxAntoine/feature/add-get-token-v2
...
[feature] add command get k3stoken to retrieve cluster token (thanks @RouxAntoine)
2020-06-04 08:50:05 +02:00
iwilltry42
487393bbde
loadImage: cleanup command and initiate enhancements
2020-06-04 08:36:52 +02:00
iwilltry42
03d651a502
docs: include section about issues with dqlite and cluster restarts
2020-06-04 08:04:14 +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
e3bf18660e
👌 PR review
...
Use `log.Fatalln(err)` instead of `log.Errorln(err)` + `os.Exit(1)`
Use Label prefix instead of LabelName suffix
Rename all secret occurence with token
2020-06-04 00:49:12 +02:00