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

Fail compiles on misconfigured S3 bucket #45

Closed
alexcrichton opened this issue Dec 12, 2016 · 4 comments · Fixed by #1519
Closed

Fail compiles on misconfigured S3 bucket #45

alexcrichton opened this issue Dec 12, 2016 · 4 comments · Fixed by #1519
Assignees

Comments

@alexcrichton
Copy link
Contributor

We discussed this on IRC, but a nifty feature to help debug misconfiguration of S3 credentials would be to fail compilations (perhaps with an error message) if the S3 cache management fails.

I ran into two separate problems during integration:

  • First I forgot to make the whole S3 bucket public-readable
  • Next, I used the wrong credentials by accident

I think both cases have a fairly predictable error which can flag "misconfiguration" as opposed to transient error, and it'd definitely help working through the setup!

@alexcrichton
Copy link
Contributor Author

One thing I just remembered on rust-lang/rust#38359 though was that we don't have secret env vars on PRs, so the configuration where the access key is specified but the secret key isn't would be nice to continue working.

@nierob
Copy link
Contributor

nierob commented Jan 27, 2017

I had the same, a typo in credentials killed 15 min of my time :-)

@Ten0
Copy link

Ten0 commented Nov 8, 2022

same here, 30min

@drahnr drahnr self-assigned this Nov 9, 2022
@sylvestre
Copy link
Collaborator

don't hesitate to propose patches to improve this :)

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 a pull request may close this issue.

5 participants