]> git.pld-linux.org Git - packages/gitlab-runner.git/blame - nodim_gz.patch
patch to git reset --hard instead of checkout
[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
7--- gitlab-ci-multi-runner/executors/docker/executor_docker.go~ 2016-09-22 20:36:49.000000000 +0300
8+++ gitlab-ci-multi-runner/executors/docker/executor_docker.go 2016-09-22 22:46:50.385436324 +0300
9@@ -181,17 +181,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 + "-" + architecture,
21 Tag: 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.119304 seconds and 4 git commands to generate.