Commit Graph

27 Commits (35442bc15642d476ead05582e5ec83f735ad5edf)

Author SHA1 Message Date
Paulo Truta 35442bc156 Trimming spaces and newlines from result of Exec 2021-06-12 13:18:34 +00:00
Paulo Truta b225c6bfd8 Added spaces trim to Exec result 2021-06-12 13:05:41 +00:00
Paulo Truta bd889304ca Fixed TestExec 2021-06-12 12:57:31 +00:00
Paulo Truta 4613ca7820 Added new path argument to utils.Exec... test 2021-06-12 12:54:39 +00:00
Paulo Truta d294948890 Removed too much verbosity from utils.GetPath when no env file is available, added new argument (path) to Exec family of funcs 2021-06-12 12:53:36 +00:00
Paulo Truta d9f8b2375c Fix invalid argument type for Exec family of tests 2021-06-12 12:31:48 +00:00
Paulo Truta f4e64ae522 Added tests to utils module 2021-06-12 12:28:52 +00:00
Paulo Truta 06b0802bbb Removed GetMySQLDbConnectionDetails() 2021-06-12 12:28:33 +00:00
Paulo Truta f9c02fadff Added comment to func ExecAndGetLines 2021-06-10 11:58:33 +00:00
Paulo Truta 95d94f0809 Merge branch 'main' into storage-module 2021-06-10 11:56:52 +00:00
Paulo Truta 9ef07e6052 Added ExecAndGetLines util func 2021-06-10 11:45:02 +00:00
Malachi Soord e611bf2ac4
Add test foundations (#14) 2021-06-08 14:13:22 +02:00
Paulo Truta 770e814b6e Fixed Datetime column values. Added utils.GetSQLiteFormattedDateTime def 2021-05-30 11:28:42 +00:00
Paulo Truta 6cb3e198f0 Supporting connection to SQLite database 2021-05-02 08:52:32 +00: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 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 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 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 ad28e1a505 Added edgeapps package, cleaned up redundancies 2021-02-15 20:37:16 +01:00