| Oct | NOV | Dec |
| 26 | ||
| 2019 | 2020 | 2021 |
COLLECTED BY
Collection: Common Crawl
Tekton
Kubernetes-native resources for declaring CI/CD pipelines.
Cost Management
Tools for monitoring, controlling, and optimizing your costs.
●Media and Gaming
OpenCue
Open source render manager for visual effects and animation.
source-context.jsonfile, which is generated from a Git repository
and deployed with your application.
WEB-INF/classes/source-context.json
file is automatically generated and uploaded with your application.
source-context.jsonfile.
The plugin generates a git.propertiesfile that contains source context information.
The git.propertiesfile is automatically injected into your application, so
there is no need to generate the source-context.jsonfile.
(一)
Commit your latest changes.
(二)
Run the following in the root directory of your local Git repository:
gcloud debug source gen-repo-info-file --output-directory="WEB-INF/classes/"
(三)
Deploy (or redeploy) your app from the Git repository, including the source-context.jsonfile.
The correct version of your source code now appears automatically on the Debugger page.
gcloud debug source gen-repo-info-file --output-directory=[MODULE_PACKAGE_DIR]
[MODULE_PACKAGE_DIR]is the top level of your app directory.
(三)
Deploy (or redeploy) your app from the Git repository, including the source-context.jsonfile.
The correct version of your source code now appears automatically on the Debugger page.
gcloud debug source gen-repo-info-file --output-directory=[MODULE_PACKAGE_DIR]
[MODULE_PACKAGE_DIR]is the top level of your app directory.
(三)
Deploy (or redeploy) your app from the Git repository, including the source-context.jsonfile.
The correct version of your source code now appears automatically on the Debugger page.
gcloud debug source gen-repo-info-file --output-directory=[MODULE_PACKAGE_DIR]
[MODULE_PACKAGE_DIR]is the top level of your app directory.
(三)
Deploy (or redeploy) your app from the Git repository, including the source-context.jsonfile.
The correct version of your source code now appears automatically on the Debugger page.
source-context.jsonfile, perform the following steps:
Commit your latest changes:
git commit -m "Commit message"
Generate the source-context.jsonfile by running the following command
from the app's root directory:
gcloud debug source gen-repo-info-file
For more information on the gcloud debug source gen-repo-info-file,
run the following command:
gcloud debug source gen-repo-info-file --help
Verify that the source-context.jsonfile is colocated with the app's source
code. Your folder structure should be similar to the following:
App-directory/
main.py
app.yaml
source-context.json
Redeploy your application.