Commit Graph

405 Commits (b8f101fd892b200054f61bd9f92401f92b1389a1)

Author SHA1 Message Date
galal-hussein 10db6a4c51 update klipper image im image-list 2020-06-08 21:57:29 +02:00
Darren Shepherd 4317a91b96 Delete dqlite 2020-06-06 16:39:41 -07:00
Taeho Kim 0a30b92089
Update image-list.txt 2020-06-02 23:34:07 +09:00
Erik Wilson 02dccd328a
Merge pull request #1835 from evrardjp/remove-trailing-whitespaces
Remove trailing whitespaces
2020-05-28 17:07:01 -07:00
Brian Downs 3864fa2ba8 update CNI to v0.8.6-k3s1 2020-05-28 14:44:03 -07:00
Jean-Philippe Evrard eabc82c724 Remove trailing whitespaces
To please my OCD, and remove my editor flashing boxes,
I am removing trailing whitespaces. They have no purpose in life.
2020-05-27 17:27:30 +02:00
Erik Wilson c769bb115a
Merge pull request #1500 from joakimr-axis/joakimr-axis_package-cli
package-cli: Remove redundant rm -rf build/data
2020-05-04 19:24:21 -07:00
Erik Wilson 202a2ae482 Check for correct go vendoring 2020-05-04 17:26:05 -07:00
Erik Wilson 82cb820a1a
Merge pull request #1737 from erikwilson/bump-k3s-root
Bump k3s-root to 0.4.1
2020-05-04 10:39:26 -07:00
Erik Wilson 5d77f24e7e Bump k3s-root to 0.4.1 2020-05-04 09:18:35 -07:00
Darren Shepherd ad557bfeed
Merge pull request #1659 from joakimr-axis/joakimr-axis_package-cli-clean
package-cli: Remove superfluous file exist check
2020-04-27 09:23:16 -07:00
galal-hussein 37e91dc3a1 update klipper image in airgap 2020-04-23 20:50:32 +02:00
Joakim Roubert ce109602cb package-cli: Remove superfluous file exist check
The command rm -f will succeed even if run for a file that does not
exist. Hence it is superfluous to existence check a file that we want
to purge with rm -f, which makes the script a bit simpler to read.

