Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Set goversion in app manifests to Go 1.21 #1047

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

rroberts2222
Copy link

Are you submitting this PR against the develop branch?

Yes

What is this change about?

Specifying Go version in the assets manifests so that apps are deployed with Go 1.21.

Please provide contextual information.

None

What version of cf-deployment have you run this cf-acceptance-test change against?

v33.4.0

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

N/A

How many more (or fewer) seconds of runtime will this change introduce to CATs?

None

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

@ctlong

Updates the manifests for all the apps that use the Go buildpack to
include `GOVERSION: go1.21`, which lets the buildpack know to build/run
the apps with go1.21.

Also inits a go module for `assets/multi-port-app`, which necessitates a
package name change.
Doesn't print out the envValues unless the test fails.
Clones the http.DefaultTransport rather than starting from blank, as the
default struct includes some useful defaults.
@ctlong ctlong merged commit 3246254 into cloudfoundry:develop Jan 29, 2024
3 checks passed
@ctlong ctlong deleted the fix/assets/specify-goversion branch January 29, 2024 22:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants