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

Create public rest api for users to be able to submit benchmark jobs #4788

Open
rishabh6788 opened this issue Jun 18, 2024 · 0 comments
Open
Assignees
Labels
enhancement New Enhancement

Comments

@rishabh6788
Copy link
Collaborator

Is your feature request related to a problem? Please describe

Coming from #4231 this sub-issue tracks development of a publicly available rest api that the OpenSearch contributors, both internal and external, can use to submit benchmark runs without needing any access to our Jenkins infra.
The jenkins benchmark-test job is used to run performance benchmark against provided tarball. It takes parameters to configure the cluster and also benchmark settings, creates the test cluster, runs benchmark, publishes results to datastore and then destroys the test cluster.

Describe the solution you'd like

Currently the jenknis infra is not available to anyone outside of opensearch-infra team ti subimt jobs. This REST api will allow users to be able to submit benchmark jobs against provided OS artifact tarball without needing any access to jenkins infra.
It will be using Generic Webhook Trigger internally to trigger the job on behalf of the user.

the user will have to provide their github token for getting authenticated and authorized and once done they will be able to submit the job and get job url in response which they will have read access.

Describe alternatives you've considered

No response

Additional context

No response

@rishabh6788 rishabh6788 added enhancement New Enhancement untriaged Issues that have not yet been triaged labels Jun 18, 2024
@rishabh6788 rishabh6788 self-assigned this Jun 18, 2024
@gaiksaya gaiksaya removed the untriaged Issues that have not yet been triaged label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New Enhancement
Projects
Status: ⌛ On Hold
Development

No branches or pull requests

2 participants