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

updated promote artifacts lib s3 upload #1493

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

abhinavGupta16
Copy link
Contributor

Signed-off-by: Abhinav Gupta [email protected]

Description

Remove s3 upload to builds and dist directly from promoteArtifacts.groovy

Issues Resolved

Remove stray artifacts from release folder

Check List

  • 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.

@abhinavGupta16 abhinavGupta16 requested a review from a team as a code owner January 18, 2022 18:17
@abhinavGupta16 abhinavGupta16 self-assigned this Jan 18, 2022
@abhinavGupta16 abhinavGupta16 added the bug Something isn't working label Jan 18, 2022
@dblock
Copy link
Member

dblock commented Jan 18, 2022

@abhinavGupta16 Care to explain in the PR description why adding this was a bad idea, please?

@tianleh
Copy link
Member

tianleh commented Jan 18, 2022

@abhinavGupta16 Care to explain in the PR description why adding this was a bad idea, please?

Thanks @abhinavGupta16 for the quick fix.

A bit context: I added the logic to upload builds/dist under releases url during the tar-promotion job as part of the following PR
#1490 with the intention to let Dashboards integ test run against a static OpenSearch url.

However, the tar-promotion job https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/promotion/tar-promotion.jenkinsfile only runs once manually during release meeting. Thus the url won't be ready (which also means that the Dashboards integ test won't get the OpenSearch url) until the last minute.

A better option would be uploading such builds/dist in a periodic automatic job, e.g the distribution build job. Also since this build will be ongoing and is not actual release artifacts, we can consider uploading to release-candidates url.

@tianleh
Copy link
Member

tianleh commented Jan 18, 2022

@abhinavGupta16 Care to explain in the PR description why adding this was a bad idea, please?

Thanks @abhinavGupta16 for the quick fix.

A bit context: I added the logic to upload builds/dist under releases url during the tar-promotion job as part of the following PR #1490 with the intention to let Dashboards integ test run against a static OpenSearch url.

However, the tar-promotion job https://github.com/opensearch-project/opensearch-build/blob/main/jenkins/promotion/tar-promotion.jenkinsfile only runs once manually during release meeting. Thus the url won't be ready (which also means that the Dashboards integ test won't get the OpenSearch url) until the last minute.

A better option would be uploading such builds/dist in a periodic automatic job, e.g the distribution build job. Also since this build will be ongoing and is not actual release artifacts, we can consider uploading to release-candidates url.

@dblock Let me know if this summary is enough.

@dblock dblock merged commit 1637086 into opensearch-project:main Jan 18, 2022
@dblock
Copy link
Member

dblock commented Jan 18, 2022

A better option would be uploading such builds/dist in a periodic automatic job, e.g the distribution build job. Also since this build will be ongoing and is not actual release artifacts, we can consider uploading to release-candidates url.

I think #1492 can solve this in a way where "latest" = latest released or latest build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants