Unpack tar from GCS bucket

This commit is contained in:
Priya Wadhwa
2018-03-26 13:59:56 -07:00
parent d9c31044b9
commit 85bbb6edff
6 changed files with 186 additions and 20 deletions
+10
View File
@@ -26,7 +26,17 @@ const (
// WorkspaceDir is the path to the workspace directory
WorkspaceDir = "/workspace"
//KbuildDir is the path to the kbuild directory
KbuildDir = "/kbuild"
WhitelistPath = "/proc/self/mountinfo"
Author = "kbuild"
// KbuildTar is the default name of the tar uploaded to GCS buckets
KbuildTar = "kbuild.tar"
// BuildContextDir is the directory a build context will be unpacked into,
// for example, a tarball from a GCS bucket will be unpacked here
BuildContextDir = "/kbuild/buildcontext/"
)