Skip to content

Add API key to cloud build#1940

Merged
vish-cs merged 1 commit intodatacommonsorg:masterfrom
vish-cs:cloudbuild
Apr 1, 2026
Merged

Add API key to cloud build#1940
vish-cs merged 1 commit intodatacommonsorg:masterfrom
vish-cs:cloudbuild

Conversation

@vish-cs
Copy link
Copy Markdown
Contributor

@vish-cs vish-cs commented Apr 1, 2026

No description provided.

@vish-cs vish-cs changed the title Add api key to cloud build Add API key to cloud build Apr 1, 2026
@vish-cs vish-cs merged commit ae626cc into datacommonsorg:master Apr 1, 2026
9 checks passed
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the cloudbuild.yaml configuration to expose the DC_API_KEY secret to the unit-test step via the Secret Manager. It is recommended to also include this secret in the integration-test step to ensure those tests have the necessary API access.

waitFor: ['push']

secretEnv:
- DC_API_KEY
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The DC_API_KEY is added to the unit-test step, but it appears to be missing from the integration-test step (lines 39-48). Integration tests typically require API access to verify functionality against real services. Consider adding the secretEnv to the integration-test step as well.

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.

2 participants