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

Fix onboarding skills repo issues #156

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

zane-neo
Copy link
Collaborator

Description

Fix onboarding skills repo issues.

Issues Resolved

opensearch-project/opensearch-build#4378

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1626af1) 81.73% compared to head (292d517) 81.73%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #156   +/-   ##
=========================================
  Coverage     81.73%   81.73%           
  Complexity      196      196           
=========================================
  Files            13       13           
  Lines          1002     1002           
  Branches        132      132           
=========================================
  Hits            819      819           
  Misses          133      133           
  Partials         50       50           

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

@@ -176,6 +176,7 @@ dependencyLicenses.enabled = false
loggerUsageCheck.enabled = false
testingConventions.enabled = false
thirdPartyAudit.enabled = false
publishNebulaPublicationToMavenLocal.enabled = false
Copy link
Contributor

Choose a reason for hiding this comment

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

why this task has been disabled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

After changing the group to org.opensearch under allprojects, the publishToMavenLocal failed, the reason is this task found the two groupId not same: one is org.opensearch under allprojects, another is org.opensearch.plugin under publishing like below:
Screenshot 2024-01-31 at 08 29 05
But we need to change group to org.opensearch under allprojects, to avoid publishing jar files to maven local based on EE team's ask. So we need to disable this task to by pass the error.

@zane-neo zane-neo merged commit e1aa8bf into opensearch-project:main Jan 31, 2024
11 of 16 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/skills/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/skills/backport-2.x
# Create a new branch
git switch --create backport/backport-156-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 e1aa8bf14172575779471280f21acaf5ec8829f9
# Push it to GitHub
git push --set-upstream origin backport/backport-156-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/skills/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-156-to-2.x.

zane-neo added a commit to zane-neo/skills that referenced this pull request Jan 31, 2024
zane-neo added a commit to zane-neo/skills that referenced this pull request Jan 31, 2024
zane-neo added a commit that referenced this pull request Jan 31, 2024
* Fix onboarding skills repo issues (#156)

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

* change publish workflow (#159)

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

* Change jdk version

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

---------

Signed-off-by: zane-neo <[email protected]>
zane-neo added a commit to zane-neo/skills that referenced this pull request Mar 1, 2024
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
* Fix onboarding skills repo issues (opensearch-project#156)

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

* change publish workflow (opensearch-project#159)

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

* Change jdk version

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

---------

Signed-off-by: zane-neo <[email protected]>
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.

3 participants