i've been long time user of appcfg.py , build bash scripts on top of it.
should switch gcloud app deploy? appcfg.py deprecated? if yes timeline?
why isn't there grace period backward compatibility of yaml file? switching gcloud app deploy get:
the [application] field specified in file [.../app.yaml]. field not used gcloud , must removed. project name should instead specified either
gcloud config set project my_project
or setting--project
flag on individual command executions.
and
error: [version] field specified in file [.../app.yaml]. field not used gcloud , must removed. versions generated automatically default can manually specified setting
--version
flag on individual command executions.
i saying this possible w/ module/service field:
warning: "module" parameter in application .yaml files deprecated. please use "service" parameter instead.
how upload queue.yaml, dispatch.yaml , cron.yaml gcloud app deploy?
what differences between 2 ways of deploying app?
i'm interested in caveats & things watch like:
flags --promote promote deployed version receive traffic. true default.
that means w/ gcloud app deploy app deployed , new version set active one... reverse way appcfg.py did things there have call set_default_version mark version active.
this raises last question: if opt not make active using either
$ gcloud config set app/promote_by_default false
or
use --no-promote disable.
will have redeploy w/ default value can make active?
long story short:
gcloud app deploy
going preferred path deployments going forward, , supported. you'll have year after declare deprecation transition.- before deprecate
appcfg.py
, we'll have full migration guide of changes. don't want full backwards compatibility, because we're seizing chance fix warts old tooling. - you can run
gcloud app deploy cron.yaml
, on deploy alternate yaml files. - again, we're planning on writing migration guide before want force on new tooling.
so think can punt on until we've officially deprecated appcfg
tooling–gcloud app
meant brave explorers want newest , shiniest now.
Comments
Post a Comment