]> git.pld-linux.org Git - packages/gitlab-runner.git/blob - nodim_gz.patch
5de4cb0b8ce17548f8796ef8e98b2e11f577c411
[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~ 2017-05-02 13:12:18.000000000 +0300
8 +++ gitlab-ci-multi-runner/executors/docker/executor_docker.go  2017-05-16 08:08:28.042038918 +0300
9 @@ -228,16 +228,11 @@
10                 return &image, nil
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  
20         ref := prebuiltImageName
21         source := types.ImageImportSource{
22 -               Source:     bytes.NewBuffer(data),
23 +               Source:      "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",
24                 SourceName: "-",
25         }
26         options := types.ImageImportOptions{
This page took 0.072858 seconds and 2 git commands to generate.