juno
juno copied to clipboard
ci: buf build proto on releases
https://buf.build/docs/ci-cd/github-actions/
per elix1er
M8 can we utilize and write automatization to push release protobufs to buf.build
Brain blast.. How about we automate our protobuf push to buf.build with GitHub Actions?
Here’s the plan:
1. Trigger it on a branch update or a new release - we'll nail down which one.
2. Run `protoc` in the workflow to handle our protobuf compilation.
3. Using our Go files (or some IBC-compatible state machine magic), beam those bufs straight to buf.build.
Whatcha think? Straightforward enough, right?
Let's roll cuz i need this in my data sink pipe magic workflow
If not exist let me know im gonna make proof of concept raw
Would benefit not only me. Some chains up there already, many not and incomplete AF.
---
#!/bin/bash
# Install buf.build
# (This might be platform-specific, ensure you have the right installation instructions.)
# For example purposes, I'll use their standard install command from the website.
curl -sSL https://install.buf.build/install.sh | sh
# Set up a config for a new repository
buf mod init buf.build/juno/juno-core
# Login to buf registry
buf registry login buf.build --username 'elix1er'
# Prompt the user for manual token input
echo "Please create a token and paste it into the command line to complete the login."
# Push the module
buf push
@elix1er moved to this issue here from that PR since it was out of spec for it there
Ok thx
Sent from Proton Mail for iOS
On Tue, Aug 8, 2023 at 05:13, Reece Williams @.***(mailto:On Tue, Aug 8, 2023 at 05:13, Reece Williams < wrote:
@.***(https://github.com/elix1er) moved to this issue here from that PR since it was out of spec for it there
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>