Workflows for tests:
Build of Eden
git clone https://github.com/lf-edge/eden.git
cd eden
make build
eden config add default
Set up Eden
eden setup
eden start
eden eve onboard
eden status
/// Expecting onboarded eve
+ Check logs/infos/metrics
eden log/info/metric
// Expect logs
// Generally it's not sufficient – we must have detector which may wait some items during timeout accordingly requests similar to 'eden log/info/metric'
// Actually we have such tests in https://github.com/itmo-eve/eden/tree/lim_monitors
+ Check ssh
eden eve ssh
// TODO
+ Add docker containers
eden pod deploy -p 8028:80 docker://nginx
eden pod deploy -p 8027:80 docker://nginx
eden pod ps
/// Expecting running containers
// Check that we can access nginx
// TODO -- current docker_test.go must be modified for setting of ports/names as parameters
+ Kill docker containers
eden pod remove <name>
eden pod remove <name>
eden pod ps
// TODO -- current docker_test.go must be modified for setting of ports/names as parameters
//Expecting nothing is displayed
+ Reboot Eve
eden eve reboot
eden status
//Expecting Eve rebooted
// Unfortunately we can't get reboot event from status. In this test we need specialized detector which compare last reboot times from infos.
+ Eve BaseOS image update
// We need actuator for update and detectors for downloading progress and BaseOS version check
+ Eden stop
eden stop
eden status
// All Eden services and Eve are expected to stop