Commit Graph

  • f52281ff1e Added utils.getIP function, set to run as a 60 tick scheduled task Paulo Truta 2021-06-17 13:38:34 +0000
  • ae0d16b3de Refactored GetDevices and test to use release_version Paulo Truta 2021-06-15 14:17:35 +0000
  • 10e19a1292 Finding main device in test Paulo Truta 2021-06-15 13:57:22 +0000
  • 33ab2377c0 Added missing import Paulo Truta 2021-06-15 11:05:02 +0000
  • b90f1c26b5 Added support for detecting main disk in cloud version Paulo Truta 2021-06-15 11:01:44 +0000
  • 00a2df378b taskGetSystemUptime to run every 5 ticks Paulo Truta 2021-06-15 10:56:33 +0000
  • 45b326c79d Added taskSetReleaseVersion for edgeboxctl version option write into DB Paulo Truta 2021-06-15 09:43:40 +0000
  • a0dce5abd8 Fix env var key GOOS Paulo Truta 2021-06-14 11:05:08 +0000
  • 1622ff69b7 Added build-cloud to Makefile 0.0.2 Paulo Truta 2021-06-14 10:34:18 +0000
  • 9339e6cf09
    Storage Module Basis (#13) 0.0.1 Paulo Truta 2021-06-13 12:03:36 +0200
  • 6d3c1df1f5 TestGetDevices Paulo Truta 2021-06-12 14:55:29 +0000
  • 7c14dfee64 Added storage_test.go file, smoke test Paulo Truta 2021-06-12 14:38:38 +0000
  • 8a30427287 Added missing t.Fail() statements in utils_test.go Paulo Truta 2021-06-12 14:33:34 +0000
  • cf56526f97 Added branch to test for valid key in GetPath Paulo Truta 2021-06-12 14:32:41 +0000
  • a1c0529fda Added Example tests with failure status for ExecAndStream Paulo Truta 2021-06-12 14:24:13 +0000
  • ac8b70976b Added ExampleExecAndStream test Paulo Truta 2021-06-12 14:13:46 +0000
  • e19a830e29 Better visibility for test result log of TestExec Paulo Truta 2021-06-12 13:20:02 +0000
  • 35442bc156 Trimming spaces and newlines from result of Exec Paulo Truta 2021-06-12 13:18:34 +0000
  • b225c6bfd8 Added spaces trim to Exec result Paulo Truta 2021-06-12 13:05:41 +0000
  • bd889304ca Fixed TestExec Paulo Truta 2021-06-12 12:57:31 +0000
  • 4613ca7820 Added new path argument to utils.Exec... test Paulo Truta 2021-06-12 12:54:39 +0000
  • d294948890 Removed too much verbosity from utils.GetPath when no env file is available, added new argument (path) to Exec family of funcs Paulo Truta 2021-06-12 12:53:36 +0000
  • d9f8b2375c Fix invalid argument type for Exec family of tests Paulo Truta 2021-06-12 12:31:48 +0000
  • f4e64ae522 Added tests to utils module Paulo Truta 2021-06-12 12:28:52 +0000
  • 06b0802bbb Removed GetMySQLDbConnectionDetails() Paulo Truta 2021-06-12 12:28:33 +0000
  • f9c02fadff Added comment to func ExecAndGetLines Paulo Truta 2021-06-10 11:58:33 +0000
  • 95d94f0809 Merge branch 'main' into storage-module Paulo Truta 2021-06-10 11:56:52 +0000
  • b71adea06f Added command line tool dependencies for the project in README file Paulo Truta 2021-06-10 11:55:06 +0000
  • 1bb1385b71 Added explicit detection of disk or part block type, ignoring non-suppoorted devices Paulo Truta 2021-06-10 11:50:18 +0000
  • 9ef07e6052 Added ExecAndGetLines util func Paulo Truta 2021-06-10 11:45:02 +0000
  • 92ac9c2b03
    Add coverage (#15) Malachi Soord 2021-06-08 22:40:53 +0200
  • 3ad93adbab
    Add codecov.yml Malachi Soord 2021-06-08 22:35:45 +0200
  • 363f4d64c3
    Add coverage Malachi Soord 2021-06-08 22:32:31 +0200
  • e611bf2ac4
    Add test foundations (#14) Malachi Soord 2021-06-08 14:13:22 +0200
  • 4dec81e487 Cleanup, small fixes Paulo Truta 2021-06-07 22:47:38 +0000
  • b825dbff85
    Add test foundations Malachi Soord 2021-06-07 22:10:06 +0200
  • 5d92e213ee Changed value of lsblk block usage output to bytes Paulo Truta 2021-06-07 17:40:57 +0000
  • 2d92131533 Added UsageStat and UsageSplit filling for in use devices Paulo Truta 2021-06-07 16:41:41 +0000
  • a4736c3b4c Cleanup Paulo Truta 2021-06-07 09:25:49 +0000
  • ca9c2cc910 Added disk space usage for partitions in use by the system Paulo Truta 2021-06-07 09:16:04 +0000
  • 97c268200e Added InUse flag to Device, fixed logic bugs Paulo Truta 2021-06-06 17:28:15 +0000
  • 1ee82baf8a GetDevices now returns a complete description w/ disk partitions Paulo Truta 2021-06-06 17:10:08 +0000
  • fd002987fa Added storage module, base structs, getDevices() func, taskGetStorageDevices (ticks every 30) Paulo Truta 2021-06-06 12:29:46 +0000
  • c9f97d42bf
    Merge pull request #10 from edgebox-iot/fix-result-null-conversion Paulo Truta 2021-06-02 13:11:48 +0200
  • 1736b04a66 Query contains named columns Paulo Truta 2021-06-01 23:53:17 +0000
  • 5d69a9fb22
    Merge pull request #9 from edgebox-iot/edgeapp_description_support Paulo Truta 2021-06-01 16:51:48 +0200
  • 3ef90ffb15 Added support for adding EDGEAPP_DESCRIPTION env var to edgebox.env edgeapps Paulo Truta 2021-06-01 11:40:58 +0000
  • 1ad554b9bf
    Merge pull request #8 from edgebox-iot/sqlite Paulo Truta 2021-06-01 13:28:52 +0200
  • df3f8fe904 Added system module, GetUptimeSeconds and GetUptimeFormatted funcs, taskGetSystemUptime Paulo Truta 2021-05-31 11:21:14 +0000
  • 770e814b6e Fixed Datetime column values. Added utils.GetSQLiteFormattedDateTime def Paulo Truta 2021-05-30 11:28:42 +0000
  • 81b545f868 Fix wrong handling of task arguments in systemIterator Paulo Truta 2021-05-22 13:30:23 +0000
  • 9f63ab7f03 Support for nullable Task args Paulo Truta 2021-05-19 10:43:47 +0000
  • 58b7425fc7 Fixed incorrect query prepare statement, small fixes in queries Paulo Truta 2021-05-08 20:46:36 +0000
  • f238b3fa46 Write queries using prepared statements, better error handling Paulo Truta 2021-05-08 20:42:07 +0000
  • d975710445 Added initial debug message of SQLite DB location Paulo Truta 2021-05-03 21:02:09 +0000
  • 6cb3e198f0 Supporting connection to SQLite database Paulo Truta 2021-05-02 08:52:32 +0000
  • 84d7fd6a82
    Merge pull request #6 from edgebox-iot/include-sum Paulo Truta 2021-03-05 02:21:42 +0100
  • e6c07ddeae
    Tidy names Malachi Soord 2021-03-04 21:39:37 +0100
  • 217309f10d
    Add sum Malachi Soord 2021-03-04 21:38:02 +0100
  • 74cbff1966 Stopping edgeapp before removing Paulo Truta 2021-03-04 15:53:49 +0000
  • 8f14a7cd15 Fix for incorrect base assignment Paulo Truta 2021-03-04 15:19:31 +0000
  • 11e9543a87 Added install / remove edgeapp tasks Paulo Truta 2021-03-04 15:06:54 +0000
  • c42d96bf34
    Merge pull request #5 from edgebox-iot/edgeboxctl-rename Paulo Truta 2021-03-04 15:21:19 +0100
  • cb3ecec5f4 Fix to makefile build-prod Paulo Truta 2021-03-04 14:06:48 +0000
  • 812cf31dc4 More changes. Fix build Paulo Truta 2021-03-04 12:48:25 +0000
  • 0ed5297f6d Renaming everything to edgeboxctl Paulo Truta 2021-03-04 12:43:49 +0000
  • 2e92ff53fe
    Merge pull request #4 from edgebox-iot/loop_loop_execution Paulo Truta 2021-03-04 13:27:38 +0100
  • 2a3506680a Removed logging of utils.Exec loop_loop_execution Paulo Truta 2021-02-20 23:55:59 +0000
  • 0ffde681cf Introduced ExecAndStream for execution with progress output Paulo Truta 2021-02-20 21:43:27 +0000
  • 5e81525635 Fixes with .env file handling and other misc Paulo Truta 2021-02-20 18:09:41 +0000
  • 7857985fe4 Added full support for enable_online and disable_online tasks Paulo Truta 2021-02-20 14:26:23 +0000
  • 6c0b011e51 Removed unnused variable assignment and unecessary for loop Paulo Truta 2021-02-19 00:32:37 +0000
  • 00b10ac64c Added InternetAccessible logic Paulo Truta 2021-02-19 00:22:12 +0000
  • 2e013b44bb Removed unused fmt import Paulo Truta 2021-02-18 23:40:16 +0000
  • 643ca5f545 Commented logging for utils.Exec() Paulo Truta 2021-02-18 23:39:54 +0000
  • f8eaf3b3e1 Commented annoying log... Paulo Truta 2021-02-18 23:36:51 +0000
  • 595c87c19c Extracted isSystemReady to outer loop Paulo Truta 2021-02-18 23:08:28 +0000
  • 57a9ef3eed Moved sleep instruction to after execution of lined task Paulo Truta 2021-02-18 23:02:31 +0000
  • 3cc670b823 Implemented actual tested RunEdgeApp and StopEdgeApp commands, added sleep time after container operation and before checking status Paulo Truta 2021-02-18 22:59:14 +0000
  • 0bd61ccf75 Tidy up (less verbosity), actual DB update for EDGEAPPS_LIST Paulo Truta 2021-02-17 13:34:53 +0100
  • 2817628fef Added utils.GetPath(pathKey) for getting paths that can be overriden by a .env for local dev Paulo Truta 2021-02-17 12:35:22 +0100
  • 59707b8abd Fixed small typo, replaced DB connection details in Makefile by .env loading Paulo Truta 2021-02-17 12:10:15 +0100
  • b04e854fdd Added RunEdgeApp and StopEdgeApp funcs Paulo Truta 2021-02-17 01:24:51 +0100
  • 63d81e8662 Using paths of Edgebox Paulo Truta 2021-02-17 00:16:43 +0000
  • 5a97caacff Added various functions to edgeapps package, working GetEdgeApps func running as scheduled task Paulo Truta 2021-02-17 01:08:10 +0100
  • fc5b342c89 Removed mods (thanks @inverse) Paulo Truta 2021-02-16 22:08:59 +0100
  • 97182602c4 Added package edgeapps Paulo Truta 2021-02-16 17:30:01 +0100
  • ad28e1a505 Added edgeapps package, cleaned up redundancies Paulo Truta 2021-02-15 20:37:16 +0100
  • 9f20211bf4 Introduced tick counter and ExecuteSchedules for execution of recurrent no argument tasks Paulo Truta 2021-02-15 18:14:46 +0000
  • 50ad33ac33 removed spaces Paulo Truta 2021-02-15 09:55:09 +0100
  • 1e9be94851 Various improvements and developments to tasks execution logic Paulo Truta 2021-02-14 04:22:08 +0000
  • 461a9e6558 Replaced fmt with log calls Paulo Truta 2021-02-14 03:50:21 +0100
  • d7aabfdbe8 Added NodeName as element of tasSetupBootnodeArgs struct. Usage in taskSetupBootnode Paulo Truta 2021-02-14 02:28:13 +0100
  • db3b31091e Reading json arguments for task running, setup_bootnode task, don't run actual commands for dev release Paulo Truta 2021-02-14 01:04:50 +0100
  • c3d283c243 Check for .ready file in ws directory Paulo Truta 2021-02-13 21:52:08 +0100
  • 47df72777b Added base task execution algo Paulo Truta 2021-02-13 21:49:09 +0100
  • 4bb060ba5f Laying out the structure of the Tasks package, and how it will be called in the systemIterator in main Paulo Truta 2021-02-13 17:04:57 +0100
  • 8845cb11de Renamed module database into tasks Paulo Truta 2021-02-13 16:06:13 +0100
  • 375bb03dfe Added database module with exportable functions Paulo Truta 2021-02-13 15:51:14 +0100
  • 28cb163f6d Added specific signal catch only for SIGQUIT Paulo Truta 2021-02-12 18:11:36 +0000