commit 611fb10860767a1362a0dec4f64f571385549512
Author: Elan Ruusamäe <[email protected]>
Date: Mon May 2 16:09:39 2016 +0300
ensure correct revision for images
gitlab-ci-multi-runner.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gitlab-ci-multi-runner.spec b/gitlab-ci-multi-runner.spec
index 09ee712..b80a60b 100644
--- a/gitlab-ci-multi-runner.spec
+++ b/gitlab-ci-multi-runner.spec
@@ -51,6 +51,11 @@ EOF
chmod a+rx docker
%build
+# check that the revision is correct
+tar xvf out/docker/prebuilt.tar.gz repositories
+revision=$(sed -rne 's/.*"gitlab-runner-build":\{"([^"]+)":.*/\1/p'
repositories)
+test "$revision" = %{revision}
+
export GOPATH=$(pwd):$(pwd)/Godeps/_workspace
export PATH=$(pwd):$PATH
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ci-multi-runner.git/commitdiff/611fb10860767a1362a0dec4f64f571385549512
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit