gcloud in version Google Cloud SDK 0.9.57 breaks deploy of application -
as of 04/22/15, update of gcloud latest version breaks deploy command. version of app set current timestamp (eg: 20150422t202108). , doing a:
gcloud preview app deploy .
returns error
"error: directories not supported [.]. must provide explicit yaml files."
and deploying application using individual .yaml files complains version specified in module update set app version timestamp.
"the version [1] declared in [/users/username/app.yaml, /users/username/app2.yaml] not match current gcloud version [20150422t202108]."
is bug or did config options change? don't find differences on documentation page.
the version deployment explicit , never taken yaml files. there 2 possible cases:
1) if use --version flag, whatever version specify used. error if not match values in yaml file.
2) if not use --version flag, version number generated you. error seeing because, again, version not match in yaml file.
the proper solution here remove version attribute yaml (instead of trying them match).
the deploy command no longer takes directories arguments. specify yaml files want deploy explicitly.