-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move app ID and app version configuration out of build.properties #11569
Move app ID and app version configuration out of build.properties #11569
Comments
Hello, could I be assigned to this issue? |
@u6867511 Sure. Please go ahead since no one is taking up this. But be reminded that you should probably focus on 1 or 2 issues and solve them before taking new ones as I saw your comment in many issues. |
Hi, is this issue still open? If yes, can I be assigned to this issue? |
@Divyansh9979 Hello, feel free to submit a PR for this issue. We do not assign issues to contributors. |
Hi, I would like to work on this issue. is this issue still open? |
Sure @anii1827, please go ahead |
In the context of point number 2, for a production server, the version and app ID should be obtained by retrieving values from the environment variables GOOGLE_CLOUD_PROJECT and GAE_VERSION.
or, are there any other variables that should be considered for obtaining these details in a production environment? |
Pinging @wkurniawan07 (or @damithc), who will be more familiar with the prod env |
sure! |
@wkurniawan07 just checking if you're able to help with this issue! |
@weiquu any update? |
Hi, @damithc, @wkurniawan07, any updates on this issue? |
Current: app ID and app version are configured via
build.properties
.Problem:
While not necessarily a problem, this is a practice that is no longer justifiable because the system is already decoupled from App Engine since V8.0.0. App ID and version are deployment-specific metadata whose values should be set outside of (non-deployment) code.
Solution:
gradle.properties
, so that the values can be retrieved by the deployment script.GOOGLE_CLOUD_PROJECT
andGAE_VERSION
from the environment. In dev server they should be hard-coded to some suitable values.test.properties
for the former andclient.properties
for the latter.The text was updated successfully, but these errors were encountered: