-
Notifications
You must be signed in to change notification settings - Fork 63
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
Added cookbook to increment versions across all plugins. #119
Conversation
eeb3341
to
d1e1c45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing this all up
d1e1c45
to
a3d945f
Compare
a3d945f
to
ac3e209
Compare
This is now complete given that opensearch-project/opensearch-build#1380 passed all tests. Ready for CR/merge @peternied @saratvemulapalli. |
@saratvemulapalli @peternied @peterzhuamazon Do you know/think release notes is also something one person can do across all plugins? If so, can you please help me with a cookbook on top of this? |
@dblock for release notes, this is what we do in the security plugin (using
|
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
6ab6f09
to
162f8e2
Compare
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
…rch is true for any version. Signed-off-by: dblock <[email protected]>
META.md
Outdated
``` | ||
find . -name build.gradle -print0 | xargs -0 sed -i "s/1.2.2/1.2.3/g" | ||
find . -name CMakeLists.txt -print0 | xargs -0 sed -i "s/1.2.2.0/1.2.3.0/g" | ||
find . -name pom.xml -print0 | xargs -0 sed -i "s/1.2.2/1.2.3/g" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beware of blanket find/replace statements. In security, for example, bumping from 1.2.3 to 1.2.4 would have also matched this https://github.com/opensearch-project/security/blob/main/pom.xml#L81
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough! I think it’s a poor man’s implementation anyway. What we really need is GHA workflows in each repo that increment versions based on created tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are two attempts at that:
opensearch-project/OpenSearch#1816
opensearch-project/common-utils#106
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to the component specific actions. It makes it easier for component owners.
@saratvemulapalli @peternied Can I please get a CR on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dblock this is really helpful.
Dropped a minor comment.
META.md
Outdated
``` | ||
find . -name build.gradle -print0 | xargs -0 sed -i "s/1.2.2/1.2.3/g" | ||
find . -name CMakeLists.txt -print0 | xargs -0 sed -i "s/1.2.2.0/1.2.3.0/g" | ||
find . -name pom.xml -print0 | xargs -0 sed -i "s/1.2.2/1.2.3/g" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to the component specific actions. It makes it easier for component owners.
META.md
Outdated
``` | ||
meta git update | ||
meta git pull origin | ||
meta git checkout 1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a blocker for this PR, just a thought.
I think having an ENV variable for these versions might make it easier when we run this for future versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good idea, did it anyway.
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock <[email protected]>
@saratvemulapalli @peternied Re-check please? |
Signed-off-by: dblock <[email protected]>
Signed-off-by: dblock [email protected]
Description
This is what I had to do to make a 1.2.3 build.
Issues Resolved
Coming from opensearch-project/opensearch-build#1365.
Check List
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.