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

[BUG] version update GitHub workflow is broken #7411

Closed
peternied opened this issue May 3, 2023 · 1 comment
Closed

[BUG] version update GitHub workflow is broken #7411

peternied opened this issue May 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@peternied
Copy link
Member

peternied commented May 3, 2023

Describe the bug
Reviewing the GitHub action logs the version job is broken because of an issue referencing the version Java file

See
https://github.com/opensearch-project/OpenSearch/actions/workflows/version.yml

@peternied peternied added bug Something isn't working untriaged labels May 3, 2023
@peternied
Copy link
Member Author

Adding bwc version 2.7.1 after 2.7.0
Adding V_2_7_1 after V_2_7_0
sed: can't read server/src/main/java/org/opensearch/Version.java: No such file or directory
Error: Process completed with exit code 2.

https://github.com/opensearch-project/OpenSearch/actions/runs/4865699230/jobs/8676359444

@peternied peternied self-assigned this May 3, 2023
peternied added a commit to peternied/OpenSearch-1 that referenced this issue May 5, 2023
This change alters the version workflow to create a new issue, then
create several commits linked back to that issue and finally close the
issue when all commits are completed for tracability of version updates.

Background

As version updates have different propigation speeds depending on pull
request reviews, consistant CI in many branches, and an careful order of
execution this would cause failures outside the scope of changes that
would block changes into main and other branches.

This change removes the use of pull requests and the standard ci gates.
To ensure that the changes operate consistantly created a GitHub Action
to manage the file modification peternied/opensearch-core-version-updater

See an example of this workflows results with #66

Related issues
- Resolves opensearch-project#7411
- Related Discussion opensearch-project#7398
- Resolves opensearch-project#7396

Signed-off-by: Peter Nied <[email protected]>
@mch2 mch2 removed the untriaged label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants