cloudfoundry / nodejs-buildpack

Cloud Foundry buildpack for Node.js
http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
170 stars 384 forks source link

Go is downloaded multiple times #674

Closed steinfurt closed 9 months ago

steinfurt commented 10 months ago

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?

What version of the buildpack you are using?

If you were attempting to accomplish a task, what was it you were attempting to do?

What did you expect to happen?

What was the actual behavior?

Can you provide a sample app?

cd scripts
export CF_STACK=cflinuxfs3
./install_go.sh
./install_go.sh

A log output with -----> Download go 1.19 appearing twice can be seen in #650.

The issue makes the errors reported in #626 and #650 more likely to appear. Of course, I could provide a PR, but since it relates to a script shared in many other buildpacks, I think this should probably be handled centrally.

Please confirm where necessary:

brayanhenao commented 10 months ago

Thank you for bringing this issue to our attention, @steinfurt. We are addressing it by implementing a fix in the script. You can track the progress and changes in the following pull request: https://github.com/cloudfoundry/buildpacks-github-config/pull/65. This update will ensure that the necessary changes are propagated across all Buildpacks.

steinfurt commented 9 months ago

Thank you for your quick reply, @brayanhenao! Now I also know where the scripts are handled centrally... ;-)

The fix has been released as part of v1.8.21.