Commit Graph

50 Commits

Author SHA1 Message Date
iwilltry42
7073a8fad7 migrate to module rancher/k3d/v5 2021-09-07 08:58:57 +02:00
iwilltry42
17dc4b7b4d fix e2e makefile target 2021-08-31 09:33:39 +02:00
iwilltry42
a1ebb447b0
Makefile: use 'go env gopath' as install target for tools (as per request #445) 2021-04-15 13:57:33 +02:00
Thorsten Klein
dfa1472155
[Enhancement] build: add darwin/arm64 (Silicon, M1) build target (#530) 2021-03-08 17:45:58 +01:00
iwilltry42
98a48a0fc6
enable buildkit and timestamped logging 2021-02-04 19:33:19 +01:00
iwilltry42
680a6974c6
tests/e2e: add E2E_INCLUDE and rename E2E_SKIP to E2E_EXCLUDE 2021-01-14 09:01:24 +01:00
iwilltry42
4590ac57e2
tests/e2e: allow overriding helper image tag for e2e tests to avoid building 2020-12-11 16:24:15 +01:00
iwilltry42
46211ae9d3
allow overriding GIT_TAG for make build target to fix publishing docker images 2020-12-09 18:58:07 +01:00
Thorsten Klein
778f80d8fd
[FEATURE] Config File (#351) 2020-12-04 16:02:37 +01:00
iwilltry42
d7b25ac6ab
v3 -> v4 2020-12-04 13:45:57 +01:00
iwilltry42
99ff2592ac
Misc: add Makefile variable to override helper image version at build time 2020-11-04 09:11:56 +01:00
iwilltry42
a28ad768cc
Misc: add new 'test' make target 2020-10-05 15:19:28 +02:00
iwilltry42
a578c32260
E2E: add extra tests and test different k3s versions 2020-09-19 09:11:30 +02:00
iwilltry42
8dd1ec61db
rename branch master to main 2020-07-15 07:06:47 +02:00
iwilltry42
26053d5ab6
add helperversionoverride 2020-07-13 11:58:42 +02:00
iwilltry42
7e775f009f
Tests/E2E: include heper image builds in e2e tests 2020-06-18 10:02:46 +02:00
iwilltry42
76d90478f5
Go Module: use v3 for go module compatibility 2020-06-18 07:58:36 +02:00
iwilltry42
acfa952b51
CI/drone: use DRONE_TAG 2020-06-17 20:05:01 +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
Antoine
a6aa1ff2d2
🔧 Update Makefile and .gitignore
Add go compiler flag to makefile
Add makefile target with debug compiler flag
Exclude Idea project file
2020-06-04 00:43:08 +02:00
Lionel Nicolas
1c7eaf7f35 installScript: fix duplication in curl command 2020-05-26 23:06:23 -04:00
iwilltry42
cb2a3bad2f
installScript: use channel server to fetch latest stable k3s version 2020-05-26 18:03:11 +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
986533de8d
Makefile: update golangci-lint version 2020-04-23 08:06:27 +02:00
iwilltry42
60b051fb34
tests/e2e: Enable setting the log level for E2E tests in Makefile 2020-04-22 13:06:53 +02:00
iwilltry42
be8bba9c40
update used version of golangci-lint 2020-04-06 16:37:26 +02:00
iwilltry42
1b70008457
use go 1.14 2020-03-29 18:32:44 +02:00
iwilltry42
671c108032
update Makefile 2020-01-27 16:17:49 +01:00
iwilltry42
4b2321b532
improve/fix Makefile 2020-01-15 09:26:40 +01:00
iwilltry42
0bca6cf52b use golangci-lint v1.20 2019-10-10 11:42:49 +02:00
iwilltry42
97739d12d1 use golangci-lint v1.20 2019-10-10 11:42:34 +02:00
iwilltry42
ac43655396 update golangci-lint 2019-09-26 18:15:06 +02:00
iwilltry42
0677fdd9fc Merge branch 'master' of https://github.com/rancher/k3d into refactoring/new-design 2019-09-06 12:26:06 +02:00
iwilltry42
eba563f000 improve repeatable build process and enable building with go1.13 2019-09-06 10:49:16 +02:00
iwilltry42
bdcdbd817a init cobra 2019-09-03 12:04:02 +02:00
iwilltry42
4747e8fdc3 add warning message for debugging tag issue 2019-07-25 15:40:17 +02:00
iwilltry42
238a07f8ff add warning message for debugging tag issue 2019-07-25 15:40:07 +02:00
iwilltry42
4701a8b65f make make error out if no K3S_TAG was found or set 2019-07-25 13:11:34 +02:00
Andy Zhou
abfd6bd18a Makefile: Add lint target and factor the check target 2019-05-16 23:37:46 -07:00
Andy Zhou
ae6c886364 Makefile: Fix SRC defintion
Current SRC definition only picks up main.go, not all golang source code
of the project. Fix so that 'make fmt" and 'make simplify' can work as
expected.
2019-05-16 00:01:47 -07:00
Andy Zhou
ba80a9113c Makefile: Add the install-tools target
ith a fresh checked out k3d tree without required tools installed, Any make command gives the following error message:

    Makefile:71: *** recipe commences before first target.  Stop.

Basically, the section around line 71 are not properly formed makefile rules. This error is hidden when required tools
are installed. The error can be re-exposed with the "make extra-clean" command.

The install-tools target is intended to be invoked when installing the development tree for the fist time.
2019-05-01 16:59:49 -07:00
Andy Zhou
6bb72b1fdc Makefile: Add extra-clean to help with testing Makefile
The extra-clean target removes the dependent packages that k3d requires. This makes testing
makefile rules that install those packages easier.

This target helps to expose a bug that the next patch fixes.
2019-05-01 16:56:05 -07:00
iwilltry42
6fdc1e4a70 automatically get latest k3s version tag at build time 2019-04-23 11:12:42 +02:00
iwilltry42
866b98c429 rename and add authors 2019-04-12 07:36:59 +02:00
iwilltry42
4e477d3262 rename to k3d 2019-04-10 20:10:36 +02:00
Rishabh Gupta
29fced4ef7 Added version tags, separated command implementaitons, added wait and timeout
Signed-off-by: Rishabh Gupta <r.g.gupta@outlook.com>
2019-04-09 13:47:47 +05:30
iwilltry42
76b80c40fa improve makefile 2019-04-04 08:20:16 +02:00
iwilltry42
8758d5b48d cleanup and add travis 2019-04-04 08:08:09 +02:00
iwilltry42
dd09095ab8 update targets 2019-04-03 10:32:13 +02:00
iwilltry42
ebad6f792c add Makefile 2019-04-03 09:58:00 +02:00