We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running cf curl /v2/info && cf version?
cf curl /v2/info && cf version
"api_version":"2.202.0" cf version 8.2.0+fd8fbca64.2022-02-09
What version of the buildpack you are using? 1.10.8
If you were attempting to accomplish a task, what was it you were attempting to do?
cf push a Go app that uses Go module workspaces. My app had a go.work in the root of the repository that looked like:
cf push
go.work
go 1.20 use ( . ./ci/acceptance )
The app has a manifest like:
applications: - command: run-app disk_quota: 256M env: GOPACKAGENAME: github.com/org/app memory: 256M name: app
What did you expect to happen?
The app is pushed and starts running.
What was the actual behavior?
The build output fails after downloading dependencies:
-----> Running: go install -tags cloudfoundry -buildmode pie . go: downloading github.com/aws/aws-sdk-go v1.44.252 (...) go: downloading golang.org/x/crypto v0.8.0 Failed to build droplet release: buildpack's release output invalid: yaml: line 5: could not find expected ':' Exit status 224 BuildpackReleaseFailed - App staging failed in the buildpack release phase
When I remove the go.work file, the build completes like usual.
Please confirm where necessary:
The text was updated successfully, but these errors were encountered:
go.work file breaks app staging; exclude from upload
e6f39cf
See cloudfoundry/go-buildpack#369
No branches or pull requests
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?"api_version":"2.202.0"
cf version 8.2.0+fd8fbca64.2022-02-09
What version of the buildpack you are using?
1.10.8
If you were attempting to accomplish a task, what was it you were attempting to do?
cf push
a Go app that uses Go module workspaces. My app had ago.work
in the root of the repository that looked like:The app has a manifest like:
What did you expect to happen?
The app is pushed and starts running.
What was the actual behavior?
The build output fails after downloading dependencies:
When I remove the
go.work
file, the build completes like usual.Please confirm where necessary:
The text was updated successfully, but these errors were encountered: