Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

bazel: move schema migrations fetching from GCS to bazel repository #59879

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

Strum355
Copy link
Contributor

Does what it says on the tin

Caveat:
As this doesn't use the built-in downloaders, this probably cant make use of the repository cache. While it won't refetch it every single time (there is some degree of caching), I'm not sure what will cause it to not use the cached one and refresh it. Its a very fast operation though.
See bazelbuild/bazel#19267

Test plan

bazel build //internal/database/migration/shared:generate_stitched_migration_graph

@Strum355 Strum355 added the bazel label Jan 25, 2024
@Strum355 Strum355 requested a review from a team January 25, 2024 22:38
@Strum355 Strum355 self-assigned this Jan 25, 2024
@cla-bot cla-bot bot added the cla-signed label Jan 25, 2024
Copy link
Contributor

@burmudar burmudar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nifty. Even using rctx and Labels ... FANCY even.

@Strum355 Strum355 merged commit ba9d2e0 into main Feb 14, 2024
9 checks passed
@Strum355 Strum355 deleted the nsc/schema-migrations-repository-bazel branch February 14, 2024 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants