This feature doesn't exist currently, however you could do something like
set up a shell script that wraps gcloud app services set-traffic
<https://cloud.google.com/sdk/gcloud/reference/app/services/set-traffic> to
do the traffic migration and also send an email using the UNIX mail
<https://linux.die.net/man/1/mail> command. As a trivial example:
#!/usr/bin/env sh
gcloud app services set-traffic ${2} --splits ${1}=1 --migrate
cat "Traffic migrated to version ${1}." | mail -s "Traffic migration alert"
[email protected]
This could be saved as migrate-traffic.sh and invoked as ./migrate-traffic.sh
my-version or ./migrate-traffic.sh my-version my-service.
On Sunday, January 29, 2017 at 11:25:19 AM UTC-5, Sky Diver wrote:
>
> Is there any way to trigger an email notification event once traffic is
> migrated to a different version?
>
--
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/f0a9dab0-c49b-447d-a6ed-78f224ba95ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.