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

[Backport 2.x] Change job-scheduler plugin group to point to correct location #60

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 37bbd3b from #56.

* Change job-scheduler plguin group to point to correct localtion

Signed-off-by: zane-neo <[email protected]>

* Add publish task

Signed-off-by: zane-neo <[email protected]>

* add dependency task to publishToStagingRepo

Signed-off-by: zane-neo <[email protected]>

* Fix publishAllPublicationsToStagingRepository failure issue

Signed-off-by: zane-neo <[email protected]>

* add comment to JS plugin path

Signed-off-by: zane-neo <[email protected]>

---------

Signed-off-by: zane-neo <[email protected]>
(cherry picked from commit 37bbd3b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c6e18c6) 45.17% compared to head (a6f6c76) 45.17%.
Report is 5 commits behind head on 2.x.

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x      #60   +/-   ##
=========================================
  Coverage     45.17%   45.17%           
  Complexity       30       30           
=========================================
  Files             6        6           
  Lines           352      352           
  Branches         42       42           
=========================================
  Hits            159      159           
  Misses          172      172           
  Partials         21       21           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -119,7 +119,8 @@ dependencies {

// ZipArchive dependencies used for integration tests
zipArchive group: 'org.opensearch.plugin', name:'opensearch-ml-plugin', version: "${version}"
zipArchive group: 'org.opensearch.plugin', name:'opensearch-job-scheduler', version: "${version}"
//JS plugin is published to `org/opensearch` instead of `org/opensearch/plugin` under local maven repo: https://mvnrepository.com/artifact/org.opensearch/opensearch-job-scheduler.
zipArchive group: 'org.opensearch', name:'opensearch-job-scheduler', version: "${version}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator

@zane-neo zane-neo Dec 27, 2023

Choose a reason for hiding this comment

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

Job-scheduler is not publishing plugin zip in publishToMavenLocal task so can't find plugin in local repo, changing this makes it points to jar file directly, but I checked again and found we'd better directly depend on jars instead of zip for both job-scheduler and anomaly-detection. I've created this PR to fix this: #74. We can merge this one and then backport that PR after merged to main.

@zane-neo zane-neo closed this Dec 27, 2023
@zane-neo zane-neo reopened this Dec 27, 2023
@zane-neo zane-neo merged commit cd54a22 into 2.x Dec 27, 2023
35 of 37 checks passed
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
…earch-project#56) (opensearch-project#60)

* Change job-scheduler plguin group to point to correct localtion

* Add publish task

* add dependency task to publishToStagingRepo

* Fix publishAllPublicationsToStagingRepository failure issue

* add comment to JS plugin path

---------

(cherry picked from commit 37bbd3b)

Signed-off-by: zane-neo <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: yuye-aws <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants