summaryrefslogtreecommitdiff
path: root/build/instructions.go
diff options
context:
space:
mode:
authorDan Duvall <dduvall@wikimedia.org>2018-09-17 16:00:05 -0700
committerDan Duvall <dduvall@wikimedia.org>2018-10-01 16:40:20 -0700
commitaf9e797908c0d5ed7780a5386aa773ecdd9cc51c (patch)
treef8894bca5a9c40875b708a86554fcd922ca15380 /build/instructions.go
parentdf5e386938769c48c604b2d1804f505d6faf6594 (diff)
downloadblubber-af9e797908c0d5ed7780a5386aa773ecdd9cc51c.tar.gz
Remove support for `sharedvolume` configuration
Support for mounting a shared volume instead of copying application files was meant to provide an option for development use cases. This functionality has never been thoroughly tested or utilized for any use case. It should be removed for now. Relates tangentially to task T204591 that simplifies node support. Change-Id: Ib70cb7bceb504841897a38d732880ba376fe67c8
Diffstat (limited to 'build/instructions.go')
-rw-r--r--build/instructions.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/build/instructions.go b/build/instructions.go
index d6cc1c3..4e48e88 100644
--- a/build/instructions.go
+++ b/build/instructions.go
@@ -173,19 +173,6 @@ func (user User) Compile() []string {
return []string{quote(user.Name)}
}
-// Volume is a concrete build instruction for defining a volume mount point
-// within the container.
-//
-type Volume struct {
- Path string // volume/mount path
-}
-
-// Compile returns the quoted volume path.
-//
-func (vol Volume) Compile() []string {
- return []string{quote(vol.Path)}
-}
-
// WorkingDirectory is a build instruction for defining the working directory
// for future command and entrypoint instructions.
//