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

Artifactory uploader patch #977

Merged
merged 5 commits into from
Apr 4, 2019

Conversation

GaryPWhite
Copy link
Contributor

Third time's the charm?

This pr gets rid of our explicit reliance on JOB_ID.

In other installations like S3 and GCS, the usage of our upload_destination is:

BUIDLKITE_UPLOAD_DESTINATION = (gs|s3)://some-repo/$BUIDLKITE_(BUILD|JOB)_ID

Since this injection happens at the time we upload artifacts, the metadata we get back during the download phase matches the exact URL we would expect. In our case, the downloader is not provided with the right UploadDestination, because we augment it within our uploader with the appended JOB_ID.

This PR should solve that issue :)

Let me know if you have questions!

@lox
Copy link
Contributor

lox commented Apr 4, 2019

Apologies for not catching that in review, the uploader is still an area of the agent I'm a bit blurry on!

@lox lox merged commit ed63f78 into buildkite:master Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants