question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] 'Increment Version' workflow doesn't add new 1.x BWC Version for 2.0 and 2.x branches

See original GitHub issue

Describe the bug The GitHub Action workflow https://github.com/opensearch-project/OpenSearch/blob/2.0.0-rc1/.github/workflows/version.yml doesn’t create Pull Requests to add new version number to “Version.java” and .ci/bwcVersions for 2.0 and 2.x branches.

Take adding version number 1.3.3 for example, it only create PRs for main, 1.x and 1.3 version: https://github.com/opensearch-project/OpenSearch/search?q=[AUTO]+1.3.3&type=issues The situation is the same when adding version number 1.3.2: https://github.com/opensearch-project/OpenSearch/search?q=[AUTO]+1.3.2&type=issues

Gradle check will fail for changes to 2.0 and 2.x branches, if not adding the new 1.x version to 2.x branches. For exmaple: https://github.com/opensearch-project/OpenSearch/pull/3208#issuecomment-1119174272

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.
> Building 1.3.2 didn't generate expected file /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/bugfix/build/bwc/checkout-1.3/distribution/archives/linux-tar/build/distributions/opensearch-min-1.3.2-SNAPSHOT-linux-x64.tar.gz

To Reproduce No need to reproduce: push a tag in the format of ..* https://github.com/opensearch-project/OpenSearch/blob/2.0.0-rc1/.github/workflows/version.yml#L6

Expected behavior Pull Request is created automatically to add new version number to 2.0 and 2.x branches.

Additional context The ‘Increment Version’ GHA workflow is introduced by PR https://github.com/opensearch-project/OpenSearch/pull/1816

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
peterzhuamazoncommented, Jun 24, 2022

@reta Update: resolved if you dont use AL2/CentOS but only use Ubuntu.

1reaction
retacommented, Jun 24, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert freestyle gradle check to Jenkinsfile and migrate to ...
[BUG] 'Increment Version' workflow doesn't add new 1.x BWC Version for 2.0 and 2.x branches OpenSearch#3218 (comment).
Read more >
Version Incrementing - GitVersion
If you are using GitFlow then builds off the develop branch will actually increment on every commit. This is known in GitVersion as...
Read more >
Workflow configuration - Semantic Release - GitBook
Work on large future releases outside the normal flow of one version increment per Git push. See Release workflow recipes for detailed examples....
Read more >
Supplemental Document: BIG-IP 16.1.2 Fixes and Known Issues
-- The BIG-IP software is upgraded from a version that was earlier than 15.1.x. Impact: The cookie is not built and an error...
Read more >
MinVer 4.2.0 - NuGet
For example, if the latest version tag found is 1.0.0-beta.1 , at a height of ... If your versioning scheme is valid SemVer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found