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 Label creation automation #3661

Closed
prudhvigodithi opened this issue Jun 22, 2023 · 3 comments
Closed

Release Label creation automation #3661

prudhvigodithi opened this issue Jun 22, 2023 · 3 comments
Assignees
Labels
enhancement New Enhancement v2.9.0

Comments

@prudhvigodithi
Copy link
Member

prudhvigodithi commented Jun 22, 2023

Is your feature request related to a problem? Please describe

Coming from the RFC (Improving public engagement for OpenSearch release process) label creation automation should help reduce some manual steps as part of the release preparation.

Describe the solution you'd like

Create the release label for each component repo as part of the version increment.
Having the label created as part of the version increment will ensure:

  • The Labels are not created manually by an release manager or a repo owner
  • The Labels are used for release issues/PR's
  • The AUTOCUT automation can use the created labels created tag the AUTOCUT issues
    Sample failure
+ gh issue create --title '[AUTOCUT] OS Distribution Build Failed for asynchronous-search-2.9.0' --body '***Received Error***: **Error building asynchronous-search, retry with: ./build.sh manifests/2.9.0/opensearch-2.9.0.yml --component asynchronous-search**.
                      The distribution build for asynchronous-search has failed.
                      Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch/8017/consoleFull' --label autocut,v2.9.0 --label untriaged --repo https://github.com/opensearch-project/asynchronous-search.git
could not add label: 'v2.9.0' not found

Describe alternatives you've considered

No response

Additional context

No response

@prudhvigodithi prudhvigodithi added enhancement New Enhancement untriaged Issues that have not yet been triaged labels Jun 22, 2023
@prudhvigodithi
Copy link
Member Author

Release Labels are now auto created if does not exist and also added to version increment PR's.

OpenSearch Sample version increment PR with added v2.9.0 label:
opensearch-project/asynchronous-search#291

For OpenSearch Dashboards the label does exists before.

Screenshot 2023-06-22 at 4 01 11 PM

Label creation skipped as v3.0.0 already exists.

Screenshot 2023-06-22 at 4 03 31 PM

After the workflow execution https://github.com/opensearch-project/opensearch-build/actions/runs/5351069331/jobs/9704460699 labels are created.

Screenshot 2023-06-22 at 4 04 51 PM

@prudhvigodithi
Copy link
Member Author

Closing this issue as the label creation is automated with the version increment workflows.

@prudhvigodithi
Copy link
Member Author

With the PR #3703 merged, the workflows handles the core repos label creation while skipping them from actual version increment.
Screenshot 2023-07-05 at 2 10 43 PM
Screenshot 2023-07-05 at 2 10 34 PM

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

No branches or pull requests

2 participants