mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-06 20:24:59 +02:00
Add integration tests for unpacking from GCS bucket
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user