-
Notifications
You must be signed in to change notification settings - Fork 142
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
feat(domain-v1): support v1 functionality #917
Conversation
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.
One comment and one non-blocking question. Looks good!
0eec7fa
to
a968b3c
Compare
a968b3c
to
95cd7b9
Compare
@philippschulte might need some help with this PR as I honestly don't know what's going on with this PR and the failing tests. For example,
Another example,
|
@philippschulte I'm not entirely sure but it looks like the issue with this TF PR failing...
...is stemming from a recent update to go-fastly (https://github.com/fastly/go-fastly/pull/580/files). In that go-fastly PR there appears to be an indirect dependency bump: - golang.org/x/mod v0.14.0 // indirect
+ golang.org/x/mod v0.22.0 // indirect The go 1.22.0 We have to go back to version go 1.18 This means, when we vendor the dependencies in TF we see in the # golang.org/x/mod v0.22.0
## explicit; go 1.22
golang.org/x/mod/internal/lazyregexp
golang.org/x/mod/modfile
golang.org/x/mod/module
golang.org/x/mod/semver I think the latest go-fastly release is going to force us to have to bump the go toolchain version for TF up to We can't revert that change as we've published a release ( I don't think that should be an issue per-se, as the TF provider is a compiled binary (much like the Fastly CLI) and so it isn't embedded into user code like go-fastly is. Thoughts? cc @kpfleming |
019ec2c
to
76b111c
Compare
OK. I've gone ahead and updated this project to use Go See commit for details: 76b111c After making the changes in 76b111c I ran the goreleaser target to validate... $ make goreleaser GORELEASER_ARGS="--skip=validate --clean"
go install github.com/goreleaser/goreleaser/v2@latest
go: github.com/goreleaser/goreleaser/v2@v2.6.1 requires go >= 1.23.4; switching to go1.23.5
• skipping validate...
• cleaning distribution directory
• loading environment variables
• getting and validating git state
• git state commit=14ad9f4844aece0cd277340325b1d9bedc8a39fb branch=integralist/domains-v1 current_tag=v5.15.0 previous_tag=v5.14.0 dirty=true
• pipe skipped reason=validation is disabled
• parsing tag
• setting defaults
• running before hooks
• running hook=go mod tidy
• ensuring distribution directory
• setting up metadata
• writing release metadata
• loading go mod information
• build prerequisites
• building binaries
• building binary=dist/terraform-provider-fastly_freebsd_386_sse2/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_windows_arm64_v8.0/terraform-provider-fastly_v5.15.0.exe
• building binary=dist/terraform-provider-fastly_windows_arm_6/terraform-provider-fastly_v5.15.0.exe
• building binary=dist/terraform-provider-fastly_windows_amd64_v1/terraform-provider-fastly_v5.15.0.exe
• building binary=dist/terraform-provider-fastly_freebsd_arm64_v8.0/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_freebsd_arm_6/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_windows_386_sse2/terraform-provider-fastly_v5.15.0.exe
• building binary=dist/terraform-provider-fastly_freebsd_amd64_v1/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_linux_amd64_v1/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_linux_386_sse2/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_linux_arm_6/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_linux_arm64_v8.0/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_darwin_amd64_v1/terraform-provider-fastly_v5.15.0
• building binary=dist/terraform-provider-fastly_darwin_arm64_v8.0/terraform-provider-fastly_v5.15.0
• took: 1m31s
• writing artifacts metadata
• build succeeded after 1m31s
• thanks for using GoReleaser! |
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.
I think the latest go-fastly release is going to force us to have to bump the go toolchain version for TF up to 1.22.0.
We can't revert that change as we've published a release (9.13.0) since then.
I don't think that should be an issue per-se, as the TF provider is a compiled binary (much like the Fastly CLI) and so it isn't embedded into user code like go-fastly is.
I agree and to my knowledge Kevin wanted to bump Go to 1.22 (#899) anyway.
Please just update the Requirements
and Developing the Provider
sections in the README.md.
I am planing to cut a new release today. Thank you!
Thanks @philippschulte I've pushed a commit to update the README now 👍🏻 |
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.
Thank you!
No description provided.