googleapis / googleapis/google-cloud-ruby

[Datastore] Create indexes automatically for test data in builds

Open
#18,419 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.