Commit Graph

315 Commits

Author SHA1 Message Date
Andrew Rynhard
d824d0bfdb chore: publish boot.tar.gz
This adds a convenience tarball that includes vmlinuz, and initramfs.xz
in a single tarball.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-09 12:38:21 -08:00
Andrew Rynhard
794d9e6066 chore: update all target in Makefile
We should build the most common things by default.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-06 11:08:27 -08:00
Andrew Rynhard
288d4d0b51 chore: push latest tag on tag events
This ensures that the latest tag is updated on git tag events.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-01 11:41:49 -08:00
Andrey Smirnov
ebd40bd0eb chore: use osctl cluster --wait in basic-integration
There are few workarounds for Drone way of running integration test:
DinD runs as a separate pod, and we can only access its exposed on the
"host" ports, while from Talos cluster this endpoint is not reachable.

So internally Talos nodes still use addresses like "10.5.0.2", while
test is using "docker" to access it (that's name of the `docker` service
in the pipeline).

When running locally, 127.0.0.1 is used as endpoint, which should work
fine both on OS X and Linux.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-12-30 15:15:42 -08:00
Andrew Rynhard
5a7eb631b2 feat: add installer command to installer container
This replaces the entrypoint.sh shell script with a go binary.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-26 06:41:25 -08:00
Andrew Rynhard
e4a1bc3cf9 chore: add help menu to the Makefile
This adds a help  menu to the Makefile. It documents all build
dependencies, and how to get started.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-25 11:11:41 -08:00
Andrew Rynhard
831f5524a1 chore: refactor Makefile to be more DRY
This PR aims to make the Makefile more DRY.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-24 10:48:32 -08:00
Andrew Rynhard
6602a85976 chore: use docker buildx
This replaces buildkit and buildctl with the docker buildx plugin.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-12-24 08:30:39 -08:00
Brad Beam
9584b47cd7 feat: Upgrade kubernetes to 1.17.0
Primarily doc/constant changes.

Added additionnal bits to `docs` target in makefile to generate osctl
docs as well as config files. Explicitly define a HOME variable so we
get consistent home directories for talosconfig variables in our docs.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-12-10 16:03:35 -08:00
Spencer Smith
264c5440ef chore: rewrite basic integration in go instead of bash
This PR will be the start of several. It rewrites the basic integration
in go. We'll do these one at a time.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-12-05 15:55:19 -05:00
Andrew Rynhard
70b9186be0 chore: push edge tag on succesful conformance
This adds a step to the conformance pipeline that pushes all containers
with the tag "edge." This Will allow us to start using and edge
"channel" for upgrades.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-27 08:10:25 -08:00
Andrew Rynhard
4680f66bc5 docs: add autogenerated config reference
This adds a small program to parse our config structs and generate
markdown from them. This will allow us to enforce a standard and require
documentation for fields as they get added.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-11 08:38:39 -08:00
Spencer Smith
6d5bbaf7c8 chore: re-enable e2e for aws clusters
This PR adds in the necessary manifests and fixes to deploy aws clusters
as part of e2e testing.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-11-07 15:32:14 -05:00
Andrey Smirnov
8fdf71789e test: add 'integration-test' to e2e runs
Also refactored `integration-test` build as a generic step to be shared
by basic-integration and e2e-integration steps.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-11-07 06:30:34 -08:00
Spencer Smith
ce7a0e36cc chore: re-enable e2e testing
This PR will re-enable e2e testing by using the new cluster api
bootstrap provider and various infra providers.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-11-05 16:53:38 -05:00
Andrey Smirnov
b0aef2cf22 test: add integration test framework
This is just first steps and core foundation.

It can be used like:

```
make integration.test
osctl cluster create
build/integration.test -test.v
```

