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

Update ci workflows #318

Merged
merged 7 commits into from
Mar 13, 2023
Merged

Update ci workflows #318

merged 7 commits into from
Mar 13, 2023

Conversation

Yury-Fridlyand
Copy link
Contributor

Description

  1. Add more Python and OpenSearch versions to test matrix
  2. Speed up Integration with Unreleased OpenSearch job. Before it took up to 17 min, now it takes 8.5 if cache miss (need to rebuild OpenSearch) or <2 min if cache hit (uses cached OpenSearch build).
    Workflow runs simplified build, so it doesn't use docker container for OpenSearch. I removed use of python client container too to further speed up the build.

Issues Resolved

Fixes #294

Note: Integration tests workflow unchanged, but could be accelerated the same way.

See also: #309, opensearch-project/opensearch-dsl-py#105, opensearch-project/opensearch-dsl-py#92

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.

…d run faster.

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
- { opensearch_version: 2.3.0 }
- { opensearch_version: 2.4.0 }
- { opensearch_version: 2.4.1 }
opensearch_version: [ '1.0.1', '1.1.0', '1.2.4', '1.3.7', '2.0.1', '2.1.0', '2.2.1', '2.3.0', '2.4.0', '2.5.0' ]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add 2.6.0 given that it was released a few days ago. Would be good to test against that as well.

CHANGELOG.md Outdated
@@ -13,6 +13,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed SigV4 Signing for Managed Service ([#279](https://github.com/opensearch-project/opensearch-py/pull/279))
- Fixed SigV4 Signing for Async Requests with QueryStrings ([#272](https://github.com/opensearch-project/opensearch-py/pull/279))
- Fixed CVE - issue 86 mentioned in opensearch-dsl-py repo ([#295](https://github.com/opensearch-project/opensearch-py/pull/295))
- Update ci workflows ([#318](https://github.com/opensearch-project/opensearch-py/pull/318))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entry for this is in the wrong place. It should be in the UNRELEASED section. I have #319 that should go in before you can make this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I'll update the change log once #319 merged.

dblock
dblock previously approved these changes Mar 12, 2023
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
@harshavamsi harshavamsi merged commit 409c883 into opensearch-project:main Mar 13, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the update-ci-workflows branch March 13, 2023 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve the time taken by Github Actions on pull requests
3 participants