Skip to content
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

chore: add Github action to build provider #64

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

tommyknows
Copy link

We want to get rid of the provider-build step in CSE, building the providers in their own repos makes more sense.

@tommyknows tommyknows force-pushed the build-provider branch 4 times, most recently from f13f754 to 3e95311 Compare November 22, 2023 09:17
We want to get rid of the provider-build step in CSE, building the
providers in their own repos makes more sense.
@tommyknows tommyknows changed the base branch from fugue-v3 to snyk November 22, 2023 10:04
@tommyknows tommyknows marked this pull request as ready for review November 22, 2023 10:07
Copy link

@craigfurman craigfurman left a comment

Choose a reason for hiding this comment

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

1 note, 🚀

go build -o bin/terraform-provider-azurerm.linux.amd64 .
- name: Verify Boringcrypto
run: |
go run rsc.io/goversion@master -crypto bin/terraform-provider-azurerm.linux.amd64 | grep -q '(boring crypto)'

Choose a reason for hiding this comment

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

Are we 100% sure this certifies the crypto as boring? We've been burned here before... if we're sure, no worries, otherwise let's bust out our trusty go tool nm

Copy link
Author

Choose a reason for hiding this comment

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

I've had a look at the implementation and it's a very similar check to the go tool nm we had before: https://github.com/rsc/goversion/blob/3a30cee7003ec5dc0903682e79b3059c8e101952/version/read.go#L60

But that implementation looks more solid & thorough than the go tool & grep chain 😄

@tommyknows tommyknows merged commit f20be9f into snyk Nov 22, 2023
4 checks passed
tommyknows added a commit that referenced this pull request Nov 22, 2023
chore: add Github action to build provider
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