Skip to content

Install the expected protoc-gen-terraform version in lint.yaml#47268

Merged
espadolini merged 1 commit intomasterfrom
espadolini/fix-protoc-gen-terraform-version
Oct 7, 2024
Merged

Install the expected protoc-gen-terraform version in lint.yaml#47268
espadolini merged 1 commit intomasterfrom
espadolini/fix-protoc-gen-terraform-version

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

The lint.yaml workflow installs the tip of the main branch from the gravitational/protoc-gen-terraform repository, while the gen-tfschema target in integrations/terraform/Makefile expects a fixed version. Since protoc-gen-terraform v3.0.0 seems to have broken codegen at the current time, and the version check prevents merging any PR that touches a proto file or a go.mod file, this PR changes the workflow to install the exact version that the Makefile expects.

For verification, the commit referenced in lint.yaml is gravitational/protoc-gen-terraform@0876826 .

@espadolini espadolini added the no-changelog Indicates that a PR does not require a changelog entry label Oct 7, 2024
@espadolini espadolini enabled auto-merge October 7, 2024 12:40
@espadolini espadolini added this pull request to the merge queue Oct 7, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 7, 2024
@espadolini espadolini added this pull request to the merge queue Oct 7, 2024
Merged via the queue into master with commit 4477dcc Oct 7, 2024
@espadolini espadolini deleted the espadolini/fix-protoc-gen-terraform-version branch October 7, 2024 13:41
@public-teleport-github-review-bot
Copy link
Copy Markdown

@espadolini See the table below for backport results.

Branch Result
branch/v16 Failed

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

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants