Skip to content

Unset GOFLAGS from Dockerfile and update images #12989

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

Merged
merged 1 commit into from
Sep 16, 2022
Merged

Conversation

vulkoingim
Copy link
Contributor

@vulkoingim vulkoingim commented Sep 15, 2022

Description

-mod=readonly is the default option (since 1.14) if there is no vendor directory present (and we don't vendor anything from what I can see). This flag was set ~2y ago.

Not entirely sure the exact interaction which leads to the issue - I imagine it might be some weird combination of gitpod-io/gitpod being a monorepo with multiple go.mod files and not using workspaces ¯_(ツ)_/¯ But ultimately it does fix installing/updating packages that rely on 1.18+

Related Issue(s)

Fixes https://gitpod.slack.com/archives/C032A46PWR0/p1663224067876619

How to test

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@vulkoingim vulkoingim requested review from a team September 15, 2022 09:41
@roboquat roboquat added size/S and removed size/XS labels Sep 15, 2022
@github-actions
Copy link
Contributor

⚠️ Hey reviewer! BE CAREFUL ⚠️
Review the code before opening in your Gitpod. .gitpod.yml was changed and it might be harmful.

@github-actions github-actions bot added team: IDE team: delivery Issue belongs to the self-hosted team team: workspace Issue belongs to the Workspace team labels Sep 15, 2022
@vulkoingim vulkoingim changed the title Unset GOFLAGS from Dockerfile Unset GOFLAGS from Dockerfile and update images Sep 15, 2022
@roboquat roboquat merged commit d2e2bad into main Sep 16, 2022
@roboquat roboquat deleted the aa/unset-goflags branch September 16, 2022 06:56
@roboquat roboquat added the deployed: IDE IDE change is running in production label Sep 16, 2022
@roboquat roboquat added the deployed: workspace Workspace team change is running in production label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: IDE IDE change is running in production deployed: workspace Workspace team change is running in production release-note-none size/S team: delivery Issue belongs to the self-hosted team team: devx team: IDE team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants