GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples

'gcloud deployment-manager deployments ....' doesn't handling globing when run on Windows

Open
#556 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
951
Forks
700
PR merge metrics
No merged PRs in 30d

Description

The recently introduced globbing feature for Deployment Manager so that schema templates do not need to explicitly list all of the template and helper files does not appear to work correctly when the gcloud command to submit the Deployment Manager deployment is run from a Windows computer.

glob_imports is set to 'true'.

When submitted, the files are copied to the Deployment Manager workspace, however the file path separator, as specified in the schema file, is changed from '/' to '\' which causes Deployment Manager to fail to process the templates correctly and results in an error.

The same command works correctly if submitted from a linux session on the same computer using the same set of files.

See screenshot:

![deployment-manager-globbing-failure](https://user-images.githubusercontent.com/6781655/82316655-0d5c9600-99c5-11ea-8785-9ddb32a03296.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.