Commit Graph

7 Commits (25d5ca74f80247d8ffe3ec2f257d6616c0ead640)

Author SHA1 Message Date
Paulo Truta 83d2fdcae1
[WIP] Support for cloud version (#17)
* Added build-cloud to Makefile

* Fix env var key GOOS

* Added taskSetReleaseVersion for edgeboxctl version option write into DB

* taskGetSystemUptime to run every 5 ticks

* Added support for detecting main disk in cloud version

* Added missing import

* Finding main device in test

* Refactored GetDevices and test to use release_version

* Added utils.getIP function, set to run as a 60 tick scheduled task

* Added taskEnablePublicDashboard and taskDisablePublicDashboard

* Added utils.WriteOption and refactor, added enablePublicDashb0oard

* Finalizing online support for dashboard, cloud version support

* Added task SetupCloudOptions

* Added couple of func description comments

* Early return statement (thanks @inverse)

* Using IsPublicDashboard in DisablePublicDashboard func

* Added constants for release version and device types, added diagnostics.GetReleaseVersion

* Removed codecov from test action
2022-02-06 15:37:50 +01:00
Malachi Soord 92ac9c2b03
Add coverage (#15)
* Add coverage

* Add codecov.yml
2021-06-08 22:40:53 +02:00
Malachi Soord e611bf2ac4
Add test foundations (#14) 2021-06-08 14:13:22 +02:00
Malachi Soord e6c07ddeae
Tidy names 2021-03-04 21:39:37 +01:00
Malachi Soord 217309f10d
Add sum 2021-03-04 21:38:02 +01:00
Malachi Soord 972a77173a
Fix 2021-02-11 21:48:41 +01:00
Paulo Truta 4b96f915e5
Go Build GitHub Action 2020-11-08 23:47:10 +01:00