12 Commits

Author SHA1 Message Date
Alexey Palazhchenko
767f3b95ef chore: apply coverage analysis to all packages
This allows us to see test coverage of packages that can't be unit-tested directly.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-12 09:29:07 -07:00
Andrey Smirnov
0ea9a0a5ea test: run e2e-firecracker-short for default pipeline only
As many pipelines inherit steps from `default_steps`, take out
`e2e-firecracker-short` from `default_steps`.

`e2e` pipeline only relies on `e2e-docker`.

`integration` pipeline does full firecracker run with `e2e-firecracker`.

`release` pipeline manually pulls in `e2e-firecracker-short` to be on
the safe side.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-07-01 13:16:25 -07:00
Andrey Smirnov
a9766d31bc refactor: implement LoggingManager as central log flow processor
Using this `LoggingManager` all the log flows (reading and writing) were
refactored. Inteface of `LoggingManager` should be now generic enough to
replace log handling with almost any implementation - log rotation,
sending logs to remote destination, keeping logs in memory, etc.

There should be no functional changes.

As part of changes, `follow.Reader` was implemented which makes
appending file feel like a stream. `file.NewChunker` was refactored to
use `follow.Reader` and `stream.NewChunker` to do the actual work. So
basically now we have only a single instance of chunker - stream
chunker, as everything is represented as a stream.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-10 14:30:36 -07:00
Andrew Rynhard
56d7bf19fe feat: add recovery API
This adds an API for recovering the self-hosted control plane.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-05-04 19:38:30 -07:00
Andrew Rynhard
a10acd592a chore: address random CI nits
This PR does the following:

- updates the conform config
- cleans up conform scopes
- moves slash commands to the talos-bot
- adds a check list to the pull request template
- disables codecov comments
- uses `BOT_TOKEN` so all actions are performed as the talos-bot user
- adds a `make conformance` target to make it easy for contributors to
check their commit before creating a PR
- bumps golangci-lint to v1.24.0

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-04-13 13:01:14 -07:00
Andrew Rynhard
88667641df chore: refactor E2E scripts
This PR aims to simplify our E2E scripts.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-01-26 20:47:25 -08:00
Andrew Rynhard
3de9b45183 chore: remove CertificateKey
This was used by kubeadm. We no longer need it.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-11 15:13:56 -08:00
Brad Beam
eb677124c3 chore: Add additional cert info to etcd peer cert.
Adds `CommonName` and additional DNS names ( hostname, localhost ) to the peer cert

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-10-05 09:58:28 -07:00
Andrew Rynhard
2fcdc66c98 chore: bump codecov project target to 33%
This gives ~0.7% of buffer.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-05 18:03:26 -07:00
Andrew Rynhard
a8a36fa455
chore: update codecov project threshold to 17% (#609)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-02 18:05:45 -07:00
Andrew Rynhard
a0c57700a4
chore: disable codecov patch status (#588)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-28 09:25:32 -07:00
Andrew Rynhard
c74c09006a
chore: add codecov configuration file (#587)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-28 06:08:38 -07:00