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 #7895 breaking CI for pull requests #7921

Merged
merged 4 commits into from
Jun 21, 2019
Merged

Conversation

Eric-Arellano
Copy link
Contributor

@Eric-Arellano Eric-Arellano commented Jun 21, 2019

#7895 works for branch builds, but not pull request builds due to the error Partial credentials found in env, missing: AWS_SECRET_ACCESS_KEY.

This would happen because we always would define AWS_SECRET_ACCESS_KEY, but the value AWS_SECRET_ACCESS_KEY would only be defined on branch builds because it's encrypted.

Instead, we should only define AWS_SECRET_ACCESS_KEY if we're on a branch build.

@Eric-Arellano Eric-Arellano marked this pull request as ready for review June 21, 2019 14:09
@Eric-Arellano Eric-Arellano changed the title WIP: Hotfix #7895 breaking CI for pull requests Hotfix #7895 breaking CI for pull requests Jun 21, 2019
@blorente blorente self-requested a review June 21, 2019 14:48
Copy link
Contributor

@blorente blorente left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for the quick fix!

@Eric-Arellano Eric-Arellano changed the title Hotfix #7895 breaking CI for pull requests Fix #7895 breaking CI for pull requests Jun 21, 2019
@Eric-Arellano
Copy link
Contributor Author

Merging without full CI run since this is breaking master. Confirmed it works for both branch build and pull request build.

@Eric-Arellano Eric-Arellano merged commit df7ac26 into master Jun 21, 2019
@Eric-Arellano Eric-Arellano deleted the hotfix-aws-sync branch June 21, 2019 15:23
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.

3 participants