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 GA workflow that publishes Apache Maven artifacts #2625

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

reta
Copy link
Contributor

@reta reta commented Jul 9, 2024

Description

Fix GA workflow that publishes Apache Maven artifacts:

* What went wrong:
Execution failed for task ':opensearch-ml-common:compileJava'.
> error: invalid source release: 21

Issues Resolved

Part of #2503

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.

@reta
Copy link
Contributor Author

reta commented Jul 9, 2024

Created an issue for CI image: opensearch-project/opensearch-ci#436

@reta reta temporarily deployed to ml-commons-cicd-env July 9, 2024 14:38 — with GitHub Actions Inactive
@reta reta had a problem deploying to ml-commons-cicd-env July 9, 2024 14:38 — with GitHub Actions Failure
@reta reta force-pushed the fix.maven.publish.workflow branch from 4c91260 to a4abf85 Compare July 9, 2024 19:01
@reta reta temporarily deployed to ml-commons-cicd-env July 9, 2024 19:01 — with GitHub Actions Inactive
@reta reta had a problem deploying to ml-commons-cicd-env July 9, 2024 19:01 — with GitHub Actions Failure
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta reta force-pushed the fix.maven.publish.workflow branch from a4abf85 to ef5f233 Compare July 9, 2024 20:43
@reta reta temporarily deployed to ml-commons-cicd-env July 9, 2024 20:43 — with GitHub Actions Inactive
@reta reta had a problem deploying to ml-commons-cicd-env July 9, 2024 20:43 — with GitHub Actions Failure
@dhrubo-os dhrubo-os merged commit 0b9708b into opensearch-project:main Jul 9, 2024
5 of 6 checks passed
@reta
Copy link
Contributor Author

reta commented Jul 10, 2024

@dhrubo-os the publishing failed with:

* What went wrong:
Execution failed for task ':opensearch-ml-common:publishShadowPublicationToSnapshotsRepository'.
> Failed to publish publication 'shadow' to repository 'Snapshots'
   > Could not PUT 'https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-ml-common/3.0.0.0-SNAPSHOT/opensearch-ml-common-3.0.0.0-20240709.232313-235.jar'. Received status code 401 from server: Content access is protected by token

@dhrubo-os
Copy link
Collaborator

@dhrubo-os the publishing failed with:

* What went wrong:
Execution failed for task ':opensearch-ml-common:publishShadowPublicationToSnapshotsRepository'.
> Failed to publish publication 'shadow' to repository 'Snapshots'
   > Could not PUT 'https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-ml-common/3.0.0.0-SNAPSHOT/opensearch-ml-common-3.0.0.0-20240709.232313-235.jar'. Received status code 401 from server: Content access is protected by token

@peterzhuamazon Do you have any suggestion on this?

@b4sjoo
Copy link
Collaborator

b4sjoo commented Jul 12, 2024

@reta Does this PR need to be backported to 2.x?

@reta
Copy link
Contributor Author

reta commented Jul 12, 2024

@reta Does this PR need to be backported to 2.x?

I am pretty sure we need, yes, thanks @b4sjoo !

reta added a commit to reta/ml-commons that referenced this pull request Jul 12, 2024
reta added a commit to reta/ml-commons that referenced this pull request Jul 12, 2024
reta added a commit to reta/ml-commons that referenced this pull request Jul 12, 2024
reta added a commit to reta/ml-commons that referenced this pull request Jul 12, 2024
dhrubo-os pushed a commit that referenced this pull request Jul 12, 2024
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@b4sjoo b4sjoo added the v2.16.0 Issues targeting release v2.16.0 label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra v2.16.0 Issues targeting release v2.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants