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

Cannot export from cache in Drone/Docker build #554

Closed
eriklincoln opened this issue Aug 18, 2016 · 2 comments
Closed

Cannot export from cache in Drone/Docker build #554

eriklincoln opened this issue Aug 18, 2016 · 2 comments
Labels
Milestone

Comments

@eriklincoln
Copy link

One of the commits yesterday (Aug. 17) broke Glide's ability to copy the cached vendor folder into its final location running inside a Drone (0.4.2) build job using the golang:latest (Debian) Docker image.

I made sure to update all the images and containers to the latest Go 1.7 images. I cannot replicate this locally on OS X with Go 1.7.

Here's the logs I'm getting:

glide install -u
[WARN]  The --update-vendored flag is deprecated. This now works by default.
[INFO]  Loading mirrors from mirrors.yaml file
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching github.com/urfave/cli.
[INFO]  --> Fetching github.com/GannettDigital/paas-api-state-module.
[INFO]  --> Fetching github.com/Sirupsen/logrus.
[INFO]  --> Fetching github.com/drone/drone-go.
[INFO]  Setting references.
[INFO]  --> Setting version for github.com/Sirupsen/logrus to 4b6ea7319e214d98c938f12692336f7ca9348d6b.
[INFO]  --> Setting version for github.com/drone/drone-go to e34150a175e665a5fa94218fc7ab9986a0bd7732.
[INFO]  --> Setting version for github.com/urfave/cli to 1efa31f08b9333f1bd4882d61f9d668a70cd902e.
[INFO]  --> Setting version for github.com/GannettDigital/paas-api-state-module to c72d3893b33f8f1fae439b709828a2f6aeeffa87.
[INFO]  Exporting resolved dependencies...
[INFO]  --> Exporting github.com/drone/drone-go
[INFO]  --> Exporting github.com/urfave/cli
[INFO]  --> Exporting github.com/GannettDigital/paas-api-state-module
[INFO]  --> Exporting github.com/Sirupsen/logrus
[INFO]  Replacing existing vendor dependencies
[ERROR] Unable to export dependencies to vendor directory: rename /tmp/glide-vendor712514892/vendor /drone/src/github.com/GannettDigital/drone-trigger/vendor: invalid cross-device link

I'm getting the same in other repos/build jobs, too.

@mattfarina
Copy link
Member

Can you test the PR on #556.

@mattfarina
Copy link
Member

Merged PR. This is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants