Skip to content

Commit

Permalink
fix config from another workflow tests
Browse files Browse the repository at this point in the history
`Trigger config_update operation from another workflow` and `Trigger
config_snapshot operation from another operation` were failing if
started directly and not part of test suite. Because of the missing `Set
Device Context` call, workflow toml files were being copied to the wrong
device.

Signed-off-by: Marcel Guzik <[email protected]>
  • Loading branch information
Bravo555 committed Aug 26, 2024
1 parent a3612ae commit abf233d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ Copy Configuration Files

Customize Operation Workflows
[Arguments] ${device}
ThinEdgeIO.Set Device Context ${device}
ThinEdgeIO.Transfer To Device ${CURDIR}/sub_config_snapshot.toml /etc/tedge/operations/
ThinEdgeIO.Transfer To Device ${CURDIR}/sub_config_update.toml /etc/tedge/operations/
Restart Service tedge-agent
Expand Down

0 comments on commit abf233d

Please sign in to comment.