Is your feature request related to a problem?
The version increment PR's for 1.x requires ml-commons zips to be part of doctest/resources/ml-commons/ folder.
Sample PR: https://github.com/opensearch-project/sql/pull/593/files
What solution would you like?
Remove the injection of zip file via PR and use available latest URL to download the required zips
Example URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.1/latest/linux/x64/builds/opensearch/plugins/opensearch-ml-1.3.1.0.zip
This is already the case of version increments for 2.x the zips are not added as part of PR
Example 2.x version increment PR : https://github.com/opensearch-project/sql/pull/637/files
What alternatives have you considered?
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/<version>/latest/linux/x64/builds/opensearch/plugins/<plugin name + version>.zip where <version> and plugin name parameter can be injected using gradle properties.
Do you have any additional context?
Committing a zip via a PR limits the capabilities to perform auto increment PR, more details on opensearch-project/opensearch-build#1375
Is your feature request related to a problem?
The version increment PR's for
1.xrequires ml-commons zips to be part ofdoctest/resources/ml-commons/folder.Sample PR: https://github.com/opensearch-project/sql/pull/593/files
What solution would you like?
Remove the injection of zip file via PR and use available
latestURL to download the required zipsExample URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/1.3.1/latest/linux/x64/builds/opensearch/plugins/opensearch-ml-1.3.1.0.zip
This is already the case of version increments for
2.xthe zips are not added as part of PRExample
2.xversion increment PR : https://github.com/opensearch-project/sql/pull/637/filesWhat alternatives have you considered?
https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/<version>/latest/linux/x64/builds/opensearch/plugins/<plugin name + version>.zipwhere<version>andplugin nameparameter can be injected using gradle properties.Do you have any additional context?
Committing a zip via a PR limits the capabilities to perform auto increment PR, more details on opensearch-project/opensearch-build#1375