Paulo Truta
|
74cbff1966
|
Stopping edgeapp before removing
|
2021-03-04 15:53:49 +00:00 |
Paulo Truta
|
8f14a7cd15
|
Fix for incorrect base assignment
|
2021-03-04 15:19:31 +00:00 |
Paulo Truta
|
11e9543a87
|
Added install / remove edgeapp tasks
|
2021-03-04 15:06:54 +00:00 |
Paulo Truta
|
c42d96bf34
|
Merge pull request #5 from edgebox-iot/edgeboxctl-rename
Renaming everything to edgeboxctl
|
2021-03-04 15:21:19 +01: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
|
2e92ff53fe
|
Merge pull request #4 from edgebox-iot/loop_loop_execution
Sysctl Loop execution
|
2021-03-04 13:27:38 +01:00 |
Paulo Truta
|
2a3506680a
|
Removed logging of utils.Exec
|
2021-02-20 23:55:59 +00:00 |
Paulo Truta
|
0ffde681cf
|
Introduced ExecAndStream for execution with progress output
|
2021-02-20 21:43:27 +00:00 |
Paulo Truta
|
5e81525635
|
Fixes with .env file handling and other misc
|
2021-02-20 18:09:41 +00:00 |
Paulo Truta
|
7857985fe4
|
Added full support for enable_online and disable_online tasks
|
2021-02-20 14:26:23 +00:00 |
Paulo Truta
|
6c0b011e51
|
Removed unnused variable assignment and unecessary for loop
|
2021-02-19 00:32:37 +00:00 |
Paulo Truta
|
00b10ac64c
|
Added InternetAccessible logic
|
2021-02-19 00:22:12 +00:00 |
Paulo Truta
|
2e013b44bb
|
Removed unused fmt import
|
2021-02-18 23:40:16 +00:00 |
Paulo Truta
|
643ca5f545
|
Commented logging for utils.Exec()
|
2021-02-18 23:39:54 +00:00 |
Paulo Truta
|
f8eaf3b3e1
|
Commented annoying log...
|
2021-02-18 23:36:51 +00:00 |
Paulo Truta
|
595c87c19c
|
Extracted isSystemReady to outer loop
|
2021-02-18 23:08:28 +00:00 |
Paulo Truta
|
57a9ef3eed
|
Moved sleep instruction to after execution of lined task
|
2021-02-18 23:02:31 +00:00 |
Paulo Truta
|
3cc670b823
|
Implemented actual tested RunEdgeApp and StopEdgeApp commands, added sleep time after container operation and before checking status
|
2021-02-18 22:59:14 +00:00 |
Paulo Truta
|
0bd61ccf75
|
Tidy up (less verbosity), actual DB update for EDGEAPPS_LIST
|
2021-02-17 13:34:53 +01:00 |
Paulo Truta
|
2817628fef
|
Added utils.GetPath(pathKey) for getting paths that can be overriden by a .env for local dev
|
2021-02-17 12:35:22 +01:00 |
Paulo Truta
|
59707b8abd
|
Fixed small typo, replaced DB connection details in Makefile by .env loading
|
2021-02-17 12:10:15 +01:00 |
Paulo Truta
|
b04e854fdd
|
Added RunEdgeApp and StopEdgeApp funcs
|
2021-02-17 01:24:51 +01:00 |
Paulo Truta
|
63d81e8662
|
Using paths of Edgebox
|
2021-02-17 00:16:43 +00:00 |
Paulo Truta
|
5a97caacff
|
Added various functions to edgeapps package, working GetEdgeApps func running as scheduled task
|
2021-02-17 01:08:10 +01:00 |
Paulo Truta
|
fc5b342c89
|
Removed mods (thanks @inverse)
|
2021-02-16 22:08:59 +01:00 |
Paulo Truta
|
97182602c4
|
Added package edgeapps
|
2021-02-16 17:30:01 +01:00 |
Paulo Truta
|
ad28e1a505
|
Added edgeapps package, cleaned up redundancies
|
2021-02-15 20:37:16 +01:00 |
Paulo Truta
|
9f20211bf4
|
Introduced tick counter and ExecuteSchedules for execution of recurrent no argument tasks
|
2021-02-15 18:14:46 +00:00 |
Paulo Truta
|
50ad33ac33
|
removed spaces
|
2021-02-15 09:55:09 +01:00 |
Paulo Truta
|
1e9be94851
|
Various improvements and developments to tasks execution logic
|
2021-02-14 04:22:08 +00:00 |
Paulo Truta
|
461a9e6558
|
Replaced fmt with log calls
|
2021-02-14 03:50:21 +01:00 |
Paulo Truta
|
d7aabfdbe8
|
Added NodeName as element of tasSetupBootnodeArgs struct. Usage in taskSetupBootnode
|
2021-02-14 02:28:13 +01:00 |
Paulo Truta
|
db3b31091e
|
Reading json arguments for task running, setup_bootnode task, don't run actual commands for dev release
|
2021-02-14 01:04:50 +01:00 |
Paulo Truta
|
c3d283c243
|
Check for .ready file in ws directory
|
2021-02-13 21:52:08 +01:00 |
Paulo Truta
|
47df72777b
|
Added base task execution algo
|
2021-02-13 21:49:09 +01:00 |
Paulo Truta
|
4bb060ba5f
|
Laying out the structure of the Tasks package, and how it will be called in the systemIterator in main
|
2021-02-13 17:04:57 +01:00 |
Paulo Truta
|
8845cb11de
|
Renamed module database into tasks
|
2021-02-13 16:06:13 +01:00 |
Paulo Truta
|
375bb03dfe
|
Added database module with exportable functions
|
2021-02-13 15:51:14 +01:00 |
Paulo Truta
|
28cb163f6d
|
Added specific signal catch only for SIGQUIT
|
2021-02-12 18:11:36 +00:00 |
Paulo Truta
|
ad330274db
|
Added base execution loop with readiness check
|
2021-02-12 18:51:21 +01:00 |
Paulo Truta
|
5a4ef2de41
|
Restructured with helper functions for readiness check
|
2021-02-12 18:42:22 +01:00 |
Paulo Truta
|
34a21094ee
|
Merge pull request #3 from edgebox-iot/make
Makefile + more
|
2021-02-12 18:40:45 +01: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 |
Paulo Truta
|
2e8a73d0ea
|
Fixed Dockerfile CompileDeamon to point to makefile
|
2021-02-12 01:06:32 +01:00 |
Malachi Soord
|
972a77173a
|
Fix
|
2021-02-11 21:48:41 +01:00 |
Malachi Soord
|
81052a37c4
|
Remove dist
|
2021-02-11 21:45:08 +01:00 |