This should run the test against the Docker instance.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-11-05 17:21:38 +03:00
Andrew Rynhard
3887b1e5b6 chore: force overwrite of output file
This adds the force option to gzip.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-03 10:31:17 -08:00
Andrew Rynhard
7cd9ba588c chore: remove RAW disk
We need to remove this so that it is not published in a release.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-31 15:35:06 -07:00
Andrew Rynhard
2cad745292 docs: add customization guide
This adds a section on customizing Talos.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-31 14:47:17 -07:00
Brad Beam
ca76ccd4af feat: Add support for creating VMware images
This PR adds support for generating VMware compatible images as an ova.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-10-31 13:39:54 -05:00
Andrew Rynhard
3c6d0135d0 feat: upgrade Kubernetes to 1.16.2
This brings in 1.16.2 modules and bumps the default hyperkube image.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-30 06:35:12 -07:00
Andrew Rynhard
0d1c5ac305 feat: add support for Digital Ocean
This adds a Digital Ocean platform implementation.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-28 10:46:15 -07:00
Andrey Smirnov
c3e353aa45 chore: bump tools/pkgs for toolchain refactor
This also pulls in Go 1.13.3

See  talos-systems/toolchain#8, talos-systems/tools#82,
https://github.com/talos-systems/pkgs/pull/69

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-10-25 21:59:41 +03:00
Brad Beam
573cce8d18 feat: Add APId
This PR introduces APId. This service replaces the frontend functionality
previously provided by OSD. The main driver for this is two fold:

1. Create a single purpose application to expose the talos api

2. Make use of code generation to DRY api changes

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-10-25 13:02:33 -05:00
Andrey Smirnov
0d09e6f530 chore: bump tools & pkgs for Go 1.13.2
Ref:

* https://github.com/talos-systems/pkgs/pull/68
* https://github.com/talos-systems/tools/pull/80

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-10-18 00:20:34 +03:00
Brad Beam
c3d43a8171 chore: Update gitmeta to latest release
Fix issue inconsistency between build-container and talos

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-10-16 14:31:37 -07:00
Andrew Rynhard
d430a37e46 refactor: use go 1.13 error wrapping
This removes the github.com/pkg/errors package in favor of the official
error wrapping in go 1.13.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-15 22:20:50 -07:00
Andrew Rynhard
80e3876df5 feat: remove proxyd
We have decided that proxyd is not the best architectue for HA
Kubernetes. Our recommendation to users will be to create a load
balancer instead.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-14 08:11:00 -07:00
Spencer Smith
0d694f88c3 chore: upgrade tools for go v1.13.1
This PR will upgrade the tools container used for building talos.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-10-01 17:15:53 -04:00
Andrew Rynhard
82c706a0fb feat: upgrade Kubernetes to v1.16.0
Brings in Kubernetes v1.16.0.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-19 20:19:29 -07:00
Andrew Rynhard
ab4e058489 feat: upgrade Kubernetes to v1.16.0-rc.2
This brings in the release candidate for Kubernetes v1.16.0.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-16 14:56:55 -07:00
Andrew Rynhard
75746266ce feat: upgrade Kubernetes to v1.16.0-rc.1
This brings in the latest RC of 1.16.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-12 20:20:48 -07:00
Andrew Rynhard
5ee554128e chore: move from gofumpt to gofumports
The gofumports does everything that gofumpt does with the addition of
formatting imports. This change proposes the use of the `-local` flag so
that we can have imports separated in the following order:

