Commit Graph

566 Commits

Author SHA1 Message Date
Andrew Rynhard
e802048608 chore: improve drone parallel steps (#544)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 18:48:21 -07:00
Andrew Rynhard
6426427aa5 chore: fetch git tags (#543)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 18:20:29 -07:00
Andrew Rynhard
20cf488418 chore: add BUILDKIT_HOST env var to release step (#542)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 17:24:38 -07:00
Andrew Rynhard
769d6705dc chore: prepare release v0.1.0-alpha.22 (#541)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 16:17:46 -07:00
Andrew Rynhard
4c85cb3058 chore: add github-release plugin (#540)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 16:02:06 -07:00
Andrey Smirnov
f9a0f2c785 chore: add dev-test make target to quickly re-run unit-tests (#539)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-15 14:41:11 -07:00
Andrew Rynhard
a817e744c7 feat: remove blockd (#536)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 16:57:37 -07:00
Andrew Rynhard
47d2bbd318 feat: log the xfs_growfs of the data partition (#537)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 15:20:56 -07:00
Andrew Rynhard
3698643c7a chore: remove travis integration (#535)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 11:12:12 -07:00
Andrew Rynhard
e324f8e579 chore: push images for all branches (#534)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 10:54:48 -07:00
Andrew Rynhard
a106e42657 feat: upgrade containerd to v1.2.6 (#532)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 10:25:03 -07:00
Andrew Rynhard
038e17cc50 feat: upgrade Linux to v4.19.34 (#531)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 09:59:57 -07:00
Andrew Rynhard
f7853899fb chore: move codecov to drone build (#533)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 09:40:33 -07:00
Andrey Smirnov
5c5e56b072 chore: split 'base' target, run tests in docker container (#528)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-14 09:27:20 -07:00
Andrew Rynhard
ae9e6ac282 feat: upgrade Kubernetes to v1.14.1 (#530)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-14 07:20:34 -07:00
Andrew Rynhard
2faf36bd67 feat: add support for extra disk management (#524)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-13 22:41:03 -07:00
Andrew Rynhard
094a2228cc chore: don't crate /lib/modules in symlink.sh (#529)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-12 15:50:59 -07:00
Andrew Rynhard
65cea16be0 chore: create /lib/modules (#527)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-12 14:33:22 -07:00
Andrey Smirnov
2ea253ac38 chore: keep buildkitd cache as local volume (#522)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-12 09:52:16 -07:00
Andrew Rynhard
22436f2cc4 chore: fix push step (#526)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 23:55:19 -07:00
Andrew Rynhard
9510a73a8b chore: push images for master branch (#525)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 23:40:30 -07:00
Andrew Rynhard
8e45137879 chore: add drone build (#523)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-11 15:24:51 -07:00
Andrey Smirnov
9f35d54b11 chore: enforce go.mod completeness and better buildkit cache (#520)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-10 16:50:56 -07:00
Andrey Smirnov
9f12352433 chore: clean up outer variable used in inner func (#519)
Inner function in goroutine was using `err` (return variable) of the
outer function.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-10 23:56:15 +03:00
Andrew Rynhard
30f4000a07 docs: refer to talos as an operating system (#517)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-10 12:56:26 -07:00
Matt Layher
72f60b4234 fix: remove redundant netlink connection, use netlink.IsNotExist in init (#511)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-04-10 11:02:51 -07:00
Andrey Smirnov
c24f1531cb chore: refactor container image import code to avoid panics (#518)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-10 09:57:03 -07:00
Andrey Smirnov
7cb8485788 chore: provide /etc/resolv.conf to kubelet & kubeadm (#493)
This fixes "name not resolved" errors for kubelet in docker-compose env,
but I'm not sure how it might affect other platforms.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-10 18:38:17 +03:00
Andrey Smirnov
2ea894171a chore: rework process runner, add tests and stop method (#506)
This is just first step towards better control of the services. Service
eventually uses either Process or Containerd runners to launch the
program. We don't have a way to control the service (stop it, figure out
whether it's actually running) unless we can pass back Runner instance
from the Service.

The idea is to return interface `runner.Runner` from the `Service` so
that controller (`init`) can figure out current state of the running
services and stop them on shutdown.

I haven't touched containerd runner yet (and as interface is not
enforced, code compiles fine). Only process runner is updated to allow
process to be stopped (either when it's running or while waiting to be
restarted).

For the sake of unit-tests, some additional runner options were exposed:
log path, restart interval, etc.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-10 17:47:30 +03:00
Andrew Rynhard
65c2482013 chore: add goreportcard badge (#516)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-09 23:00:21 -07:00
Andrew Rynhard
7688de6a3a chore: upgrade golangci-lint to v1.16.0 (#515)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-09 21:53:35 -07:00
Brad Beam
3151f9d7a3 feat(initramfs): Add support for specifying static routes (#513)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-09 20:21:05 -07:00
Spencer Smith
1b0b3ae59c chore: expose crypto package (#512)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-04-09 17:47:47 -07:00
Andrew Rynhard
2584e54682 chore: add codecov integration (#510)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-09 16:45:31 -07:00
Brad Beam
853bbfaf5b refactor(initramfs): clean up network code (#507)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-09 15:33:17 -07:00
Andrey Smirnov
ab0692004d chore: export coverage info from unit-tests (#505)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-09 12:21:19 -07:00
Andrew Rynhard
2f9eece032 chore: prepare release v0.1.0-alpha.21 (#504)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
v0.1.0-alpha.21
2019-04-08 11:30:09 -07:00
Andrew Rynhard
1c2af06ba7 chore: add basic integration test (#502)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-08 10:24:45 -07:00
Andrew Rynhard
5c6426e33b chore: add /var/log as a volume to docker platform (#503)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-08 07:44:48 -07:00
Andrew Rynhard
2dcd0085f3 chore: add container for development (#501)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-07 20:24:59 -07:00
Andrey Smirnov
6731a85abe chore: fixups for ProcessLog (#494)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-07 13:06:02 -07:00
Andrew Rynhard
e21a30e97d chore: export vmlinux kernel (#500)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-07 10:24:47 -07:00
Andrew Rynhard
82e56fa4a0 refactor: improve artifact names (#499)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-07 08:25:55 -07:00
Andrew Rynhard
67d7abebd4 fix: create GCE disk as disk.raw (#498)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-06 07:24:50 -07:00
Andrew Rynhard
25f98d2f1f chore: run lint and test first (#496)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-06 06:50:32 -07:00
Andrew Rynhard
7fac0df872 fix: check link state before bringing it up (#497)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-06 00:08:48 -07:00
Brad Beam
7d4db80da7 feat: add network configuration support (#476)
Signed-off-by: Brad Beam <brad.beam@b-rad.info>
2019-04-05 20:33:25 -07:00
Andrey Smirnov
25874023fe chore: refactor and dry up process runner (#495)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-05 16:49:55 -07:00
Andrey Smirnov
eccacb7ed0 chore: take osctl/kubectl out of docker-compose (#492)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-05 13:00:17 -07:00
Andrey Smirnov
5cbf8b5653 chore: fixes for talos in docker-compose environment (#488)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-05 09:30:53 -07:00