Add integration tests for unpacking from GCS bucket

This commit is contained in:
Priya Wadhwa 2018-03-26 14:00:14 -07:00
parent 85bbb6edff
commit a45b8a3621
No known key found for this signature in database
GPG Key ID: 0D0DAFD8F7AA73AE
2 changed files with 0 additions and 4 deletions

View File

@ -1,2 +0,0 @@
FROM gcr.io/distroless/base:latest
COPY baz /tmp/baz

View File

@ -56,9 +56,7 @@ func getTarFromBucket(bucketName, directory string) (string, error) {
return "", err
}
bucket := client.Bucket(bucketName)
// Get the tarfile kbuild.tar from the GCS bucket, and save it to a tar object
reader, err := bucket.Object(constants.KbuildTar).NewReader(ctx)
if err != nil {
return "", err