-
Notifications
You must be signed in to change notification settings - Fork 5
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
Publish released version binaries #32
Conversation
Very cool! Thank you for your effort on this. I need some time to review this more thoroughly and test some stuff out. What's the timeline for migrating the infrastructure? Off the bat, I have a couple questions:
|
Hey @crawford, thanks for looking into this. Answering inline:
We've already migrated. Markdown linting is a low priority for the repository. So, there is no rush, but ideally, we would like to re-enable it in the short term.
No, we don't! As cited in https://github.com/crawford/marker/pull/32/files#diff-e426ed45842837026e10e66af23d9c7077e89eacbe6958ce7cb991130ad05adaR1, I based the YAML on cardinal-rs'. Fully transparency, I'm not familiar with Rust; I'm a Go developer.
Not at all. Feel free to modify/adapt this to your needs. I checked "allow edits by maintainers," so you should be able to push it into my branch (again, full transparency: I'm not familiar with Rust:sweat_smile:).
We do run it with Thanks again for looking into this Alex. |
Hi @crawford, have you been able to take a look at this? Feel free to let me know if there's anything else I can help with to get this forward. |
@ivanvc sorry, this fell off the end of my mental queue (and was apparently buried in my inbox/todo list). I'll take a look this afternoon. |
@ivanvc how does this look? I dropped Windows entirely and Linux on ARM64 and i686. Once this is merged, I'll go ahead and tag a release. |
Thanks, this looks great, @crawford. I ran it in my fork, and it worked: https://github.com/ivanvc/marker/releases/tag/v0.9.14 🎉 I also verified the generated Linux binary, which works as expected. But I don't have a way to test the macOS ones. |
@ivanvc awesome, thanks for helping me verify that. I was able to test the MacOS build for AMD64, which worked. I'm going to just assume that ARM64 works as well, since I have no way to test that. After sleeping on it, I decided to make a small modification to the release workflow. Instead of emitting a binary called Thanks for your patience on this. |
This is a pretty straightforward release process. Marker is built without support for networking so as to avoid the complications of certificate verification and dynamic linking.
This will allow folks to verify that the release artifacts were built by GitHub and not tampered with by me or anyone else (except GitHub).
And here is the release: https://github.com/crawford/marker/releases/tag/v0.10.0 |
At @etcd-io, we're using marker as linter. We're moving our infrastructure to an environment that doesn't have Rust/Cargo available. We would like to be able to download a binary without having to install Rust.
With this PR, I introduce a GitHub action that gets triggered when a tag is pushed. It builds the binaries and publishes them as a GitHub release. You can see a fictional release at my fork: https://github.com/ivanvc/marker/releases/tag/v0.9.12
I also vendorized OpenSSL, as it was a challenge to get it working in a GitHub runner.