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

Adding windows and mac CI to 1.3 #745

Merged
merged 7 commits into from
Dec 6, 2022

Conversation

amitgalitz
Copy link
Member

@amitgalitz amitgalitz commented Dec 2, 2022

Description

Adding windows CI to 1.3, split up workflows to regular build, bwc and docker security workflow.
Bumped jackson to 2.14.1 to match with core.
Didn't add multi node integration testing for windows CI as there are still some issues with deleting previous cluster logs, manually tested multi node windows works with AD. Issue for multi node set up for windows 1.3 (#747)

Issues Resolved

resolves #737

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.

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2022

Codecov Report

Merging #745 (92f9aa3) into 1.3 (09cbdbc) will decrease coverage by 2.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                1.3     #745      +/-   ##
============================================
- Coverage     77.66%   75.65%   -2.01%     
+ Complexity     4110     4005     -105     
============================================
  Files           296      296              
  Lines         17673    17661      -12     
  Branches       1882     1876       -6     
============================================
- Hits          13725    13362     -363     
- Misses         3041     3382     +341     
- Partials        907      917      +10     
Flag Coverage Δ
plugin 75.65% <ø> (-2.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...java/org/opensearch/ad/task/ADBatchTaskRunner.java 56.55% <0.00%> (-25.21%) ⬇️
...n/java/org/opensearch/ad/task/ADTaskSlotLimit.java 77.77% <0.00%> (-22.23%) ⬇️
...ain/java/org/opensearch/ad/task/ADTaskManager.java 69.18% <0.00%> (-7.12%) ⬇️
...ansport/handler/AnomalyResultBulkIndexHandler.java 64.51% <0.00%> (-6.46%) ⬇️
...c/main/java/org/opensearch/ad/util/ParseUtils.java 64.64% <0.00%> (-5.25%) ⬇️
...earch/ad/transport/GetAnomalyDetectorResponse.java 86.86% <0.00%> (-5.06%) ⬇️
.../handler/AbstractAnomalyDetectorActionHandler.java 57.68% <0.00%> (-4.50%) ⬇️
...port/SearchAnomalyDetectorInfoTransportAction.java 64.44% <0.00%> (-4.45%) ⬇️
src/main/java/org/opensearch/ad/model/ADTask.java 93.67% <0.00%> (-4.07%) ⬇️
...va/org/opensearch/ad/feature/SearchFeatureDao.java 82.68% <0.00%> (-3.97%) ⬇️
... and 26 more

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz marked this pull request as ready for review December 5, 2022 20:36
strategy:
matrix:
java: [8, 11, 14]
os: [ubuntu-latest]
Copy link
Member

Choose a reason for hiding this comment

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

Should we run on macos-latest as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't originally add this as it wasn't part of what is needed for 1.3.7 and was worried about the deadline. However since window is passing, just add macos along with the needed test fix I made in the past on 2.x branch.

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
b4sjoo
b4sjoo previously approved these changes Dec 5, 2022
os: [ubuntu-latest, macos-latest]
fail-fast: false

name: Build and Test Anomaly detection Plugin on multipule platforms
Copy link
Member

Choose a reason for hiding this comment

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

nit: typo in multiple

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz changed the title Adding windows CI to 1.3 Adding windows and mac CI to 1.3 Dec 5, 2022
@amitgalitz amitgalitz merged commit 8e430e3 into opensearch-project:1.3 Dec 6, 2022
@amitgalitz amitgalitz linked an issue Dec 6, 2022 that may be closed by this pull request
2 tasks
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.

Backport Windows support to 1.x branch
4 participants