Summary: The official GitLab CI runner written in Go
Name: gitlab-ci-multi-runner
Version: 1.9.0
-Release: 0.1
+Release: 1
License: MIT
Group: Development/Building
-%define subver -rc.4
-Source0: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=v%{version}%{subver}&/%{name}-%{version}%{subver}.tar.gz
-# Source0-md5: 8422126d27e4b98beb11a6969e08042a
+Source0: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=v%{version}&/%{name}-%{version}.tar.gz
+# Source0-md5: cfa0ed3dec9b5a024ed1d885d2551ba6
Source3: %{name}.init
Source4: %{name}.sysconfig
Source5: %{name}.service
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: do not incorporate Docker image into executable.
---- gitlab-ci-multi-runner/executors/docker/executor_docker.go~ 2016-09-22 20:36:49.000000000 +0300
-+++ gitlab-ci-multi-runner/executors/docker/executor_docker.go 2016-09-22 22:46:50.385436324 +0300
-@@ -181,17 +181,11 @@
+--- gitlab-ci-multi-runner/executors/docker/executor_docker.go~ 2016-12-22 16:21:38.000000000 +0200
++++ gitlab-ci-multi-runner/executors/docker/executor_docker.go 2016-12-23 14:41:59.425571451 +0200
+@@ -208,17 +208,11 @@
return
}
-
s.Debugln("Loading prebuilt image...")
err = s.client.ImportImage(docker.ImportImageOptions{
- Repository: prebuiltImageName + "-" + architecture,
- Tag: common.REVISION,
+ Repository: prebuiltImageName,
+ Tag: architecture + "-" + common.REVISION,
- Source: "-",
- InputStream: bytes.NewBuffer(data),
+ Source: "/var/lib/gitlab-runner/prebuilt-" + architecture + ".tar.xz",