thin-edge / tedge-container-bundle

thin-edge.io. s6-overlay container setup to run all the components in a single container
0 stars 1 forks source link

feat(self-update): use docker template to generate docker run options #26

Closed reubenmiller closed 1 month ago

reubenmiller commented 1 month ago

Support transferring more docker run options by using the golang template format which is supported by the docker inspect <container> --format "<template>" syntax.

The new template supports transferring more docker run options than previously to ensure the new container is spawned in a very similar manner as the previous container

github-actions[bot] commented 1 month ago

Robot Results

:white_check_mark: Passed :x: Failed :next_track_button: Skipped Total Pass % :stopwatch: Duration
11 0 1 11 100 1m15.837491s

Passed Tests

Name :stopwatch: Duration Suite
Grace period to allow container to startup 5.002 s Operations
Get Logfile Request 2.320 s Operations
Get Configuration File 4.621 s Operations
Execute Shell Command 2.311 s Operations
Install application using docker compose 21.451 s Operations
Trigger self update via local command 11.353 s Self-Update
Self update should only update if there is a new image 2.310 s Self-Update
Self update using software update operation 23.728 s Self-Update
Cloud Connection is Online 0.111 s Telemetry
Service status 0.208 s Telemetry
Sends measurements 2.420 s Telemetry