]> git.pld-linux.org Git - packages/gitlab-runner.git/blob - nodim_gz.patch
b23df7a989381e68ec75f1f35bbc98b5ed0ae0c4
[packages/gitlab-runner.git] / nodim_gz.patch
1 Last-Update: 2016-08-24
2 Forwarded: not-needed
3 Bug-Upstream: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1504
4 Author: Dmitry Smirnov <onlyjob@debian.org>
5 Description: do not incorporate Docker image into executable.
6
7 --- gitlab-ci-multi-runner/executors/docker/executor_docker.go~ 2016-12-22 16:21:38.000000000 +0200
8 +++ gitlab-ci-multi-runner/executors/docker/executor_docker.go  2016-12-23 14:41:59.425571451 +0200
9 @@ -208,17 +208,11 @@
10                 return
11         }
12  
13 -       data, err := Asset("prebuilt-" + architecture + prebuiltImageExtension)
14 -       if err != nil {
15 -               return nil, fmt.Errorf("Unsupported architecture: %s: %q", architecture, err.Error())
16 -       }
17 -
18         s.Debugln("Loading prebuilt image...")
19         err = s.client.ImportImage(docker.ImportImageOptions{
20                 Repository:  prebuiltImageName,
21                 Tag:         architecture + "-" + common.REVISION,
22 -               Source:      "-",
23 -               InputStream: bytes.NewBuffer(data),
24 +               Source:      "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",
25         })
26         if err != nil {
27                 return
This page took 0.081615 seconds and 2 git commands to generate.