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

goreleaser fails with go mod tidy #2589

Closed
mauromorales opened this issue May 24, 2024 · 2 comments · Fixed by kairos-io/kairos-agent#358
Closed

goreleaser fails with go mod tidy #2589

mauromorales opened this issue May 24, 2024 · 2 comments · Fixed by kairos-io/kairos-agent#358
Assignees
Labels
bug Something isn't working chore unconfirmed

Comments

@mauromorales
Copy link
Member

Running goreleaser in some components breaks the release atm because it's tryint to tidy with a newer golang version while it should do it with 1.19 or with compat=1.19

not sure if it's only on the agent

go: downloading github.com/pierrec/lz4 v2.6.1+incompatible
go: downloading github.com/pkg/xattr v0.4.9
go: downloading github.com/ulikunitz/xz v0.5.11
go: updates to go.mod needed; to update it:
	go mod tidy

Error: The process '/opt/hostedtoolcache/goreleaser-action/1.26.2/x64/goreleaser' failed with exit code 1

https://github.com/kairos-io/kairos-agent/actions/runs/9226244622/job/25385565755?pr=353

@mauromorales mauromorales added bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed labels May 24, 2024
@ci-robbot
Copy link
Collaborator

Hello mauromorales, thank you for reporting the issue with goreleaser. In order to provide a proper solution, we need more information regarding the versions of the following artifacts being used:

  1. goreleaser
  2. go language
  3. Any other related dependencies or packages mentioned in the error message or relevant to the goreleaser process

Additionally, please provide information about the environment where goreleaser is being executed (e.g., operating system, version, etc.) and any other relevant details about the setup.

Once we have this information, it will help us to better understand the issue and suggest appropriate fixes or workarounds. Please update the issue with the missing information, and we will be glad to assist you further. Remember to include the details about the versions of the artifacts mentioned above.

As a reminder, I am a bot assisting in the triage process for this project. If you have any further questions or concerns, feel free to ask.

@ci-robbot
Copy link
Collaborator

Hello mauromorales, it seems that your issue is not completely clear based on the provided information. Could you please provide more details about the problem and steps to reproduce it? Additionally, please mention the versions of the relevant artifacts (e.g. goreleaser, Go, and any other dependencies) you are using. Thank you for your contribution to the project! Remember, I am a bot created by @mudler and @jimmykarily to help with issue triage.

@jimmykarily jimmykarily added chore and removed triage Add this label to issues that should be triaged and prioretized in the next planning call labels May 27, 2024
@mauromorales mauromorales self-assigned this May 29, 2024
mauromorales added a commit to kairos-io/kairos-agent that referenced this issue May 29, 2024
mauromorales added a commit to kairos-io/kairos-agent that referenced this issue May 30, 2024
* Apply go mod tidy -compat=1.19 during release

fixes kairos-io/kairos#2589

Signed-off-by: Mauro Morales <[email protected]>

* Update .goreleaser.yaml

---------

Signed-off-by: Mauro Morales <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chore unconfirmed
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants