Commit Graph

405 Commits

Author SHA1 Message Date
Brad Davidson
5a923ab8dc Add containerd ready channel to delay etcd node join
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-14 14:03:52 -07:00
Michal Rostecki
623f579869
Merge pull request #4192 from vadorovsky/vagrant-fixes
Various Vagrant improvements
2021-10-13 02:34:31 +02:00
Jacob Blain Christen
6b4d75d245
maintainers: add Manuel and Michal (#4193)
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-10-12 16:44:32 -07:00
Michal Rostecki
d6b6a3ee9f vagrant: Add Ubuntu 21.04 support
By simply adding a symlink.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 19:28:07 +02:00
Michal Rostecki
5e01201195 vagrant: Update package list for Ubuntu
Before this change, Ubuntu provisioning script used the package list
from Alpine. But a lot of packages from that list have name mismatches.
Biggest example - `docker`, which has nothing to do with Docker as a
container engine in Ubuntu (the proper package is `docker.io`). Let's
just keep the full list for Ubuntu in its own provisioning script.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-12 15:06:56 +02:00
Luther Monson
9e787bfacb moving fossa to being inline step with a sles image
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-10-06 16:47:49 -07:00
Manuel Buil
00cf4578ec Dual-stack support LB controller
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-10-06 11:06:20 +02:00
Brad Davidson
cd5002ea37 Skip tests that violate version skew policy
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-09-30 12:26:35 -07:00
Michal Rostecki
47676eff78
Merge pull request #4080 from manuelbuil/update_klipperlb2
Use the new klipper-lb image that has newer go and Alpine versions
2021-09-27 10:11:52 +02:00
Luther Monson
4ec71b360c Adding fossa anaylze/test drone step
Signed-off-by: Luther Monson <luther.monson@gmail.com>
2021-09-23 17:04:24 -07:00
Manuel Buil
b99b943c17 Use the new klipper-lb image that has newer go and Alpine versions
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-09-22 09:23:38 +02:00
Brad Davidson
28be0de4e8 Revert "Use the newer klipper-lb image"
This reverts commit 1d21491094.
2021-09-20 13:19:38 -07:00
Manuel Buil
1d21491094 Use the newer klipper-lb image
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-09-17 15:42:48 -07:00
Brad Davidson
5e0fae914f Bump helm-controller and klipper-helm image version
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-09-15 00:09:22 -07:00
Kohei Tokunaga
8b857eef9c
Ship Stargz Snapshotter (#2936)
* Ship Stargz Snapshotter

Signed-off-by: ktock <ktokunaga.mail@gmail.com>

* Bump github.com/containerd/stargz-snapshotter to v0.8.0

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-09-01 16:27:42 -07:00
Derek Nola
60297a1bbe
Creation of K3s integration test Sonobuoy plugin (#3931)
* Added test runner and build files
* Changes to int test to output junit results.
* Updated documentation, removed comments

Signed-off-by: dereknola <derek.nola@suse.com>
2021-08-30 08:27:59 -07:00
Manuel Buil
736c262612 Move cniplugins version to 0.9.1
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-08-27 10:37:21 +02:00
Akihiro Suda
331c6fed71 Remove runtime V1 (containerd-shim)
Fix issue 3105

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-08-26 11:50:33 -07:00
Brad Davidson
58315fe135 Set osImage for docker image
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00
Brad Davidson
156bae2940 Fix PREVIOUS_CHANNEL lookup when current minor release is not stable
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00
Brad Davidson
a5355f0827 Replace dropped v1beta1 APIs with v1
Requires updating traefik as well to drop deprecated types.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00
Brad Davidson
e204d863a5 Update Kubernetes to v1.22.1
* Update Kubernetes to v1.22.1
* Update dependent modules to track with upstream

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00
Brad Davidson
a1097984c0 Bump helm-controller to work around tiller crashes
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-13 12:40:41 -07:00
Jiaqi Luo
3b01157a3a
Use New Image Names (#3749)
* switch image names to the ones with the prefix mirrored
* bump rancher/mirrored-coredns-coredns to 1.8.4

Signed-off-by: Jiaqi Luo <6218999+jiaqiluo@users.noreply.github.com>
2021-08-06 16:14:58 -07:00
Brad Davidson
338f9cae3f Bump helm-controller to v0.10.2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-05 09:54:34 -07:00
Ryan Sanna
429af17e4d update rancher/local-path-provisioner to v0.0.20
Signed-off-by: Ryan Sanna <ryansann@umich.edu>
2021-08-02 12:25:47 -07:00
Derek Nola
21c8a33647
Introduction of Integration Tests (#3695)
* Commit of new etcd snapshot integration tests.
* Updated integration github action to not run on doc changes.
* Update Drone runner to only run unit tests

Signed-off-by: dereknola <derek.nola@suse.com>
2021-07-26 09:59:33 -07:00
Chris Kim
ad28d18b19
Bump helm-controller to v0.10.1 (#3644)
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-15 11:31:44 -07:00
Manuel Buil
fbc41ed753 Upgrade k3s-root version
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-07-13 18:09:58 +02:00
Brad Davidson
dd8398dc76 Bump the packaged runc binary version
Not bumping runc in go.mod yet, as upstream Kubernetes still requires
runc/libcontainer v1.0.0-rc95

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-08 16:29:37 -07:00
Chris Kim
81b006c938
Dispatch to rancher/system-agent-installer-k3s when tagged (#3589)
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-07-07 10:11:13 -07:00
Brad Davidson
6b3285b7e3 Fix coverage reporting to include all packages, not just those with tests
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-07-01 19:21:28 -07:00
Derek Nola
7242ce9316
Redux: Add Unit Test Coverage to CI (#3524)
* Added Github action to run unit tests and connect to Codecov

Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-29 11:27:50 -07:00
Derek Nola
cf55712767
Revert "Add Unit Test Coverage to CI (#3494)" (#3499)
This reverts commit 216b3beaef.
2021-06-23 12:40:13 -07:00
Derek Nola
216b3beaef
Add Unit Test Coverage to CI (#3494)
* Added Github action to run unit tests and connect to Codecov

Signed-off-by: dereknola <derek.nola@suse.com>
2021-06-23 09:21:59 -07:00
Jacob Blain Christen
f11cbc5a8e
runc: v1.0.0-rc95 (#3348)
- Addresses #3299

Signed-off-by: Jacob Blain Christen <dweomer5@gmail.com>
2021-05-19 11:34:44 -07:00
Brad Davidson
7e175e8ad4 Handle conntrack-related sysctls in supervisor agent setup
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-18 13:40:44 -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
02a5bee62f
Add system-default-registry support and remove shared code (#3285)
* Move registries.yaml handling out to rancher/wharfie
* Add system-default-registry support
* Add CLI support for kubelet image credential providers

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-10 15:58:41 -07:00
Menna Elmasry
91c5797016
add new-line
Co-authored-by: Brian Downs <brian.downs@gmail.com>
2021-05-05 19:06:12 +02:00
MonzElmasry
45265620c1
Add ci step to validate incorerct replacement fork
Signed-off-by: MonzElmasry <menna.elmasry@rancher.com>
2021-05-05 17:10:40 +02:00
Brad Davidson
94266658f6 Reduce node and service wait times
Some of the new node compat tests take a while before failing as
expected. We don't seem to need the additional time any longer to avoid
flakes, so turn it down a bit.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-04-14 14:51:42 -07:00
Brad Davidson
503d6813bb Add gzip and zst airgap artifacts
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-04-09 16:57:59 -07:00
Brian Downs
693c5290b1
Update CoreDNS to version 1.8.3. (#3168)
* update CoreDNS to 1.8.3

Rerun go generate and update the CoreDNS RBAC
2021-04-09 16:47:16 -07:00
Erik Wilson
f004d54883 Fix up vagrant provision scripts
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2021-04-08 17:42:58 -07:00
Erik Wilson
9a53fca872 Bump traefik to v2.4.8
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2021-04-08 17:42:58 -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
Brad Davidson
66b9e9c4c8 Suppress test failure due to incompatible server
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-03-01 14:23:59 -08:00
Brad Davidson
7734015db7 Add script to test server/agent version compatibility
We have had a couple issues with newer agents not working with old
servers or vice versa. Add a CI test to test variations on
uplevel/downlevel server/agent against latest, stable, and the previous
branch.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-03-01 14:23:59 -08:00
Erik Wilson
4aac6b6bd0
Update to Traefik 2.4.2 and combine manifests 2021-03-01 10:44:24 -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
0f55f167fd Update k3s-root to v0.8.1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-18 09:46:15 -08:00
Brad Davidson
88dd601941 Limit zstd decoder memory
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-17 11:48:03 -08:00
Erik Wilson
473e340acd
Add opensuse 15 vagrant provision 2021-02-09 13:07:32 -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
c5e2676d5c
Update local-path-provisioner and helper busybox (#2885)
* Update local-path-provisioner and helper busybox

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-02-04 10:49:25 -08:00
Brad Davidson
2555ffe9f8 Bump k3s-root to v0.8.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-26 15:54:48 -08:00
Brad Davidson
e8e34a549a Update k3s-root to v0.7.3
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-22 21:21:25 -08:00
Brad Davidson
fd991cb964 Improve sonobuoy status output handling
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-22 16:13:36 -08:00
Brad Davidson
97a606bac1 Update sonobuoy version for v1.20.0
Also drop the rancher-mirrored sonobuoy image since CI has a
pull-through image cache now.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-22 16:13:36 -08:00
Brian Downs
13229019f8
Add ability to perform an etcd on-demand snapshot via cli (#2819)
* add ability to perform an etcd on-demand snapshot via cli
2021-01-21 14:09:15 -07:00
Brad Davidson
26d45287b6
Update helm-controller to v0.8.3 (#2793)
* Update helm-controller to v0.8.3
* Update klipper-helm image

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-01-11 12:09:39 -08:00
JenTing Hsiao
578e116e20 Fix typo
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2021-01-04 11:11:50 -08:00
JenTing Hsiao
57041f0239
Add codespell CI test and fix codespell error (#2740)
* Add codespell CI test
* Fix codespell error
2020-12-22 12:35:58 -08:00
Brad Davidson
2ea6b16315 Update stable charts URL
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-21 17:08:31 -08:00
Brad Davidson
5f53c0976c Expose failure if Traefik helm chart cannot be downloaded
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-21 17:08:31 -08:00
Brad Davidson
8936cf577f Bump coredns to 1.8.0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-17 15:20:19 -08:00
Brad Davidson
d672a4ae1a Wait longer for sonobuoy tests to start up
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-16 09:22:52 -08:00
Brad Davidson
13d585059f Add registry mirrors for CI test step
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-15 13:57:18 -08:00
Brad Davidson
ef9ad4f04d Clean up CI warnings/errors
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-15 10:54:59 -08:00
Jacob Blain Christen
bae2607fd9
fix the k3s-upgrade dispatch (#2679)
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2020-12-10 14:31:44 -07:00
Brad Davidson
cd27c6fcbe Bump coredns to 1.7.1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-12-08 15:58:17 -08:00
Erik Wilson
0ae7f2d5ae
Merge pull request #2407 from erikwilson/node-passwd-cleanup
Use secrets for node-passwd entries
2020-12-08 16:25:13 -07:00
Erik Wilson
cccba681a9
Test script cleanup backport from RKE2 (#2650)
* Test script cleanup backport from RKE2

Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>

* Update scripts/test

Co-authored-by: Brian Downs <brian.downs@gmail.com>

Co-authored-by: Brian Downs <brian.downs@gmail.com>
2020-12-08 10:43:31 -07:00
Akihiro Suda
27e64c72a1 rancher/k3s-root -> k3s-io/k3s-root
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-01 11:00:00 -08:00
Akihiro Suda
679e4df1b0 Bump k3s-root to v0.7.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-12-01 11:00:00 -08:00
Jacob Blain Christen
3647654fe4
[migration k3s-io] update helm-controller dependency (#2569)
rancher/helm-controller ➡️ k3s-io/helm-controller

Part of https://github.com/rancher/k3s/issues/2189

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2020-12-01 08:59:10 -07:00
Jacob Blain Christen
cc32e2f9a0
[migration k3s-io] update containerd, cri, and cri-tools replace directives (#2591)
- rancher/cri ➡️ k3s-io/cri
- rancher/cri-tools ➡️ k3s-io/cri-tools
- rancher/containerd ➡️ k3s-io/containerd

Part of https://github.com/rancher/k3s/issues/2189

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2020-11-30 10:40:54 -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
fcb864a5e2
Update sonobuoy version and use rancher mirrored image (#2482)
* Update sonobuoy version
* Use upstream tag for Kubernetes version instead of replacement tag
    Allows building against upstream alpha/beta/rc releases
* Use env variable for sonobuoy version
* Bump version for QA e2e tests

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-11-06 13:33:31 -08:00
Brad Davidson
50ea2d8164 Fix size check and make script shell consistent
Related to #2205

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-11-05 15:51:10 -08:00
Erik Wilson
992ca52c31
Enable go test in ci 2020-11-05 09:48:53 -07:00
Brad Davidson
4db415c1db Only create k3s-images.txt on amd64
The list is the same across architectures, and is validated against the
list in git as part of CI... so there's no reason to be pushing it from
every pipeline. It's also causing conflicts when multiple pipelines try
to upload it at the same time.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-18 09:49:58 -07:00
Brian Downs
e0a9060d59
Merge pull request #2253 from briandowns/issue-2106
Add Trivy Scans for Built Images
2020-09-17 08:46:31 -07:00
Brian Downs
74ce99f5ff remove use of docker image for arch purposes
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-16 13:37:42 -07:00
Brad Davidson
ae5519c047
Use rancher-mirrored busybox for local-path-provisioner (#2257)
Related to #1908

Will be fixed upstream by
https://github.com/rancher/local-path-provisioner/pull/135/ but we're
not going to update the LPP image right now since it's undergoing some
changes that we don't want to pick up at the moment.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-09-15 18:02:51 -07:00
Brian Downs
c53f7e99e2 update error message
Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-15 11:54:34 -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
Brian Downs
f72d39ad9c
add binary size check script, makefile target, and added to CI (#2209)
* add binary size check script, makefile target, and added to drone

Signed-off-by: Brian Downs <brian.downs@gmail.com>

* move script call to package script

Signed-off-by: Brian Downs <brian.downs@gmail.com>

* move script call to ci script

Signed-off-by: Brian Downs <brian.downs@gmail.com>
2020-09-04 13:54:23 -07:00
Erik Wilson
f3a0248a03
Update vagrant for alpine 3.12 2020-08-28 17:18:28 -07:00
Brad Davidson
c980fa68a0
Update helm-controller for HelmChartConfig CRD (#2114)
* Update helm-controller for HelmChartConfig CRD

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-08-20 14:23:50 -07:00
Chris Kim
b5e57a10d5 Bump k3s-root to v0.6.0-rc3 for https://github.com/rancher/k3s/issues/1812
Signed-off-by: Chris Kim <oats87g@gmail.com>
2020-07-24 11:16:50 -07:00
Brad Davidson
4eb88a2fd3
Merge pull request #2042 from brandond/coredns_sync_1919-master
Update coredns version for master
2020-07-21 15:12:59 -07:00
Brad Davidson
9da8dc4f61 Update coredns version to 1.6.9 for master
Needed for #1844

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-07-21 11:06:44 -07:00
Brad Davidson
9e00f6dc73 Update k3s-root to pull in updated slirp4netns
Related to #1709

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2020-07-17 16:47:44 -07:00
Erik Wilson
66a8c2ad7f
Merge pull request #1899 from erikwilson/config-file
Add config file support
2020-07-14 08:41:45 -07:00
Erik Wilson
466f093943
Stat build to show file size 2020-07-13 10:06:23 -07:00
Erik Wilson
176bfdbbb6
Update Vagrant dev environment 2020-07-10 15:36:46 -07:00
Chris Kim
2e93004ee7 update k3s-root to v0.5.0 and remove k3s specific modifications to k3s-root (as they have moved into k3s-root)
Signed-off-by: Chris Kim <oats87g@gmail.com>
2020-07-01 15:56:47 -07:00
Hussein Galal
01035ba9df
Update helm controller to 0.6.3 (#1931)
* update helm controller to 0.6.3

* update klipper-helm to v0.2.7
2020-06-21 19:12:54 +02:00
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