-
Notifications
You must be signed in to change notification settings - Fork 73
test: build local spread binary #258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
be34961 to
1d99d4e
Compare
4005f81 to
517ae65
Compare
278398b to
4a6e7bb
Compare
3ec64c7 to
6b0abb8
Compare
6b0abb8 to
ba37289
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request updates the GitHub Actions test workflow to build a local spread binary from a pinned commit instead of relying on a potentially outdated system-provided version. The PR also adds explicit unit test execution and updates the Google Cloud credentials handling to use a file-based approach.
Changes:
- Added a dedicated step to run Go unit tests
- Introduced a step to build a specific version of the spread binary from source
- Modified the spread configuration to use file-based Google Cloud credentials instead of environment variables
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/test.yaml | Added unit test execution, local spread binary build from pinned commit, and updated credential handling to use key.json file |
| spread.yaml | Changed Google Cloud key configuration from environment variable to file-based approach |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8cfdbf6 to
1de9c3a
Compare
Don't rely on GitHub runners providing a (potentially outdated) spread binary. Instead, check out a reference version and build a local binary to be used in the github CI test. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
1de9c3a to
1de5e41
Compare
Don't rely on GitHub runners providing a (potentially outdated)
spread binary. Instead, check out a reference version and build a
local binary to be used in the github CI test.