googleapis / googleapis/google-cloud-ruby
[Datastore] Create indexes automatically for test data in builds
Open
priority: p3
type: cleanup
- Dominant language
- Ruby
- Stars
- 1.4k
- Forks
- 578
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 166
Description
Some of the acceptance tests & samples tests for `datastore` require indexes to be created beforehand, which are specified in `google-cloud-datastore/acceptance/data/index.yaml` and `google-cloud-datastore/samples/index.yaml`. As of now, these need to be manually run every-time we make a change to indexes (instructions [here](https://github.com/googleapis/google-cloud-ruby/blob/main/.github/CONTRIBUTING.md#datastore-indexes)).
We should automate this process in the build through a rake task or something similar.
Problem identified in #18401
Contributor guide
Assessment
This issue has not been assessed yet.