Add integration tests for unpacking from GCS bucket
This commit is contained in:
parent
85bbb6edff
commit
a45b8a3621
|
|
@ -1,2 +0,0 @@
|
|||
FROM gcr.io/distroless/base:latest
|
||||
COPY baz /tmp/baz
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue