Paulo Truta
b11034dd17
Shell timeout log only every 10 seconds
2024-11-04 13:36:52 +01:00
Paulo Truta
80fc8b40cd
Remove postinstall flagged file when removing app
2024-11-03 03:25:59 +01:00
Paulo Truta
01f423ee84
Add support to fetch experimental info from apps, add bulk install edgeapps task
2024-11-02 22:42:56 +01:00
Paulo Truta
a8b1da4b7c
Added update_system task and accompanying logic ( #37 )
2024-07-04 16:22:32 +02:00
Paulo Truta
6ccd4a3299
Excluding tiny storage devices
2024-04-21 00:46:30 +02:00
Paulo Truta
42b1a34ca7
Fix runnable file check
2024-04-17 20:48:53 +02:00
Paulo Truta
4bb343769f
Faster GetEdgeAppServices by skipping ones that should not be running
2024-04-17 20:40:00 +02:00
Paulo Truta
3bb6200b1c
Added args and tasks to start and stop the sshx shell ( #35 )
...
Co-authored-by: = <=>
2024-04-17 20:18:13 +02:00
dependabot[bot]
eae72b0a79
Bump actions/checkout from 3 to 4 ( #34 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 21:10:09 +01:00
Malachi Soord
8be566afb9
Fix up install
2023-11-19 21:46:11 +01:00
Malachi Soord
9c2a0dbefe
Tidy repo ( #30 )
...
* Tidy repo
* Tidy
* Fix up
* Setup default target
2023-11-19 21:33:18 +01:00
dependabot[bot]
4e399f63ea
Bump actions/setup-go from 3 to 4 ( #31 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-19 12:31:08 +01:00
Paulo Truta
e238e9d71d
Basic Auth and RemoveApp Support
2023-11-14 21:00:09 +01:00
=
db56530311
Don't fail install if service cannot be stopped (does not exist yet)
2023-11-05 12:19:09 +01:00
=
319acbd0e1
Add explicit support for prod amd64 build in Makefile
2023-11-05 11:47:42 +01:00
Paulo Truta
f0047a7a0c
added cluster_ssh_port_var to read from env
2023-11-05 02:03:46 +01:00
Paulo Truta
5c736a1b85
Adjustments to cloud options, env location and expected vars
2023-11-05 02:01:16 +01:00
=
ca7f4af7fe
Added Edgeapps Options Feature
2023-10-29 20:48:14 +01:00
Paulo Truta
445bc41d0e
Fixes to install make command, fixes to local network app url definition, run ws build on start and every 24 hours
2023-10-28 18:43:18 +02:00
=
8bf26a334c
Added system.CopyDir and EdgeappsBackupPath conf
2023-06-10 17:29:54 +02:00
Paulo Truta
e009c1f55d
NetworkURL based on hostname
2023-06-04 23:19:34 +02:00
Paulo Truta
284acb18a4
Added restore functionality
2023-05-31 00:03:23 +00:00
Paulo Truta
8d0de36cdd
Removed err from log
2023-05-30 21:25:40 +02:00
Paulo Truta
113785def4
Using Sprintf to convert from int64 to string of digits
2023-05-30 21:23:33 +02:00
Paulo Truta
df13bf705d
Removed formatting directive from Println call
2023-05-30 21:22:31 +02:00
Paulo Truta
335b7ec29e
Commented UsageStat member of Repository
2023-05-30 21:21:24 +02:00
Paulo Truta
13275f80a5
Temporarily commented imports on backups module
2023-05-30 21:20:30 +02:00
Paulo Truta
04cdba7479
Run next backup based on time elapsed since last backup record
2023-05-30 20:38:06 +02:00
Paulo Truta
a66ff40e65
Backups feature
2023-05-29 21:52:27 +02:00
Paulo Truta
f7823b9e20
Added make build-<arch> commands
2023-04-17 20:28:06 +02:00
Paulo Truta
ece500c342
Cloudflare Tunnel Support ( #29 )
...
* Adding necessary changes for tunnel setup supporting cloudflared
* Applied shwrap pattern to login, create and delete tunnel actions, many fixes
* Refactoring sesh 1
* Added utils, remaining tunnel tasks, cleanup
2023-03-20 00:54:42 +01:00
Paulo Truta
161ec76eb9
Add service file and install command ( #27 )
...
* Added systemd service file
* Added make install command (copies binary to local bin and adds service file
* Makefile has intall-prod and install-cloud commands
2023-03-11 13:58:54 +01:00
dependabot[bot]
d9720a48c9
Bump actions/setup-go from 2 to 3 ( #24 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 20:12:49 +01:00
dependabot[bot]
1ba5a8f506
Bump actions/checkout from 2 to 3 ( #23 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 20:12:41 +01:00
Malachi Soord
25d5ca74f8
Create dependabot.yml ( #22 )
2023-03-09 19:28:58 +01:00
Paulo Truta
d62cb57222
Update README.md
2023-03-05 13:46:38 +01:00
Malachi Soord
0680b7ffb9
GetPath improvements ( #20 )
...
* Use named variables for getting path
Fixed bug with env var
* Fix test
* Use utils to get paths
2022-10-08 18:41:37 +02:00
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
Paulo Truta
864d1e8f0f
Update LICENSE
...
Looking into changing the project license ahead of open sourcing. We will follow the Elastic License
2021-11-21 21:20:05 +01:00
Malachi Soord
7430f0c8ce
Use const for task status ( #18 )
2021-06-17 21:48:15 +02:00
Paulo Truta
9339e6cf09
Storage Module Basis ( #13 )
...
* Added storage module, base structs, getDevices() func, taskGetStorageDevices (ticks every 30)
* GetDevices now returns a complete description w/ disk partitions
* Added InUse flag to Device, fixed logic bugs
* Added disk space usage for partitions in use by the system
* Cleanup
* Added UsageStat and UsageSplit filling for in use devices
* Changed value of lsblk block usage output to bytes
* Cleanup, small fixes
* Added ExecAndGetLines util func
* Added explicit detection of disk or part block type, ignoring non-suppoorted devices
* Added command line tool dependencies for the project in README file
* Added comment to func ExecAndGetLines
* Removed GetMySQLDbConnectionDetails()
* Added tests to utils module
* Fix invalid argument type for Exec family of tests
* Removed too much verbosity from utils.GetPath when no env file is available, added new argument (path) to Exec family of funcs
* Added new path argument to utils.Exec... test
* Fixed TestExec
* Added spaces trim to Exec result
* Trimming spaces and newlines from result of Exec
* Better visibility for test result log of TestExec
* Added ExampleExecAndStream test
* Added Example tests with failure status for ExecAndStream
* Added branch to test for valid key in GetPath
* Added missing t.Fail() statements in utils_test.go
* Added storage_test.go file, smoke test
* TestGetDevices
2021-06-13 12:03:36 +02: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
c9f97d42bf
Merge pull request #10 from edgebox-iot/fix-result-null-conversion
...
Fix query panic on GetNextTask()
2021-06-02 13:11:48 +02:00
Paulo Truta
1736b04a66
Query contains named columns
2021-06-01 23:53:17 +00:00
Paulo Truta
5d69a9fb22
Merge pull request #9 from edgebox-iot/edgeapp_description_support
...
Added support for adding EDGEAPP_DESCRIPTION env var to edgebox.env
2021-06-01 16:51:48 +02:00
Paulo Truta
3ef90ffb15
Added support for adding EDGEAPP_DESCRIPTION env var to edgebox.env edgeapps
2021-06-01 11:40:58 +00:00
Paulo Truta
1ad554b9bf
Merge pull request #8 from edgebox-iot/sqlite
...
Supporting connection to SQLite database
2021-06-01 13:28:52 +02:00
Paulo Truta
df3f8fe904
Added system module, GetUptimeSeconds and GetUptimeFormatted funcs, taskGetSystemUptime
2021-05-31 11:21:14 +00:00
Paulo Truta
770e814b6e
Fixed Datetime column values. Added utils.GetSQLiteFormattedDateTime def
2021-05-30 11:28:42 +00:00