Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force remove container if updateMetadata fails
The `updateMetadata` step renames the container to match the target release when the service doesn't change between releases. We have seen this step fail because of an engine bug that seems to relate to the engine keeping stale references after container restarts. The only way around this issue is to remove the old container and create it again. This implements that workaround during the updateMetadata step to deal with that issue. Change-type: minor Relates-to: balena-os/balena-engine#261
- Loading branch information