Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 3cf21dd

Browse files
chore(python): remove CONTRIBUTING.rst from templates
Source-Link: googleapis/synthtool@c96fb11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab
1 parent 16b9c73 commit 3cf21dd

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:023a21377a2a00008057f99f0118edadc30a19d1636a3fee47189ebec2f3921c
17-
# created: 2025-03-31T16:51:40.130756953Z
16+
digest: sha256:710b70faff81151657d89db6e028c23a1051787598c8276bdd8eef25c92da8ab
17+
# created: 2025-04-10T17:48:54.829145676Z

CONTRIBUTING.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,31 @@ Running System Tests
157157

158158
- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.
159159

160+
- You'll need to create composite
161+
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
162+
with the ``gcloud`` command line
163+
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
164+
165+
# Install the app (App Engine Command Line Interface) component.
166+
$ gcloud components install app-engine-python
167+
168+
# Authenticate the gcloud tool with your account.
169+
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
170+
$ gcloud auth activate-service-account > --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
171+
172+
# Create the indexes
173+
$ gcloud datastore indexes create tests/system/index.yaml
174+
175+
- You'll also need stored data in your dataset. To populate this data, run::
176+
177+
$ python tests/system/utils/populate_datastore.py
178+
179+
- If you make a mistake during development (i.e. a failing test that
180+
prevents clean-up) you can clear all system test data from your
181+
datastore instance via::
182+
183+
$ python tests/system/utils/clear_datastore.py
184+
160185
- You'll need to create composite
161186
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
162187
with the ``gcloud`` command line

0 commit comments

Comments
 (0)