]> git.pld-linux.org Git - packages/gitlab-runner.git/commitdiff
fix nodim_gz patch, builds now
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 27 Aug 2017 21:30:16 +0000 (00:30 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 27 Aug 2017 21:30:16 +0000 (00:30 +0300)
gitlab-ci-multi-runner.spec
nodim_gz.patch

index 9a6c76bf49f0764a34df755a9da0e7ee1e0b8249..3a1c00936a261744749fd5682bf67a9e9c76a813 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       The official GitLab CI runner written in Go
 Name:          gitlab-ci-multi-runner
 Version:       9.5.0
-Release:       0.1
+Release:       1
 License:       MIT
 Group:         Development/Building
 Source0:       https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=v%{version}&/%{name}-%{version}.tar.gz
@@ -58,7 +58,7 @@ install -d src/$(dirname %{import_path})
 mv gitlab-ci-multi-runner-* src/%{import_path}
 cd src/%{import_path}
 
-#%patch0 -p1
+%patch0 -p5
 %patch1 -p1
 
 # avoid docker being used even if executable found
index 5de4cb0b8ce17548f8796ef8e98b2e11f577c411..1dc643b6c8152c949d82c9e300f3e89c7780155a 100644 (file)
@@ -4,9 +4,9 @@ Bug-Upstream: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/1504
 Author: Dmitry Smirnov <onlyjob@debian.org>
 Description: do not incorporate Docker image into executable.
 
---- gitlab-ci-multi-runner/executors/docker/executor_docker.go~        2017-05-02 13:12:18.000000000 +0300
-+++ gitlab-ci-multi-runner/executors/docker/executor_docker.go 2017-05-16 08:08:28.042038918 +0300
-@@ -228,16 +228,11 @@
+--- 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
++++ 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
+@@ -222,17 +222,11 @@
                return &image, nil
        }
  
@@ -20,7 +20,8 @@ Description: do not incorporate Docker image into executable.
        ref := prebuiltImageName
        source := types.ImageImportSource{
 -              Source:     bytes.NewBuffer(data),
-+              Source:      "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",
-               SourceName: "-",
+-              SourceName: "-",
++              SourceName: "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",
        }
        options := types.ImageImportOptions{
+               Tag: architecture + "-" + common.REVISION,
This page took 0.056302 seconds and 4 git commands to generate.