Commit Graph

12 Commits (83d2fdcae16f7801fc1453ecebc8d179bb53631c)

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
Paulo Truta cb3ecec5f4 Fix to makefile build-prod 2021-03-04 14:06:48 +00:00
Paulo Truta 812cf31dc4 More changes. Fix build 2021-03-04 12:48:25 +00:00
Paulo Truta 0ed5297f6d Renaming everything to edgeboxctl 2021-03-04 12:43:49 +00:00
Paulo Truta 2d5cc88fa9 Merge branch 'make' of https://github.com/edgebox-iot/sysctl into make 2021-02-12 18:35:44 +01:00
Paulo Truta ba1fe45c1b Added arm build to build-all Makefile command 2021-02-12 17:22:03 +00:00
Paulo Truta b689115105 Using Makefile in Dockerfile 2021-02-12 01:23:16 +01:00
Malachi Soord 81052a37c4
Remove dist 2021-02-11 21:45:08 +01:00
Malachi Soord 9ec7cfd80d
Move main.go 2021-02-11 21:33:05 +01:00
Malachi Soord b30453cc09
Add basic Makefile 2021-02-11 21:21:22 +01:00