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

[CI] Fetch origin before diffing #2245

Merged
merged 1 commit into from
May 4, 2017

Conversation

aaronlehmann
Copy link
Contributor

It turns out that origin/master may not be up to date in CircleCI
checkouts. Fetch origin so that diffing for the vendor check can be done
correctly.

Note that this doesn't help the case of PRs against branches other than
master, but the worst case is that those will waste a few seconds doing
unnecessary vendor validation. Since those PRs are relatively rare, that
seems fine.

It turns out that origin/master may not be up to date in CircleCI
checkouts. Fetch origin so that diffing for the vendor check can be done
correctly.

Note that this doesn't help the case of PRs against branches other than
master, but the worst case is that those will waste a few seconds doing
unnecessary vendor validation. Since those PRs are relatively rare, that
seems fine.

Signed-off-by: Aaron Lehmann <[email protected]>
@codecov
Copy link

codecov bot commented Apr 12, 2017

Codecov Report

Merging #2245 into master will decrease coverage by 10.06%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #2245       +/-   ##
===========================================
- Coverage   61.61%   51.54%   -10.07%     
===========================================
  Files         125      125               
  Lines       11395    11395               
===========================================
- Hits         7021     5874     -1147     
- Misses       3489     4776     +1287     
+ Partials      885      745      -140
Impacted Files Coverage Δ
registry/storage/driver/gcs/gcs.go 0.4% <0%> (-68.94%) ⬇️
registry/storage/driver/oss/oss.go 0.56% <0%> (-57.23%) ⬇️
registry/storage/driver/s3-aws/s3.go 4.59% <0%> (-56.33%) ⬇️
registry/storage/driver/s3-goamz/s3.go 0.5% <0%> (-50.88%) ⬇️
registry/client/transport/transport.go 69.69% <0%> (-9.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3e06c6...2f72889. Read the comment docs.

@stevvooe
Copy link
Collaborator

stevvooe commented May 4, 2017

LGTM

@stevvooe stevvooe merged commit a40abc6 into distribution:master May 4, 2017
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