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

Go: CD pipeline improvements #3099

Open
jamesx-improving opened this issue Feb 7, 2025 · 0 comments
Open

Go: CD pipeline improvements #3099

jamesx-improving opened this issue Feb 7, 2025 · 0 comments
Labels
CI/CD CI/CD related go golang wrapper

Comments

@jamesx-improving
Copy link
Collaborator

In the Go CD pipeline, we generate 3 different type of files, and add them to the repository on an isolated tag, during a go client release:

  • Binary files compiled from our rust code (*.a)
  • Header file auto-generated by cbindgen (lib.h)
  • Protobuf auto-generated go files (*.pb.go)

Only the first type of files are platform-dependent, hence need to be generated and upload on their respective platforms, but the latter two types are not.

Currently all 3 types of files are generated and uploaded on all platforms. This could be optmized by moving the generation of the latter 2 types of files to a non-matrix job, or conditionally in only one of the matrix runner, so the files won't be generated from other platforms, which got thrown away eventually.

@jamesx-improving jamesx-improving added CI/CD CI/CD related go golang wrapper labels Feb 7, 2025
@jamesx-improving jamesx-improving mentioned this issue Feb 7, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD CI/CD related go golang wrapper
Projects
None yet
Development

No branches or pull requests

1 participant