Thanks! This will help me not to make mistakes!
maanantai 2. heinäkuuta 2018 18.31.52 UTC+3 Steren Giannini kirjoitti: > > Hi, > > When deploying, we recommend to always create a new version instead of > overriding an existing one. This is achieved by not passing the --version > flag when running gcloud app deploy. > > When doing so, you can then safely rollback to the previously serving > version if something goes wrong with the new one. > > Regarding gcloud, we are evaluating better solutions to give the project > context. In the meantime, you can use the --project flag to endure you are > deploying to the right project. > > Steren > Product Manager > Google Cloud Platform > > On Mon, Jul 2, 2018, 07:42 Jukka Hautakorpi <[email protected] > <javascript:>> wrote: > >> Hello >> >> I have few project that i update every now and then. Php and GAE. >> Used to use the old cmd tools (appcfg.py) but had to update to gcloud >> >> I made a mistake and run command >> >> gcloud app deploy project222/app.yaml --version=1 --promote >> >> without reading closely enough and it updated this project over another >> one! huuuge mistake >> >> How can i make it more simple when dealing with multiple projects >> withouth always having to first set project with >> gcloud config set project projectname >> >> ? >> >> Thanks >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/google-appengine. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/26689fe5-ed15-434e-8513-69449948286d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/26689fe5-ed15-434e-8513-69449948286d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/d871be98-a307-4ebc-877b-a99fff456cab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
