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

ci: buf build proto on releases #776

Open
Reecepbcups opened this issue Aug 8, 2023 · 2 comments
Open

ci: buf build proto on releases #776

Reecepbcups opened this issue Aug 8, 2023 · 2 comments

Comments

@Reecepbcups
Copy link
Contributor

Reecepbcups commented Aug 8, 2023

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
@Reecepbcups
Copy link
Contributor Author

@elix1er moved to this issue here from that PR since it was out of spec for it there

@elix1er
Copy link

elix1er commented Aug 8, 2023 via email

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

No branches or pull requests

2 participants