Prepare for release, 2.7.0. (#799)
* Prepare for release, 2.7.0. Signed-off-by: dblock <dblock@amazon.com> * Remove references to Jenkins. Signed-off-by: dblock <dblock@amazon.com> * Update compatibility matrix. Signed-off-by: dblock <dblock@amazon.com> --------- Signed-off-by: dblock <dblock@amazon.com>
This commit is contained in:
committed by
GitHub
parent
6382c1570c
commit
dbc11371db
@@ -9,7 +9,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
stack_version: ['2.6.0']
|
stack_version: ["2.7.0"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
||||||
|
|
||||||
## [Unreleased]
|
## [2.7.0]
|
||||||
### Added
|
### Added
|
||||||
- Added support for the `multi_terms` bucket aggregation ([#797](https://github.com/opensearch-project/opensearch-py/pull/797))
|
- Added support for the `multi_terms` bucket aggregation ([#797](https://github.com/opensearch-project/opensearch-py/pull/797))
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ The below matrix shows the compatibility of the [`opensearch-py`](https://pypi.o
|
|||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| 1.0.0 | 1.0.0-1.2.4 | |
|
| 1.0.0 | 1.0.0-1.2.4 | |
|
||||||
| 1.1.0 | 1.3.0-1.3.7 | |
|
| 1.1.0 | 1.3.0-1.3.7 | |
|
||||||
| 2.x.x | 1.0.0-2.14.0 | client works against OpenSearch 1.x as long as features removed in 2.0 are not used |
|
| 2.x.x | 1.0.0-2.16.0 | client works against OpenSearch 1.x as long as features removed in 2.0 are not used |
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -33,8 +33,8 @@ Repositories create consistent release labels, such as `v1.0.0`, `v1.1.0` and `v
|
|||||||
|
|
||||||
The release process is standard across repositories in this org and is run by a release manager volunteering from amongst [maintainers](MAINTAINERS.md).
|
The release process is standard across repositories in this org and is run by a release manager volunteering from amongst [maintainers](MAINTAINERS.md).
|
||||||
|
|
||||||
1. Create a tag, e.g. v2.1.0, and push it to the GitHub repo.
|
1. Update the version in [CHANGELOG](CHANGELOG.md), [_version.py](opensearchpy/_version.py) and [unified-release.yml](.github/workflows/unified-release.yml), make a pull request and have it merged. See [example](https://github.com/opensearch-project/opensearch-py/pull/799).
|
||||||
1. The [release-drafter.yml](.github/workflows/release-drafter.yml) will be automatically kicked off and a draft release will be created.
|
2. Create a tag, e.g. v2.1.0, and push it to the GitHub repo.
|
||||||
1. This draft release triggers the [jenkins release workflow](https://build.ci.opensearch.org/job/opensearch-py-release/) as a result of which opensearch-py client is released on [PyPi](https://pypi.org/project/opensearch-py/).
|
3. The [release-drafter#draft-a-release](.github/workflows/release-drafter.yml) workflow will be automatically kicked off and a draft release will be created.
|
||||||
1. Once the above release workflow is successful, the drafted release on GitHub is published automatically.
|
4. The [release-drafter#pypi-publish](.github/workflows/release-drafter.yml) workflow will publish the release to [PyPi](https://pypi.org/project/opensearch-py/).
|
||||||
1. Add an "Unreleased" section to CHANGELOG, and increment version to the next patch release, e.g. v2.1.1. See [example](https://github.com/opensearch-project/opensearch-py/pull/593).
|
5. Add an "Unreleased" section to [CHANGELOG](CHANGELOG.md), update the [COMPATIBILITY](COMPATIBILITY.md) matrix, and increment version in [_version.py](opensearchpy/_version.py) to the next patch release, e.g. v2.1.1. See [example](https://github.com/opensearch-project/opensearch-py/pull/593).
|
||||||
Generated
+1
-1
@@ -505,7 +505,7 @@ files = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "opensearch-py"
|
name = "opensearch-py"
|
||||||
version = "2.6.0"
|
version = "2.7.0"
|
||||||
description = "Python client for OpenSearch"
|
description = "Python client for OpenSearch"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8, <4"
|
python-versions = ">=3.8, <4"
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
lib = library(identifier: 'jenkins@1.3.1', retriever: modernSCM([
|
|
||||||
$class: 'GitSCMSource',
|
|
||||||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git',
|
|
||||||
]))
|
|
||||||
|
|
||||||
standardReleasePipelineWithGenericTrigger(
|
|
||||||
overrideDockerImage: 'opensearchstaging/ci-runner:release-centos7-clients-v4',
|
|
||||||
tokenIdCredential: 'jenkins-opensearch-py-generic-webhook-token',
|
|
||||||
causeString: 'A tag was cut on opensearch-project/opensearch-py repository causing this workflow to run',
|
|
||||||
downloadReleaseAsset: true,
|
|
||||||
publishRelease: true) {
|
|
||||||
publishToPyPi(credentialId: 'jenkins-opensearch-py-pypi-credentials')
|
|
||||||
}
|
|
||||||
@@ -24,4 +24,4 @@
|
|||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
__versionstr__: str = "2.6.0"
|
__versionstr__: str = "2.7.0"
|
||||||
|
|||||||
Generated
+1
-1
@@ -522,7 +522,7 @@ files = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "opensearch-py"
|
name = "opensearch-py"
|
||||||
version = "2.6.0"
|
version = "2.7.0"
|
||||||
description = "Python client for OpenSearch"
|
description = "Python client for OpenSearch"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8, <4"
|
python-versions = ">=3.8, <4"
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ def run_all(argv: Any = None) -> None:
|
|||||||
"test_opensearchpy/test_async/test_server_secured/",
|
"test_opensearchpy/test_async/test_server_secured/",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Jenkins/Github actions, only run server tests
|
# GitHub Actions, only run server tests
|
||||||
if environ.get("TEST_TYPE") == "server":
|
if environ.get("TEST_TYPE") == "server":
|
||||||
test_dir = abspath(dirname(__file__))
|
test_dir = abspath(dirname(__file__))
|
||||||
if secured:
|
if secured:
|
||||||
|
|||||||
Reference in New Issue
Block a user