- standard library
- third party
- Talos specific

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-12 07:49:12 -07:00
Andrew Rynhard
2e8b570302 chore: add fmt target
This provides a target that can be useful for developers. It will format
code according to our standards.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-11 15:19:53 -07:00
Spencer Smith
473df84cf6 fix: move to per-platform console setup
This PR will make sure that each platform gets the console settings it
needs by setting them as extra flags in the makefile. This should ensure
that we have console logs flowing properly for each cloud.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-09-10 07:50:34 -07:00
Andrew Rynhard
44dd2fc7c9 chore: remove packer from installer
This moves to making AWS releases align with Azure, and GCP. We no
longer need packer since we will now release an artifact that users can
import.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-09 18:54:37 -07:00
Brad Beam
f21d1244bd test(ci): Add aws for e2e and conformance targets
Add additional scripts and steps to enable doing tests against aws.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-09-09 13:56:19 -05:00
Andrew Rynhard
fd3521649f chore: remove buildkit cache directory
This cache was more important back when builds of Talos took upwards of
40 minutes. Since this is no longer the case, and I have seen
performance issues by mounting a host path into the container, I think
we should drop this.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-04 10:43:41 -07:00
Andrew Rynhard
295cbf9dc6 chore: remove generated raw disk
This was mistakenly removed.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-27 19:08:51 -07:00
Andrew Rynhard
bf8fc1dcbd chore: lint protobuf definitions
This adds linting to our protobuf definitions via prototool.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-27 18:12:36 -07:00
Andrew Rynhard
15cfd42168 chore: upgrade tools
This brings in Go v1.12.9 to address CVEs and bugs.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-26 15:57:30 -07:00
Brad Beam
313c118ad0 refactor(networkd): Replace networkd with a standalone app
This is a major rewrite of our network subsystem.

- This changes networkd to run as a standalone app versus internal goroutine
- This changes out the netlink package with the more idiomatic netlink/rtnetlink
  packages
- This changes the initial network bootstrap/discovery from using a single
  interface to attempting to bring up all interfaces
- This moves us back on to the upstream dhcp library

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-08-21 13:24:51 -05:00
Andrew Rynhard
0af1eba159 refactor: add more runtime modes
In order to DRY up all installation methods and mount methods, this PR
introduces a few more runtime modes. The modes are then used to
determine the strategy for creating and or mounting the paritions.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-19 20:23:45 -07:00
Brad Beam
03228c7401 chore(ci): Only push latest tags if branch is master.
Should prevent flakes when we merge fixes on release branches where they unintentionally
get tagged as `latest`.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-08-17 16:03:01 -05:00
Brad Beam
af47edf1ad chore: Make losetup atomic during installation
This should fix a race conditions where two independent image creation steps
run `losetup -f` and discover the same 'next available' loopback device and
attempt to use it.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-08-17 15:23:42 -05:00
Andrew Rynhard
7970f977b7 chore: add markdownlint
This will give us a standard tool for linting Markdown files.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-17 03:53:52 -07:00
Andrew Rynhard
15408963ac chore: update tools image
This image upgrades golang to v1.12.8 to address security
vulnerabilities.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-14 19:07:52 -07:00
Andrew Rynhard
09693a26c9 chore: update go modules to use Kubernetes v1.16.0-alpha.3
This is not ideal, but it works. We essentially need to start using
replace statements in order to pull in the modules we need.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-14 15:34:09 -07:00
Andrew Rynhard
a420b85b07 chore: run unique E2E tests
In order to run more than one instance of E2E testing at a time, we need
to ensure that all resources are unique to the run.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-12 14:14:08 -07:00
Andrew Rynhard
2ee769d19e chore: add image test step
Instead of building platform specific images in the default pipeline, we
should build just one image as part of our basic testing to make sure
installations work as expected.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-11 10:51:33 -07:00
Andrew Rynhard
817380bad6 chore: refactor the Jsonnet file
This change improves the drone jsonnet file by making it more DRY and
structuring it in a way that makes it much easier to follow.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-11 09:23:30 -07:00
Andrew Rynhard
8786916fd0 chore: build drone YAML via jsonnet
This PR aims to DRY the drone config file by using Jsonnet to generate
it.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-09 22:30:37 -07:00
Andrey Smirnov
2227d1f6b6 chore: add race-enabled test run
As Go race detector doesn't work under libmuscl, use stock glibc-based
golang container.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-08-09 17:12:34 +03:00
Andrew Rynhard
3383e72d37 chore: remove machined from rootfs target
The machined dependency is not needed in the rootfs target. The
dependency is handled by buildkit.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-08 12:26:30 -07:00
Brad Beam
bfc1646cd9 chore(ci): Add e2e promotion pipeline
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-08-08 11:27:57 -05:00
Spencer Smith
9e02c77c0a chore: add azure e2e testing
This PR will allow us to run an azure e2e test in parallel with our
current GCE implementation.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-08-07 12:16:32 -04:00
Spencer Smith
38dfddbab3 feat: break up osctl cluster create and basic/e2e tests
This PR will break cluster create apart from the other steps in
integration tests. It will allow us to run the cluster create, then use
it for parallel e2e builds in different cloud environments.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-08-01 10:55:24 -04:00
Andrey Smirnov
3024c26a55 chore: update dockerfile/buildkit versions
New buildkit release: https://github.com/moby/buildkit/releases/tag/v0.6.0

