Commit Graph

55 Commits (b4eca61aeb833724dd0bb277bff8982e7d9ee9b7)

Author SHA1 Message Date
Chris Kim c5832c1128 Bump Kubernetes to v1.21.3
* Bump golang to 1.16.6
* Update to v1.21.3

Signed-off-by: Chris Kim <oats87g@gmail.com>
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 9c981b0184)
2021-07-20 16:08:41 -07:00
Erik Wilson 11c5effca2
Bump to go 1.16.4 2021-05-14 10:36:13 -07:00
Jacob Blain Christen 0d05b14b71
runc: v1.0.0-rc94 (#3305)
- bump the runc version to v1.0.0-rc94
- build runc from its own source tree instead of from ./vendor/
  - side-steps incompatibility with upstream kubelet container manager

Signed-off-by: Jacob Blain Christen <dweomer5@gmail.com>
2021-05-12 11:50:24 -07:00
Brad Davidson e8381db778 Update Kubernetes to v1.21.0
* Update Kubernetes to v1.21.0
* Update to golang v1.16.2
* Update dependent modules to track with upstream
* Switch to upstream flannel
* Track changes to upstream cloud-controller-manager and FeatureGates

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-04-14 14:51:42 -07:00
Brad Davidson 58e93feda6
Fix CI failures non-deterministic traefik chart repackaging (#3165)
* Fix CI failures non-deterministic traefik chart repackaging
* Update generated bindata

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-04-08 15:33:15 -07:00
Jacob Blain Christen 93b18b343a Update to Kubernetes v1.20.5 (#3094)
* Update to Kubernetes v1.20.5
* vendor: bumps for some containerd deps
* go: bump to 1.16.2 for arm

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
(cherry picked from commit 355fff3017)
2021-03-31 14:18:41 -07:00
Chin-Ya Huang 10e0328977
Traefik v2 integration
K3s upgrade via watch over file change of static file and manifest
and triggers helm-controller for change. It seems reasonable to
only allow upgrade traefik v1->v2 when there is no existing custom
traefik HelmChartConfig in the cluster to avoid any
incompatibility.

Here also separate the CRDs and put them into a different chart
to support CRD upgrade.

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2021-03-01 10:44:23 -07:00
Brad Davidson 6c472b5942 Use zstd instead of gzip for embedded tarball
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-08 21:08:35 -08:00
Brad Davidson 1d85a6a30a Bump golang to 1.15.8
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-08 09:52:09 -08:00
Brian Downs 821fa6d93f
bump Go to version 1.15.5 (#2638)
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-12-08 11:50:31 -07:00
Brad Davidson 10474638d7 Clean up architecture handling
* Remove unused release.sh and DAPPER_HOST_ARCH
* Reliably use ARCH from version.sh
* Export GOARCH and GOARM so that they are used by `go build`

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-11-18 15:25:39 -08:00
Brad Davidson c72c1867d8 Add GH auth for Trivy
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-11-09 12:30:39 -08:00
Brad Davidson f5b506ccaf Add trivy cache volume to build
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-21 17:16:11 -07:00
Brian Downs 20a8327214 use latest trivy version
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-16 13:49:51 -07:00
Brian Downs 3a2aff67da update shell if syntax
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-15 12:31:57 -07:00
Brian Downs 75209a7ec7 add support for arm
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-15 12:28:46 -07:00
Brian Downs f4c12a44ee add trivy scans for built images
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-15 11:43:27 -07:00
Brad Davidson 617b34c588 Update golang to 1.15.2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-11 11:52:03 -07:00
Erik Wilson c1413e1c89
Update golangci-lint to v1.30.0 2020-08-28 17:18:29 -07:00
Erik Wilson debf8005ca
Update for golang 1.15.0 2020-08-28 17:18:28 -07:00
Jacob Blain Christen 3f8c94254a golang: 1.13.15
- https://github.com/golang/go/issues?q=milestone%3AGo1.13.15+label%3ACherryPickApproved

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2020-08-10 15:39:36 -07:00
Brad Davidson 1b78715903 Update base image version in Dockerfiles
Should hopefully fix issues that cropped up with arm builds failing due
to the sqlite libs from alpine 3.10 no longer being compatible with
alpine edge, which was probably never a safe assumption to begin with.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-07-28 00:23:46 -07:00
Darren Shepherd 4317a91b96 Delete dqlite 2020-06-06 16:39:41 -07:00
Erik Wilson 25d43177ff Bump golang to 1.13.11 2020-05-26 15:55:58 -07:00
galal-hussein dae4a92091 update dqlite-build and kine 2020-04-23 22:34:44 +02: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 2a39fffea9 Dockerfile.dapper: Use = instead of == for portability
By using the POSIX = instead of == in the shell script comparison, we
don't have to rely on the go container's /bin/sh being a shell that
handles ==. (Even if it currently is.)

Change-Id: Ie02c8e27c3eecc957278c274fee661abb2c8abcf
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-05 15:30:11 +01:00
Erik Wilson 5eb1b21822 Clean up building && provide Vagrant centos7 setup 2020-02-28 15:39:11 -07:00
Darren Shepherd 4d32fe9959 Support SELinux 2020-02-24 16:03:09 -07:00
Erik Wilson 33ecc68989 Upgrade golang to v1.13.8 2020-02-14 15:14:49 -07:00
Erik Wilson 6be2f9341c Upgrade go to v1.13.6 2020-01-20 20:34:57 -07:00
Chris Fleming 9764a614ef
Update dqlite to 1.3.1-r1
Should resolve rancher/k3s#1283
2020-01-17 21:25:54 +00:00
Erik Wilson ff311b7fce Upload build to google cloud bucket 2019-12-24 09:58:43 -07:00
Darren Shepherd 4acaa0740d Small dqlite fixes 2019-12-16 11:45:01 -07:00
Erik Wilson de42d457b3 Upgrade go to 1.13.5 2019-12-10 14:47:25 -07:00
Darren Shepherd 034ffd7820 Bump dqlite to support arm 32-bit 2019-12-02 09:16:10 -07:00
Darren Shepherd 3d7781df70 Disable go modules only in dapper, not always 2019-11-13 14:49:54 +00:00
Erik Wilson dd89c5119c Bump go to 1.13.4 2019-11-12 16:35:54 -07:00
Darren Shepherd da28f39497 Enable dqlite in dapper 2019-11-12 08:22:44 +00:00
Erik Wilson 3763b77e93 Downgrade build go to v1.12.12 2019-10-25 02:55:17 -07:00
Erik Wilson ec19ba4e58 Downgrade go to v1.13.2 2019-10-24 20:41:39 -07:00
Erik Wilson fb880aa80e Bump go to v1.13.3 2019-10-18 11:34:47 -07:00
Rui Chen ba787a7ec0 Upgrade to go v1.13.1 2019-09-29 21:17:11 -04:00
Darren Shepherd f208c9a563 Pass SKIP_VALIDATE env var 2019-09-27 14:47:02 -07:00
William Zhang 635e1295c2 upgrade to go1.12.9 & alpine3.10
Signed-off-by: William Zhang <zhang.wanmin@zte.com.cn>
2019-08-16 15:55:52 +08:00
Erik Wilson b4b7504a7f Update to go v1.12.1 2019-03-25 16:04:29 -07:00
Erik Wilson 1f82d834e7 Upgrade to golangci-lint 2019-03-25 16:04:28 -07:00
longfei d24973553f Fix go get golang.org/x/* packages timed out issue.
Change-Id: I60c92d0127cfc503c46b26fe7b2e3ad2f957dfa3
2019-03-19 17:15:25 +08:00
Darren Shepherd 90357b4d74 Speed up build 2019-02-08 14:54:43 -07:00
Darren Shepherd 6c294dab7d Fix path breaking image build 2019-02-05 11:16:16 -07:00