CircleCI-Public / gcp-cli-orb

Install and configure the Google Cloud CLI (gcloud)
https://circleci.com/orbs/registry/orb/circleci/gcp-cli
MIT License
9 stars 32 forks source link

region / zone should not be required #38

Closed wyardley closed 2 years ago

wyardley commented 2 years ago

Orb version

circleci/gcp-cli@2.2.0 (current)

What happened

https://circleci.com/developer/orbs/orb/circleci/gcp-cli#commands-initialize lists all the env vars as not required. They are technically optional, since they have defaults, but the job will fail if the env vars themselves are not set.

Expected behavior

wyardley commented 2 years ago

@BytesGuy @gmemstr would one of you be able to take a look at the associated PR, as well as the other open PRs in this project and take a look at the CI failure related to the expired dev version?

gmemstr commented 2 years ago

The required field is determined by the presence of a default value for the parameter. We should have some validation for this within the orb though. I'll take a look.