-
Notifications
You must be signed in to change notification settings - Fork 174
dagger-for-github release pipeline, replace Makefile with install.sh, add build check to PRs #24
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
Conversation
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
This reverts commit 6c3017d1a48d2fe0f2914a9395059b7510f7ac6c.
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
… port mapping, entrypoint Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Andrea Luzzardi <andrea@luzzardi.com>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
fix: Makefile
Signed-off-by: Connor Braa <connor@dagger.io>
Co-authored-by: Tibor Vass <tiborvass@users.noreply.github.com> Signed-off-by: Connor Braa <3478454+cwlbraa@users.noreply.github.com>
Signed-off-by: Connor Braa <connor@dagger.io>
…atform Signed-off-by: Connor Braa <connor@dagger.io>
| local arch=$(detect_arch) | ||
| log_info "Detected platform: $os/$arch" | ||
|
|
||
| local version=$(get_latest_version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice for this to be an env var, like in Dagger, to be able to specify any version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be added later. right now it's a pain to test that manually as there's 0 tagged releases.
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
Signed-off-by: Connor Braa <connor@dagger.io>
Testing Summary & Implementation ReviewI’ve reviewed and tested the new GoReleaser + Dagger setup locally. Here's a brief summary and exact commands for reproducibility: ✅ Successfully tested:
|
This PR removes our Makefile-centric install process and replaces it with a daggerized GHA release process and an install.sh script.
On v* tags, it has GHA use dagger and goreleaser to platform-fanout-build binaries and create a draft GH release. The release operator can then review and publish the release.
The install script finds the most recently published release, downloads the platform-appropriate tarball, checksums, and installs.
The install script also has logic for detecting pre-existing
cusystem binaries and warning the user to runhash -rto clear command cache.It also adds a very basic GHA PR check to verify that the project still builds.
Note: this uses a community dagger module for goreleaser. we may find it to be unstable or deleted in the future, but for now it works well enough and the impl looks reasonable to me.