]> git.pld-linux.org Git - packages/gitlab-runner.git/blame - nodim_gz.patch
up to 1.10.0
[packages/gitlab-runner.git] / nodim_gz.patch
CommitLineData
72cef35a
ER
1Last-Update: 2016-08-24
2Forwarded: not-needed
3Bug-Upstream: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1504
4Author: Dmitry Smirnov <onlyjob@debian.org>
5Description: do not incorporate Docker image into executable.
6
225ac429
ER
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 @@
72cef35a
ER
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{
225ac429
ER
20 Repository: prebuiltImageName,
21 Tag: architecture + "-" + common.REVISION,
72cef35a
ER
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.443101 seconds and 4 git commands to generate.