Build of Eden
git clone https://github.com/lf-edge/eden.git
cd eden
make build
Set up Eden
eden config add default
eden setup
eden start
eden eve onboard
eden status
/// Expecting onboarded eve
+ Check ssh
eden eve ssh
+ Add docker containers
eden pod deploy -p 8028:80 docker://nginx
eden pod deploy -p 8027:80 docker://nginx
eden pod ps // For this test, we need to implement a detector that will monitor the transition of the container/VM to the specified state during the selected timeout.
/// Expecting running containers
// Check that we can access nginx
+ Kill docker containers
eden pod remove <name>
eden pod remove <name> eden pod ps // We need corresponded detector
//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.
+ Check logs/infos/metrics
eden log/info/metric
// Expect logs
// 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