forked from vmware-archive/admiral
-
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.
VBV-1105: imageReference can not be set in templates
ContainerDescription.imageReference could not be set in yaml templates because the property was ignored, so it used to be imported as customProperty. This fix allows to set imageReference in yaml templates. Additionally, it allows to use a file reference (file:///path_to_file). In case the scheme is file, DockerAdapterService loads the file without downloading it to a temporary file. The docker compose format is not affected by this change. Finally, the fix adds a unit test for importing templates with imageReference, and removed and old workaround for an issue loading a file which was fixed long ago. Change-Id: I72a44ce24cff3d1d8ff1a462a5998ef1a44d1046 Reviewed-on: http://bellevue-ci.eng.vmware.com:8080/7945 Compute-Verified: jenkins <[email protected]> Upgrade-Verified: jenkins <[email protected]> Bellevue-Verified: jenkins <[email protected]> Reviewed-by: Tony Georgiev <[email protected]> CS-Verified: jenkins <[email protected]>
- Loading branch information
Showing
4 changed files
with
51 additions
and
42 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
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