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

build: update .go-version to unblock netlify build #6605

Merged
merged 1 commit into from Feb 29, 2024

Conversation

srenatus
Copy link
Contributor

@srenatus srenatus commented Feb 29, 2024

With .go-version containing 1.22, netlify fails to pick up the golang binary:

9:32:09 AM: Installing Go version 1.22 (requested 1.22)
9:32:09 AM: Failed to install Go version "1.22"
9:32:12 AM: Continue with existing version "1.19.13"

and the build breaks with 1.19.x.

Setting .go-version to 1.22.0 (with .0 at the end) matches the versioning scheme on https://go.dev/dl/, and it seems to succeed picking up the right go version for the website build:

9:33:35 AM: Installing Go version 1.22.0 (requested 1.22.0)
9:33:37 AM: go version go1.22.0 linux/amd64

@srenatus srenatus force-pushed the sr/netlify-golang-version branch 2 times, most recently from 14c01ac to d7297e0 Compare February 29, 2024 08:33
Copy link

netlify bot commented Feb 29, 2024

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 751263a
🔍 Latest deploy log https://app.netlify.com/sites/openpolicyagent/deploys/65e042d0a40ccb00083e2f23
😎 Deploy Preview https://deploy-preview-6605--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@srenatus srenatus changed the title netlify: test build: update .go-version to unblock netlify build Feb 29, 2024
Signed-off-by: Stephan Renatus <stephan@styra.com>
@srenatus srenatus marked this pull request as ready for review February 29, 2024 09:12
@srenatus srenatus merged commit e1a3b9b into open-policy-agent:main Feb 29, 2024
27 checks passed
@srenatus srenatus deleted the sr/netlify-golang-version branch February 29, 2024 09:13
tsidebottom pushed a commit to tsidebottom/opa- that referenced this pull request Apr 17, 2024
…#6605)

With .go-version containing 1.22, netlify fails to pick up the golang binary:

    9:32:09 AM: Installing Go version 1.22 (requested 1.22)
    9:32:09 AM: Failed to install Go version "1.22"
    9:32:12 AM: Continue with existing version "1.19.13"

and the build breaks with 1.19.x.

Setting .go-version to 1.22.0 (with .0 at the end) matches the versioning
scheme on https://go.dev/dl/, and it seems to succeed picking up the right
go version for the website build:

    9:33:35 AM: Installing Go version 1.22.0 (requested 1.22.0)
    9:33:37 AM: go version go1.22.0 linux/amd64

Signed-off-by: Stephan Renatus <stephan@styra.com>
Signed-off-by: Thomas Sidebottom <thomas.sidebottom@va.gov>
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.

None yet

1 participant