forked from edgexfoundry/ci-build-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update for new snapcraft, fix old bugs
Migrated from ci-management: edgexfoundry/ci-management#617 Changes by Ian Johnson <[email protected]> Due to some libraries that snapcraft/python use for outputting, the ordering of some output gets lost when it is piped through docker. To fix this we can just run snapcraft through unbuffer, which is provided through the expect package. This is needed because now snapcraft will use "snap pack" from the host, and so we need the snap command in the docker container alongside the snapcraft snap. The previous behavior would not actually fail the build setup if for example the SHA's didn't match, but now if the SHA's don't match, sha512sum will exit non-zero and using && results in the whole command failing. We also should delete the sha512 file as well, it is not needed during the build. Fixes: #517 Signed-off-by: Ernesto Ojeda <[email protected]>
- Loading branch information
1 parent
e75efbb
commit f041aea
Showing
3 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters