Skip to content

feat(contrib): Implement test-gcr tool in Go#2353

Closed
westarle wants to merge 5 commits intogoogleapis:mainfrom
westarle:feat/test-gcr-go
Closed

feat(contrib): Implement test-gcr tool in Go#2353
westarle wants to merge 5 commits intogoogleapis:mainfrom
westarle:feat/test-gcr-go

Conversation

@westarle
Copy link
Copy Markdown
Contributor

This commit introduces the test-gcr tool, a Go application designed to automate testing local sidekick changes against the google-cloud-rust repository.

The tool includes the following features:

  • Command-line flag parsing for configuring repository paths, branches, pass-through arguments for sidekick and cargo.
  • Pre-flight checks for dependencies (Go, Rustc), path validity,
    Git repository status, and remote configuration.
  • Orchestration of fetching updates, resetting the google-cloud-rust
    repository, running sidekick refresh, formatting, and executing tests.
  • Granular dry-run mode (--dry-run)
  • Comprehensive unit tests for validation and command execution logic.
  • README.md with usage instructions and examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant