]> git.pld-linux.org Git - packages/gitlab-runner.git/blob - nodim_gz.patch
fix nodim_gz patch, builds now
[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-9.5.0/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/executors/docker/executor_docker.go   2017-08-22 16:20:43.000000000 +0300
8 +++ gitlab-ci-multi-runner-9.5.0/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner/executors/docker/executor_docker.go   2017-08-28 00:25:29.417833457 +0300
9 @@ -222,17 +222,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 -               SourceName: "-",
24 +               SourceName: "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",
25         }
26         options := types.ImageImportOptions{
27                 Tag: architecture + "-" + common.REVISION,
This page took 0.066177 seconds and 3 git commands to generate.