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

Publish snapshots to maven via GHA #352

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

lezzago
Copy link
Member

@lezzago lezzago commented Feb 21, 2023

Description

Publish snapshots to maven via GHA

Issues Resolved

#334

Tests

find snapshots | sort
snapshots
snapshots/org
snapshots/org/opensearch
snapshots/org/opensearch/plugin
snapshots/org/opensearch/plugin/opensearch-security-analytics
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/maven-metadata.xml
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/maven-metadata.xml.md5
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/maven-metadata.xml.sha1
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/maven-metadata.xml.sha256
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/maven-metadata.xml.sha512
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.pom
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.pom.md5
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.pom.sha1
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.pom.sha256
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.pom.sha512
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.zip
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.zip.md5
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.zip.sha1
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.zip.sha256
snapshots/org/opensearch/plugin/opensearch-security-analytics/2.5.0.0-SNAPSHOT/opensearch-security-analytics-2.5.0.0-20230221.202401-1.zip.sha512
snapshots/org/opensearch/plugin/opensearch-security-analytics/maven-metadata.xml
snapshots/org/opensearch/plugin/opensearch-security-analytics/maven-metadata.xml.md5
snapshots/org/opensearch/plugin/opensearch-security-analytics/maven-metadata.xml.sha1
snapshots/org/opensearch/plugin/opensearch-security-analytics/maven-metadata.xml.sha256
snapshots/org/opensearch/plugin/opensearch-security-analytics/maven-metadata.xml.sha512

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.

@lezzago lezzago requested a review from a team February 21, 2023 20:27
@lezzago lezzago requested a review from gaiksaya February 21, 2023 20:49
Copy link
Member

@gaiksaya gaiksaya left a comment

Choose a reason for hiding this comment

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

LGTM

@gaiksaya
Copy link
Member

Added the required secret

@AWSHurneyt AWSHurneyt merged commit 12e4a56 into opensearch-project:main Feb 21, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 21, 2023
Signed-off-by: Ashish Agrawal <[email protected]>
(cherry picked from commit 12e4a56)
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

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

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-352-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 12e4a56a0838dc2afdee6668ea4ac160299db798
# Push it to GitHub
git push --set-upstream origin backport/backport-352-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x

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

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

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

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-352-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 12e4a56a0838dc2afdee6668ea4ac160299db798
# Push it to GitHub
git push --set-upstream origin backport/backport-352-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x

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

lezzago added a commit that referenced this pull request Feb 21, 2023
Signed-off-by: Ashish Agrawal <[email protected]>
(cherry picked from commit 12e4a56)
sbcd90 pushed a commit that referenced this pull request Feb 21, 2023
eirsep pushed a commit to eirsep/security-analytics that referenced this pull request Apr 3, 2023
riysaxen-amzn pushed a commit to riysaxen-amzn/security-analytics that referenced this pull request Feb 20, 2024
* [FEATURE] Detector must have at least one alert set opensearch-project#288

Signed-off-by: Jovan Cvetkovic <[email protected]>

* [FEATURE] Add cypress custom commands to support better type events opensearch-project#364

Signed-off-by: Jovan Cvetkovic <[email protected]>

* [FEATURE] Trigger name should be required in Create alert trigger flyout opensearch-project#352

Signed-off-by: Jovan Cvetkovic <[email protected]>

Signed-off-by: Jovan Cvetkovic <[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