New release was published for buildkit's dockerfile:
https://github.com/moby/buildkit/releases/tag/dockerfile%2F1.1.2-experimental,
so we can stick to release version now.

These releases include fixes/implementation for `RUN --security=insecure`.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-08-01 01:05:42 +03:00
Andrew Rynhard
12486ef0e2 chore: remove rootfs output param
This removes the `--output` flag from the rootfs target. With the output
specified it was outputting the file directory structure to the build
directory.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-29 20:26:54 -07:00
Andrew Rynhard
e63c882b89 refactor: split machined into phases
This change aims to standardize the boot process. It introduces the
concept of a phase, which is comprised of tasks. Phases are ran in serial and
the tasks that make up a phase are ran concurrently.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-29 12:40:03 -07:00
Andrew Rynhard
0ec17e4169 feat: run rootfs from squashfs
This change moves the rootfs to a squashfs image.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-25 08:38:31 -07:00
Andrey Smirnov
8c59adb9dc chore: allow to run tests only for specified packages
This allows to do `make test TESTPKGS=./internal/app/machined`.

Also update Dockerfile slug as
https://github.com/moby/buildkit/pull/1081 was merged into master.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-23 22:17:22 +03:00
Andrew Rynhard
6fa7c1fcbd chore: compress Azure image
The image needs to be compressed in order to publish it to GitHub.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-22 14:48:24 -07:00
Andrew Rynhard
32961efbe0 chore: remove the raw disk after Azure build
The raw disk causes the release to fail.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-22 14:20:50 -07:00
Spencer Smith
089890f36b chore: setup gce for e2e builds
This PR will provide a basis for running e2e tests on GCE several times
a day. We'll need to add a cron event to the drone repo once merged.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-07-22 12:46:02 -04:00
Andrey Smirnov
7df9ef049c chore: repair 'make all'
Target 'binaries' was referencing non-existent `Dockerfile` target, so
any `make all` failed.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-19 08:12:23 -07:00
Andrey Smirnov
9f9acf1f05 chore: run tests in the buildkit itself
This relies on two PRs to the buildkit:

* https://github.com/moby/buildkit/pull/1081
* https://github.com/moby/buildkit/pull/1085

Sysfs fix was merged to upstream, so updated tag, while using
`Dockerfile` slug I can switch to dockerfile2llb with support for
`--security=insecure`.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-19 07:53:49 -07:00
Andrew Rynhard
8e8aae98dd feat: add machined
This commit splits our current init into init and machined.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-16 13:12:21 -07:00
Brad Beam
7adef1ea62 feat(init): Add azure as a supported platform
Update initramfs to interact with azure endpoints for userdata.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-07-16 12:59:53 -07:00
Andrew Rynhard
1e9548d149 feat: use new pkgs for initramfs and rootfs
This brings in the newly compiled libraries and binaries from our new
pkg builds.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-15 10:32:29 -07:00
Andrew Rynhard
666f04fdbc feat: update kernel
This kernel update brings in:

- modules support
- BPF support
- Azure support

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-10 20:19:59 -07:00
Andrey Smirnov
82fe5b55e5 chore: make unit-tests use isolated instances of containerd
This makes test launch their own isolated instance of containerd with
its own root/state directories and listening socket address. Each test
brings this instance up/down on its own.

