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

Automate releases based on tagging #1436

Merged
merged 3 commits into from
Mar 2, 2023
Merged

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Feb 24, 2023

Description

Rebasing #1410 onto the 2.x branch.

Generating a GitHub Release involves a few steps: selecting the commit, creating a version bump, and creating the release notes file. Per work mentioned in #1406, this has been automated to be performed based on tag selection. This PR:

  • Modifies the release label policy in draft-release-notes-config.yml to better reflect labels currently in use
    • Includes two new labels, infrastructure and skip-changelog, that need to be added to the repo
  • Implements the auto-release workflow from OpenSearch/auto-release.yml at main · opensearch-project/OpenSearch, see auto-release.yml
  • Adds a policy for enforcing that future PRs are appropriately labeled for more robust release notes, see enforce-labels.yml

Issues Resolved

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Simeon Widdis <[email protected]>
@Swiddis Swiddis requested a review from a team as a code owner February 24, 2023 20:54
@Swiddis Swiddis changed the title Update 2.x workflow Automate Releases based on Tagging Feb 24, 2023
@Swiddis Swiddis changed the title Automate Releases based on Tagging Automate releases based on tagging Feb 24, 2023
Signed-off-by: Simeon Widdis <[email protected]>
@derek-ho derek-ho merged commit 8044bc5 into opensearch-project:2.x Mar 2, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 2, 2023
* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)
derek-ho pushed a commit that referenced this pull request Mar 2, 2023
* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)

Co-authored-by: Simeon Widdis <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 6, 2023
* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)
ps48 pushed a commit that referenced this pull request Mar 7, 2023
* 2.6 release notes (#1424)

* add 2.6 release notes

Signed-off-by: Derek Ho <[email protected]>

* fix up file

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 7059fad)

* Automate releases based on tagging (#1436) (#1445)

* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)

Co-authored-by: Simeon Widdis <[email protected]>

---------

Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Simeon Widdis <[email protected]>
YANG-DB pushed a commit that referenced this pull request Mar 9, 2023
* Update 2.x workflow

Signed-off-by: Simeon Widdis <[email protected]>

* Undo test-build changes from main

Signed-off-by: Simeon Widdis <[email protected]>

* Remove test

Signed-off-by: Simeon Widdis <[email protected]>

---------

Signed-off-by: Simeon Widdis <[email protected]>
(cherry picked from commit 8044bc5)

Co-authored-by: Simeon Widdis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants