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

Simplify charts-build-scripts tooling #128

Merged
merged 12 commits into from
Jun 5, 2024

Conversation

adamkpickering
Copy link
Contributor

@adamkpickering adamkpickering commented Mar 13, 2024

It seems to me that the build process/CI for charts-build-scripts is convoluted. I get the sense that it came from a repository template, and many of the features of that template never were needed by this repository. Additionally, it uses Dapper; the last update to the Dapper image was in July 2022, and its use is discouraged by Rancher leadership.

Since charts-build-scripts is a plain CLI tool, the tooling doesn't have to be complicated. This PR simplifies it. It uses the go toolchain, golangci-lint (which the repository already uses), and goreleaser (which is popular and effective - I've used it in the past) for releases. You can see what a release created by goreleaser looks like here.

If others on MAPPS disagree with this way of doing things that is totally fine. I know I didn't put this to the team for discussion, so I may have missed something important. I knew that this wouldn't take very long, and it is sometimes easier to critique a working example rather than explaining how something is going to work.

If we merge this, we will need to modify https://github.com/rancher/charts/blob/dev-v2.9/scripts/pull-scripts.

As a bonus, fixes #121.

@adamkpickering adamkpickering marked this pull request as ready for review March 13, 2024 02:05
@adamkpickering adamkpickering requested a review from a team March 13, 2024 02:06
@adamkpickering
Copy link
Contributor Author

Please hold off on reviewing this. It uses goreleaser, which is not (yet?) on the list of allowed github actions. I will post another message here when I have an update.

@adamkpickering
Copy link
Contributor Author

I confirmed that we can use goreleaser. This PR is ready for review.

@adamkpickering adamkpickering force-pushed the simplify-repo-tooling branch from e7d09d6 to b780ad9 Compare May 27, 2024 22:43
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
.github/workflows/release.yaml Outdated Show resolved Hide resolved
@adamkpickering adamkpickering merged commit 2812b45 into rancher:master Jun 5, 2024
3 checks passed
@adamkpickering adamkpickering deleted the simplify-repo-tooling branch June 5, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ARM builds
2 participants