Add options to override containerd address in the code (used only in the
tests).

Enable parallel go test runs once again.

P.S. I wish I could share that 'SetupSuite' phase across the tests, but
afaik there's no way in Go to share `_test.go` code across packages. If
we put it as normal package, this might pull in test dependencies (like
`testify`) into production code, which I don't like.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-10 19:46:32 +03:00
Andrew Rynhard
50eb51938c chore: prevent duplicate build of test container
This change removes the test-container step, and consolidates it to only a
test step. This prevents the build of the test container being done
twice.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-06 11:29:18 -07:00
Brad Beam
c1ec77ef42 feat: Use individual component steps for drone
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-07-05 23:11:40 -07:00
Spencer Smith
ff9934cfe2 chore: update toolchain version and output created config files
Decided to combine two very small changes (which I'm now grumpy at myself for doing).

First, we'll update the toolchain image versions to allow for the use of a new containerd and runc. Also updated go.mod and go.sum to make use of newer containerd version. Closes #743 and #744.

Second, I added the bit of logic to osctl config generate to determine the working directory and let the user know that we created the various yaml files there. Closes #760.

Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-07-05 17:59:25 -04:00
Andrey Smirnov
077ea451b5
chore: use 'fast' gitmeta (#836)
See PR https://github.com/talos-systems/gitmeta/pull/10,
https://github.com/talos-systems/gitmeta/pull/12

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-07-04 23:46:55 +03:00
Andrew Rynhard
d82444a42d
chore: revert #816 (#829)
This reverts commit 11f8392e53.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-04 08:43:34 -07:00
Andrew Rynhard
11f8392e53
chore: fix GCE image creation (#816)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-03 18:06:47 -07:00
Spencer Smith
c29e5aec93
chore: publish gce images with releases (#809)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-07-02 10:47:22 -04:00
Andrew Rynhard
85afe4f828
feat: use eudev for udevd (#780)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-25 19:25:57 -07:00
Andrew Rynhard
ebc725afa6
feat: add support for upgrading init nodes (#761)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-24 15:25:32 -07:00
Andrew Rynhard
99cb06d9c7
chore: update floating IPs for E2E test (#762)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-21 23:05:17 -07:00
Spencer Smith
26e14f08eb chore: bump k8s version in makefile (#758)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-21 21:47:55 -07:00
Spencer Smith
e01bc3be05
chore: update toolchain images (#754)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-21 16:24:23 -04:00
Spencer Smith
4ba12fecd8
feat(ci): enable nightly e2e tests (#716)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-17 12:36:48 -04:00
Brad Beam
8a5acff119
fix: Add gitmeta as dependency for push (#718)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-06-05 16:01:46 -05:00
Andrew Rynhard
ecfa945fc8
chore: download official gitmeta to BINDIR (#717)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-06-05 11:44:15 -07:00
Spencer Smith
16530db722
fix: don't set BUILDKIT_CACHE to empty string in Makefile (#705)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-06-03 13:59:39 -04:00
Andrew Rynhard
f95f8f87a4
feat: upgrade Kubernetes to v1.15.0-beta.1 (#696)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-30 18:56:30 -07:00
Andrew Rynhard
4bdcccfd00
fix: add libressl to rootfs (#659)
This library is required by socat.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-15 19:09:27 -07:00
Andrew Rynhard
18a1536b01
feat: use osctl in installer (#654)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-15 16:14:30 -07:00
Andrey Smirnov
4bf649f14c chore: workaround flaky tests (#651)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-05-13 15:00:59 -07:00
Andrew Rynhard
3c52f5e686
feat: add support for UEFI (#642)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-12 10:11:33 -07:00
Andrew Rynhard
86e24601b1
chore: publish AMIs on tags (#633)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 13:04:41 -07:00
Andrew Rynhard
f0e162a7f5
refactor: move osinstall into osctl (#629)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 08:49:32 -07:00
Andrew Rynhard
21c0b05af6
feat: upgrade Linux to v4.19.40 (#630)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 06:29:22 -07:00
Andrew Rynhard
08789a0b8c
feat: update toolchain (#628)
This toolchain brings in:
- Linux v4.19.40
- Musl v1.1.22
- Golang v1.12.5
- Protobuf v3.7.1
- Golang-protobuf v1.3.1

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-09 05:36:13 -07:00
Andrew Rynhard
67a8343590
chore: build iso image (#616)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-05 13:13:01 -07:00
Andrew Rynhard
00eb0658aa
feat: add support for ISO based installations (#606)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-02 21:30:06 -07:00
Andrew Rynhard
aba66b41e6
chore: add make target for building AMIs (#602)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-30 10:21:51 -07:00
Andrew Rynhard
0df1d9ca70
feat(init): run udevd as a container (#601)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-30 08:48:48 -07:00
Andrew Rynhard
6e555c4559
feat(osctl): expose osd and api server ports on master-1 (#592)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-29 11:51:39 -07:00
Brad Beam
7a8acebbe2 chore: Make buildkit cache OS dependent (#595)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-29 11:08:01 -07:00
Brad Beam
e0122908a8
chore(ci): Update buildkit v0.5 (#594)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-29 11:25:04 -05:00
Andrew Rynhard
9b4fec0fa8
feat(osctl): add ability to create docker based clusters (#584)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-28 12:06:03 -07:00
Brad Beam
a5161e575e
chore: Update kernel image (#564)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-24 09:55:44 -05:00
Brad Beam
3319e56ea3
chore(ci): Update buildkit to 0.4 (#538)
Make use of local bin directory so we can prevent the
need for sudo to install buildctl.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-04-23 20:52:31 -05:00
Andrew Rynhard
544c9259fc
chore: use the rootfs-base and initramfs-base images for builds (#558)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-18 19:31:43 -07:00
Andrey Smirnov
d29e27ee33 refactor: containerd runner refactoring and unit-tests (#551)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-04-16 13:56:52 -07:00
Andrew Rynhard
7b78aa72f9
chore: remove modules from build output (#548)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 22:44:59 -07:00
Andrew Rynhard
0a6b06b903
chore: remove release target in favor of build target (#547)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 21:53:14 -07:00
Andrew Rynhard
3d7a4fd657
chore: use gitmeta for image tag (#545)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-15 19:24:27 -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
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
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
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
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
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
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
e1ee8191ff
chore: add release target to Makefile (#490)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-04 21:34:58 -07:00
Andrew Rynhard
0415af3d0e
chore: remove static images directory (#485)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 23:07:49 -07:00
Andrew Rynhard
05ac636ad0
chore: move website to netlify (#482)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 21:19:56 -07:00
Andrew Rynhard
e18b5086a9
chore: update org to new name (#480)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 18:29:21 -07:00
Andrew Rynhard
50253b806a
feat: upgrade Kubernetes to v1.14.0 (#466)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-28 17:39:26 -07:00
Andrey Smirnov
b36bf3e178 chore: use protobuf compiler from the toolchain image (#468)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-03-27 16:33:03 -07:00
Andrew Rynhard
da21b90b90
feat: upgrade Linux to v4.19.31 (#464)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-24 21:26:08 -07:00
Brad Beam
3693cff14f feat: add basic ntp implementation (#459)
Signed-off-by: Brad Beam <brad.beam@b-rad.info>
2019-03-23 15:58:13 -07:00
Andrey Smirnov
b585b3f896 chore(tools): use Go compiler from toolchain image (#460)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-03-22 05:46:33 -07:00
Andrew Rynhard
054bf474e5
chore: upgrade Golang to v1.12.0 (#452)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-11 05:42:22 -07:00
Andrew Rynhard
b5f398d3dd
feat: add container based deploy support to init (#447)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-09 20:53:32 -08:00
leigh capili
98e39200a0 feat: add docker-os make target, Kubeadm.ExtraArgs, and a dev Makefile (#446)
Signed-off-by: leigh capili <leigh@null.net>
2019-03-09 11:12:35 -08:00
Andrew Rynhard
07942543e2
chore: upgrade conform (#440)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-04 19:52:52 -08:00
Andrey Smirnov
9de34cd7b6 feat: update gcc to 8.3.0, drop gcompat (#433)
Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-03-01 12:48:49 -08:00
Tim Jones
d506de7ebd chore: improve Makefile for newcomers (#419)
Signed-off-by: Tim Jones <timniverse@gmail.com>
2019-02-27 18:57:35 -08:00
Brad Beam
8ee9022b71 feat: add osinstall cli utility (#368) 2019-02-23 13:18:52 -08:00
Joey Espinosa
0ed9bc82a1 fix: delay gitmeta until needed in Makefile (#407)
Signed-off-by: Joey Espinosa <jlouis.espinosa@gmail.com>
2019-02-23 09:31:49 -08:00
Andrew Rynhard
c50b2e6cae
feat: upgrade linux to v4.19.23 (#402)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-21 05:34:52 -08:00
Andrew Rynhard
d8594f4bdd
feat: upgrade musl to 1.1.21 (#401)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-20 23:39:22 -08:00
Andrew Rynhard
070dc0c6ef
chore: fix installer image name (#394)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-19 20:58:06 -08:00
Spencer Smith
85e35d30b4 feat: add gcloud integration (#385)
Signed-off-by: Spencer Smith <robertspencersmith@gmail.com>
2019-02-19 08:41:41 -08:00
Andrew Rynhard
a62583a40f
chore: upgrade conform to v0.1.0-alpha.10 (#379)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-18 21:35:47 -08:00
Brad Beam
eced2f25b2 fix: Minor adjustments to makefile (#340)
Follow up on previous PR #338
- suppress output from docker commands to test for buildkit container
- add sleep to ensure buildkit has enough time to startup
- change target for all to ci instead of individual buildkit steps

Signed-off-by: Brad Beam <brad.beam@b-rad.info>
2019-02-15 07:57:27 -08:00
Brad Beam
9240dec87b chore: add build toolchain to makefile (#338)
Signed-off-by: Brad Beam <brad.beam@b-rad.info>
2019-02-14 20:32:00 -08:00
Andrew Rynhard
1219ae7934
feat: upgrade Kubernetes to v1.13.3 (#335)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-05 20:11:39 -08:00
Andrew Rynhard
97f874b6f9
chore: add travis config (#321)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-23 15:48:02 -08:00
Andrew Rynhard
ee7df39925
chore: use buildkitd for builds (#320)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-19 01:58:26 -08:00
Andrew Rynhard
5cadd83aea
feat: upgrade Kubernetes to v1.13.2 (#319)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-18 07:47:11 -08:00
Andrew Rynhard
1fe14494f0
chore: use the toolchain for go builds (#317)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-18 06:26:12 -08:00
Andrew Rynhard
26c44185be
feat: use musl libc (#316)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-17 19:14:52 -08:00
Andrew Rynhard
1e53ec04be
chore: improve build time (#315)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-16 18:14:13 -08:00
Andrew Rynhard
1417dec395
chore: remove redundant tasks in build (#311)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-15 23:47:02 -08:00
Andrew Rynhard
25fca3d68d
feat: import core service containers from local store (#309)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-15 18:46:41 -08:00
Andrew Rynhard
8836577349
fix: raw image output (#307)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-14 16:05:48 -08:00
Andrew Rynhard
bcb61be6b4
chore: use the TAG var for container tags (#305)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-14 16:02:37 -08:00
Andrew Rynhard
1f3192e296
chore: output a raw image (#306)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-14 16:00:45 -08:00
Andrew Rynhard
ee226dddac
chore: enforce commit and license policies (#304)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-13 16:10:49 -08:00
Andrew Rynhard
72eb1b34f5
chore: use buildkit for builds (#295) 2018-12-19 22:22:05 -08:00