Change-Id: If4eafea568301f418e0dd533e7175781ebf6000a
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-21 14:26:05 +02:00
Joakim Roubert 9307fcc332 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Change-Id: Id81a05dcf2dadcc60ef8171494a284fbe1630400
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-21 13:33:29 +02:00
Erik Wilson 0434eea44c Disable conformance test for arm64 2020-04-19 08:52:51 -07:00
Joakim Roubert b313c196a1 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier;
also using the -f flag for ln rather than having a separate rm step.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-16 08:47:41 +02:00
Joakim Roubert bb0b4db228
Let variable handle go binary name in scripts (#1532)
During e.g. cross-compiling, it is sometimes useful to be able to have
another binary than the default one as the compiler. This patch for the
build scripts lets "go" be the default value for the variable GO, and
the latter is then used as the go compiler.

Change-Id: I0adf7a661b26593d9b0ea902a61b631b80e76ae7
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-25 12:35:07 -07:00
Joakim Roubert 47e4e7b582
Dockerfile.dapper: Add proxy handling (#1499)
With this patch the dapper build will also work in environments behind
proxies.

Change-Id: I6d9c03d03d2e254043720fc7e77822826e4f38c8
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-25 12:34:20 -07:00
Joakim Roubert 36908f2152
Merge branch 'master' into joakimr-axis_comparison 2020-03-24 09:24:52 +01:00
galal-hussein 2b6faa925f use mirrored images for traefik and coredns 2020-03-23 19:00:30 +02:00
Joakim Roubert 9741fe7c85
Merge branch 'master' into joakimr-axis_comparison 2020-03-17 08:28:25 +01:00
Erik Wilson 2835c76e5d Add airgap image list to release artifacts 2020-03-16 18:03:20 -07:00
Erik Wilson d15eb6aab6 Update RPM systemd services for easy modification.
Modified installer produces a k3s-server and k3s-agent systemd
service, with env files located in /etc/rancher/k3s.

The k3s-server service may be started without modification but
k3s-agent requires a token and url modification to the
/etc/rancher/k3s/k3s-agent.env file for functionality.

The k3s-server service will conflict with the k3s-agent service,
so both may not be started at the same time.

Creates ./package/rpm/ repo dir for rpm specific resources and
relocates k3s.spec.
2020-03-16 17:23:43 -07:00
Joakim Roubert 9421da08ac
Merge branch 'master' into joakimr-axis_comparison 2020-03-13 10:28:06 +01:00
galal-hussein 97cb85ced8 Fix test-run-basics to check for traefik 2020-03-11 01:54:12 +02:00
galal-hussein 3f927d8006 Revert "Replace traefik with nginx"
This reverts commit 9a17033095.
2020-03-11 01:45:23 +02:00
Erik Wilson d578198ac0 Add rpm build & repo publish 2020-03-10 11:48:14 -07:00
Erik Wilson 456962b2b8 Update versioning for no .git or go 2020-03-10 11:25:43 -07:00
Erik Wilson 2071247a2f Cleanup prompt for vagrant centos 2020-03-10 11:25:43 -07:00
Erik Wilson d95707e294 Clean up airgap image list 2020-03-09 20:29:41 -07:00
Erik Wilson 9b8e829ec7 Check for changes in the airgap image list 2020-03-09 19:58:00 -07:00
Joakim Roubert e5d43e1382
Merge branch 'master' into joakimr-axis_comparison 2020-03-09 10:16:23 +01:00
galal-hussein 717b5a765e use multiarch image for nginx 2020-03-07 00:19:32 +02:00
Joakim Roubert 0a54d46c5b Fix inconsistent shell script comparison operator ==
In package-airgap and provision/vagrant, replace == with = which is
used in all other script string comparisons in this repository to keep
things consistent.

Change-Id: I2f59e9a8d1d2fc2984ed3952fd4794f1028b6f66
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-04 16:26:55 +01:00
Erik Wilson ceff3f58fb
Merge pull request #1466 from galal-hussein/traefik_to_nginx
Replace traefik with nginx
2020-03-02 15:04:09 -07:00
galal-hussein 9a17033095 Replace traefik with nginx 2020-03-03 00:00:39 +02:00
Erik Wilson 74b5a4d5e0 Add ubuntu to vagrant provision 2020-03-02 09:38:07 -07:00
Erik Wilson 4370fc1482 Remove old runc & containerd shims on build 2020-02-28 17:32:42 -07:00
Erik Wilson 89fa8afaa3 Cleanup vagrant provision scripts 2020-02-28 16:51:19 -07:00
Erik Wilson 5eb1b21822 Clean up building && provide Vagrant centos7 setup 2020-02-28 15:39:11 -07:00
Erik Wilson f31a8d9e94
Merge pull request #1456 from galal-hussein/new_branch
Send dispatch event with drone
2020-02-26 13:09:24 -07:00
galal-hussein b2ac8aad22 Send dispatch event with drone 2020-02-25 20:10:32 +02:00
Darren Shepherd 4d32fe9959 Support SELinux 2020-02-24 16:03:09 -07:00
Erik Wilson c100dfc2cb Add 'k3s' to kubernetes version metadata in dev builds 2020-02-24 14:50:03 -07:00
Erik Wilson a7053f392e Create a latest tag in docker hub for new releases 2020-02-14 11:35:21 -07:00
Erik Wilson 849f3c5521 Remove cgroup provision from dev vagrant script 2020-02-05 18:48:43 -07:00
Erik Wilson 6317da01e5 Enforce that tag versions are prefixed with k8s go.mod version 2020-01-24 10:55:35 -07:00
Erik Wilson 5221af4752 Fix exit code on test error 2020-01-24 07:37:54 -07:00
Erik Wilson 940be0e515 Fix e2e logs not published 2020-01-21 14:51:07 -07:00
Erik Wilson 129317db7a
Merge pull request #1330 from erikwilson/sonobuoy-conformance-version
Cleanup sonobuoy
2020-01-21 11:48:50 -07:00
Erik Wilson d6370d9bfb Bump helm-controller to v0.4.1 2020-01-21 11:47:22 -07:00
Erik Wilson 5117ea0ca7 Always exit 0 on tag for tests 2020-01-21 11:07:12 -07:00
Erik Wilson 4ec28d2707 Set conformance version from k8s version 2020-01-21 10:32:08 -07:00
Erik Wilson c110f17df4 Disable db tests on publish 2020-01-20 19:34:01 -07:00
Erik Wilson 7305b4091e
Merge pull request #1324 from erikwilson/enable-db-tests
Enable mysql & postgres tests
2020-01-20 16:49:40 -07:00
Erik Wilson 40a4e953ff Enable mysql & postgres tests 2020-01-20 16:22:23 -07:00
Erik Wilson 7d9bdaee23 Check versions for dot in metadata 2020-01-20 16:01:04 -07:00
Erik Wilson 211d735a08 Update manifest 2020-01-20 15:05:46 -07:00
Erik Wilson 4439a7df08 Test cleanup 2020-01-16 14:54:58 -07:00
Erik Wilson 0867ee1cd0 Update air-gap for traefik 1.7.19 2019-12-24 11:32:06 -07:00
Erik Wilson 8498840922
Merge pull request #1239 from erikwilson/upload-builds-cloud-storage
Upload build to google cloud bucket
2019-12-24 10:27:27 -07:00
Erik Wilson ff311b7fce Upload build to google cloud bucket 2019-12-24 09:58:43 -07:00
William Zhang a6d29b2ba9 Update klipper-helm images to v0.2.2
follow with 8f8cfd102c (diff-579f509a7a35baa26b8b932d79aa954fR42)

Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-12-24 17:26:05 +08:00
Erik Wilson 178898f969 Fix missing version for tags 2019-12-17 23:29:05 -07:00
Erik Wilson e72e9e3daa Cleanup k8s versioning 2019-12-17 12:21:47 -07:00
Erik Wilson 07028a3115 Fix image tags, replace + with - 2019-12-15 23:28:25 -07:00
Erik Wilson bddab9479c Set build version of k8s from k3s 2019-12-15 23:28:25 -07:00
Erik Wilson ce3a03a16a
Merge pull request #1111 from dduportal/patch-1
Bump Traefik to 1.7.19
2019-11-26 15:29:57 -07:00
Guangbo Chen 8ff4c3c256 Update base pause image to rancher repo 2019-11-25 16:09:05 +08:00
Damien Duportal 8fa125a8ff
update script 2019-11-23 07:53:10 +01:00
Erik Wilson 670d4b4162
Merge pull request #914 from erikwilson/validation-utilities
Add check-config for system validation
2019-11-13 09:00:08 -07:00
Erik Wilson a73f8b1773 Update check-config.sh for k3s 2019-11-13 08:34:24 -07:00
Darren Shepherd 9a4df7c05c
Merge pull request #1058 from ibuildthecloud/master
Update kine/dynamiclistener
2019-11-13 15:31:48 +00:00
Darren Shepherd 3d7781df70 Disable go modules only in dapper, not always 2019-11-13 14:49:54 +00:00
Erik Wilson 57f1f82e58 Use netcgo 2019-11-12 20:17:42 -07:00
Erik Wilson a5ddbe1f45
Merge pull request #1055 from erikwilson/bump-go-1.13
Bump go to 1.13.4
2019-11-12 20:15:34 -07:00
Erik Wilson 0a843a11c6 Show single sonobuoy failure 2019-11-12 19:46:34 -07:00
Erik Wilson 2eb34a7db1 Add metrics-server to air-gap image list 2019-11-12 17:16:17 -07:00
Erik Wilson 671d702dc1 Build cleanup 2019-11-12 17:04:03 -07:00
Darren Shepherd faab6b4c55 Enabled debug in sonobouy server 2019-11-12 08:22:48 +00:00
Darren Shepherd 1f9e92e91f Optionally enabled dqlite in build scripts 2019-11-12 06:15:05 +00:00
Erik Wilson c62c428204 Upload logs to gcloud 2019-11-11 20:19:19 -07:00
Darren Shepherd dca6a22f3f Don't build cni on each ./scripts/build invocation 2019-11-12 01:12:24 +00:00
Darren Shepherd c3cb09cbdc Don't build hyperkube anymore 2019-11-12 01:12:24 +00:00
Darren Shepherd 561bc96049 Change sonobuoy logging 2019-11-12 01:11:56 +00:00
Darren Shepherd 1429496b39 Add kubelet dir as volume in docker 2019-11-07 19:59:29 +00:00
Erik Wilson 0fef39de65 Add default multi-arch metrics-server deployment 2019-11-05 10:11:08 -07:00
Erik Wilson afa9422ad9 Improve ip6 system setup & utilities 2019-11-04 11:35:14 -07:00
Erik Wilson 01707ce451 Use vendor prefix for versions if not using go mod 2019-11-01 11:56:42 -07:00
Erik Wilson b680295922 Check for invalid kubectl/ctr/crictl version strings 2019-11-01 11:50:29 -07:00
Erik Wilson 063ad84f44 Enable sonobuoy local-path-provisioner startup check 2019-10-26 18:53:55 -07:00
Erik Wilson 04e44b69d2 Cleanup sonobuoy script 2019-10-26 18:53:54 -07:00
Erik Wilson e0211b3f5f Enable arm sonobuoy for drone but don't run tests
Bring up the cluster but early exit, arm images
do not exist for sonobuoy testing.
2019-10-25 03:06:07 -07:00
Erik Wilson 1cafdb8653 Show failing logs 2019-10-25 03:06:07 -07:00
Brennan Ashton af7dc09f5c Bump klipper-lb version
Signed-off-by: Brennan Ashton <brennana@jfrog.com>
2019-10-24 14:01:47 -07:00
Erik Wilson 90df4a1921 Use containerd-shim-run-v2 2019-10-18 12:34:27 -07:00
Erik Wilson 3fa953d577 Build legacy containerd-shim for upgrades 2019-10-17 19:54:42 -07:00
Erik Wilson d8b6ac8d3e Update airgap images to include rancher/local-path-provisioner 2019-10-15 11:06:50 -07:00
Erik Wilson 25c81f3cfe
Merge pull request #898 from erikwilson/update-sonobuoy-builds
Clean up sonobuoy testing
2019-10-14 14:58:37 -07:00
Erik Wilson 8beb368bfc Clean up sonobuoy testing 2019-10-14 14:27:39 -07:00
Erik Wilson 2ef3a2058d Fix versioning for containerd & crictl 2019-10-14 12:54:10 -07:00
Erik Wilson fefa44feac Update sonobuoy to v0.16.1 and use e2e go runner 2019-10-09 15:06:17 -07:00
Erik Wilson 830969449e Upgrade k3s-root to v0.3.0 2019-10-03 19:35:23 -07:00
Erik Wilson 6b7d972590 Cleanup build script
Separate version flags and build CNI plugins in a temp directory.
2019-10-03 10:25:05 -07:00
Erik Wilson 262a4950bf Separate CNI plugin dependencies
Because:
- Current CNI plugins produces an error on Raspbian:
  `failed to create bridge \"cni0\": could not add \"cni0\": operation not supported"`
- Dependencies for CNI plugins may interfere with containerd dependencies.

This change will compile and download CNI plugins separately, and will
downgrade CNI plugins to v0.7.6 for compatability with armv7.
2019-10-02 18:48:30 -07:00
Erik Wilson 999e40d6d3 Add strongswan utilities for ipsec 2019-09-27 18:26:39 -07:00
Erik Wilson 959acf9c92 Add --flannel-backend flag 2019-09-27 18:26:39 -07:00
Darren Shepherd f2f5ac55c2 Update to k3s-root v0.2.0 2019-09-27 16:54:37 -07:00
Darren Shepherd 26342e42ca Switch to building runc-v1 2019-09-27 14:49:39 -07:00
Darren Shepherd 59d3b4de63 Add providerless build tag 2019-09-27 14:47:02 -07:00
Darren Shepherd 0677cb2009 Always set VERSION for CONTAINERD, CRICTL even when your go mod is wrong 2019-09-27 14:47:02 -07:00
Erik Wilson 116315f81f Upgrade sonobuoy to 0.16.0 2019-09-20 11:31:19 -07:00
Darren Shepherd 5315b816ad
Move download to Rancher repo 2019-09-19 17:17:56 -07:00
Erik Wilson db9540aa10 Bump CoreDNS to v1.6.3 2019-09-18 17:11:04 -07:00
Darren Shepherd 8ed2eb751f Update version scripts to read from go.mod 2019-09-04 21:13:39 -07:00
Manuel Zapf 50227ff894 bump traefik version to 1.7.14 (#769)
* bump traefik version
2019-08-28 20:21:07 -07:00
William Zhang 458cea6633 Update traefik to 1.7.12
Signed-off-by: William Zhang <warmchang@outlook.com>
2019-08-20 02:35:07 +00:00
Erik Wilson 9452dec078 Cleanup sonobuoy logging 2019-07-27 17:01:10 -07:00
Erik Wilson de8b811ff6 Save failed logs to haste 2019-07-26 15:22:35 -07:00
Erik Wilson 70090a8ad3 Define containerd and cri-tools version 2019-07-09 20:54:13 -07:00
Erik Wilson f12d343147 Cleanup sonobuoy scripts 2019-07-04 08:07:26 -07:00
Erik Wilson 7a6e6a19d6 Clean up sonobuoy scripts 2019-07-02 15:11:39 -07:00
Erik Wilson 7a1fad75bc Clean up sonobuoy scripts 2019-07-02 14:37:44 -07:00
Erik Wilson 75dbce574b Cleanup sonobuoy logging 2019-07-01 16:58:22 -07:00
Erik Wilson 518aac2b78 Clean up sonobuoy cleanup 2019-07-01 16:05:25 -07:00
Erik Wilson c14ffd3c6c Clean up sonobuoy e2e tests 2019-07-01 13:50:32 -07:00
Erik Wilson ed72856d27 Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
Darren Shepherd c0702b0492 Port to wrangler 2019-05-26 22:28:50 -07:00
Erik Wilson be7acee3c6 Add e2e enhancements 2019-05-03 16:04:37 -07:00
Darren Shepherd f10b43de25
Merge pull request #430 from galal-hussein/fix_mount_problem
Use host's mount binary before packaged busybox binary
2019-05-02 15:46:24 -07:00
galal-hussein e2ecb672db Use host's mount binary before packaged mount 2019-05-03 00:33:35 +02:00
Erik Wilson 3f849786de Fix e2e testing on publish 2019-05-02 12:11:15 -07:00
Erik Wilson 52efc5403b Add e2e testing 2019-04-30 10:16:41 -07:00
Erik Wilson fd92bcaa25 Add Vagrantfile for development use 2019-04-22 13:47:42 -07:00
Darren Shepherd 046a817818 Add rootless support 2019-04-09 10:38:04 -07:00
Erik Wilson 1f82d834e7 Upgrade to golangci-lint 2019-03-25 16:04:28 -07:00
Erik Wilson 4456ad84db Move build download to ci 2019-03-24 12:14:01 -07:00
Erik Wilson 5d21064d89 Fix build validation 2019-03-24 12:00:04 -07:00
Erik Wilson 40172dc508 Package airgap image files
Generate airgap artifacts from an images list for each architecture.
2019-03-22 06:05:26 +00:00
Darren Shepherd 78d75fb15b
Merge pull request #204 from superseb/version
Fix version for cli
2019-03-20 11:49:59 -07:00
Erik Wilson ffcc9c0c9c Package static assets
Include static Helm assets in the build process needed for air-gap
2019-03-20 18:35:25 +00:00
Sebastiaan van Steenis c8e79d30ae Fix version for cli 2019-03-09 15:12:15 +01:00
Darren Shepherd c7b2548f66 Fixup pr165 2019-03-07 09:32:33 -07:00
David Pendray d7e5c86041 Fix node-token path not resolving for root user in agent scripts 2019-03-07 00:15:10 +00:00
Darren Shepherd 01b3bb315e Fix version printing on startup 2019-02-07 21:45:31 -07:00
Darren Shepherd 793ac4fb89 Add crictl 2019-02-07 21:45:31 -07:00
Darren Shepherd ce11c0f6f3 Get ARM CI working 2019-02-04 22:04:33 -07:00
Darren Shepherd e832588662 Add embedded service load balancer 2019-02-04 16:47:53 -07:00
Darren Shepherd 24463d4985 Patch and setup unpigz 2019-02-04 16:47:53 -07:00
Darren Shepherd 8cd38003c2 Scripts cleanup 2019-01-25 22:09:46 -07:00
Darren Shepherd 6fa96105b9 Fail if source is dirty 2019-01-24 10:57:19 -07:00
Darren Shepherd 6fa7f5b3ae Clean up build scripts
Switch binaries to armhf suffix to be more clean on the on
architecture
2019-01-24 10:51:37 -07:00
Darren Shepherd 287e0f44c9 Prepare for initial release 2019-01-22 14:20:29 -07:00
Darren Shepherd 62c62cc7b4 Continued refactoring 2019-01-11 21:52:30 -07:00
Darren Shepherd 9bb7c27c62 Initial Commit 2019-01-01 01:23:01 -07:00