The app I build has a dev and prod versions (like most apps).
I need a way to specify which version will upload via an environment
variable (springboot "profile")
The only way I can pass environment variables to a war file is via app.yaml.
This means that the build (gradle) has to change one line in app.yaml as
part of the build. The variable name in command line is --spring.profiles.
active, so in app.yaml it will be :
env_variables:
- --spring.profiles.active: ${active_profile}
- How to you add an environment variable in app.yaml whose value is set
by gradle at build time?
- Is there any other way to achieve this (multiple spring profiles)
- How to you guys (other flex users) configure different environments of
the same app?
--
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/9dbabb79-4ed5-4f58-9f1e-16f7bcdf1306%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.