10 Commits

Author SHA1 Message Date
Alexey Palazhchenko
b3afd17a8e feat: ship ServerClass "any"
Closes #310.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-05-07 07:46:58 -07:00
Alexey Palazhchenko
b17f37092c test: port improvements from Talos
REGISTRY_MIRROR_FLAGS can be set via direnv.

Signed-off-by: Alexey Palazhchenko <alexey.palazhchenko@gmail.com>
2021-04-28 08:46:57 -07:00
Andrey Smirnov
b790d7afe2 fix: overwrite kernel args from --extra-agent-kernel-args
This allows to override default options (e.g. `console=ttyS0`) with
provided values. Make sure that full value is given for each option, as
any default values for the option are dropped if specified in
`--extra-agent-kernel-args`, e.g.
`--extra-agent-kernel-args "console=tty0 console=ttyS1 panic=5"`.

See also https://github.com/talos-systems/go-procfs/pull/5

Fixes #251

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-16 23:16:33 -08:00
Andrey Smirnov
907a66907f test: add simulated power management failures in testing mode
This injects power management failures in Sfyra (under test). By default
failures are not injected.

Two class of failures are supported:

* explicit (when client returns an error)
* silent (when client doesn't do the job, but error is not returned)

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-12-02 13:15:41 -08:00
Andrew Rynhard
d2f579a3ba chore: move to ghcr.io
We need to move to ghcr.io because docker.io is now rate limiting pulls.

Signed-off-by: Andrew Rynhard <andrew@rynhard.io>
2020-11-06 11:19:13 -08:00
Andrey Smirnov
2cff3cf2cf chore: update Sfyra for the new Talos release
In 0.7.0-alpha.4, asset names got changed slightly.

This bumps bootstrap cluster resources as 2GiB is not enough for CAPI.

Fixes a small bug with asset filenames in environment controller.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-10-06 14:30:58 -07:00
Andrey Smirnov
afdfb859a7 refactor: split 'sfyra' CLI into multiple subcommands
This allows to use parts of Sfyra (e.g. install CAPI) without touching
other parts.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-30 08:03:06 -07:00
Andrey Smirnov
91094b15b6 test: use dedicated config for the sfyra tests
This makes sure automation won't overwrite the default config location.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-28 14:36:40 -07:00
Andrey Smirnov
0b9b5cc539 chore: update reference to internal registry
Use new 'secure' registry  reference.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-27 07:54:30 -07:00
Andrey Smirnov
f8c7c541e4 chore: merge Sfyra into Sidero repository
Mostly only file renaming and other non-functional changes.

Incorporated fix from https://github.com/talos-systems/sfyra/pull/21.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-09-22 11:16:13 -07:00