Merge pull request #26119 from cpuguy83/lazily_load_fixtures
Move some test fixtures to go Upstream-commit: 4e2d4429013ff4f6ca100063869b27b247f7da34 Component: engine
This commit is contained in:
@ -754,6 +754,10 @@ func newRemoteFileServer(ctx *FakeContext) (*remoteFileServer, error) {
|
||||
container = fmt.Sprintf("fileserver-cnt-%s", strings.ToLower(stringutils.GenerateRandomAlphaOnlyString(10)))
|
||||
)
|
||||
|
||||
if err := ensureHTTPServerImage(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
// Build the image
|
||||
if err := fakeContextAddDockerfile(ctx, `FROM httpserver
|
||||
COPY . /static`); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user