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

[release]: One-click release for opensearch-rs #3247

Closed
1 task
Xtansia opened this issue Feb 27, 2023 · 4 comments · Fixed by opensearch-project/opensearch-rs#153
Closed
1 task

[release]: One-click release for opensearch-rs #3247

Xtansia opened this issue Feb 27, 2023 · 4 comments · Fixed by opensearch-project/opensearch-rs#153
Assignees
Labels

Comments

@Xtansia
Copy link
Contributor

Xtansia commented Feb 27, 2023

What is the name of your component?

opensearch-rs - OpenSearch Rust language client

What is the link to your GitHub repo?

https://github.com/opensearch-project/opensearch-rs

Targeted release date

N/A

Where should we publish this component?

https://crates.io/crates/opensearch

What type of artifact(s) will be generated for this component?

Rust crate, which is a source distribution similar to an NPM package.

Have you completed the required reviews including security reviews, UX reviews?

Yes

Have you on-boarded automated security scanning for the GitHub repo associated with this component?

Mend/WhiteSource config has been merged: opensearch-project/opensearch-rs#93

Additional context

Depends on:

@Xtansia Xtansia added untriaged Issues that have not yet been triaged release labels Feb 27, 2023
@gaiksaya gaiksaya removed the untriaged Issues that have not yet been triaged label Mar 2, 2023
@wbeckler
Copy link

wbeckler commented Apr 6, 2023

@bbarani can you help get this prioritized. The release of the rust client contains long overdue fixes for connectivity for OpenSearch Serverless.

@prudhvigodithi
Copy link
Collaborator

Hey @wbeckler and @Xtansia can you please add the target date for this release?
@jordarlu

@gaiksaya gaiksaya self-assigned this Apr 17, 2023
@gaiksaya
Copy link
Member

Did some research around publishing the rust clients to crates.io.

Here are few findings:

  1. There is no mechanism to sign crates (yet!) See Security model / TUF rust-lang/crates.io#75 for details
  2. We need to have rust toolchain installed to run crago commands. (Adding cargo installation on docker image used for release)
  3. CI systems you can use the CARGO_REGISTRY_TOKEN environment variable to publish programmatically or just use --token. https://doc.rust-lang.org/cargo/commands/cargo-publish.html
cargo publish --token <token>

cc: @Xtansia

@gaiksaya
Copy link
Member

The above repo is onboarded to 1-click release process. Please re-open in case of any failures.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

4 participants