]>
Commit | Line | Data |
---|---|---|
c5c6476d ER |
1 | Summary: The official GitLab CI runner written in Go |
2 | Name: gitlab-ci-multi-runner | |
3 | Version: 1.1.0 | |
4 | Release: 0.1 | |
5 | License: GPL v3 | |
6 | Group: Development/Building | |
7 | Source0: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/repository/archive.tar.gz?ref=v%{version}&/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 4145931bc59d40e32df6ee24e15a19d3 | |
9 | URL: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner | |
10 | BuildRequires: git-core | |
11 | BuildRequires: golang | |
12 | Requires: ca-certificates | |
13 | Requires: curl | |
14 | Requires: git-core | |
15 | Requires: tar | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | This is the official GitLab Runner written in Go. It runs tests and | |
20 | sends the results to GitLab. GitLab CI is the open-source continuous | |
21 | integration service included with GitLab that coordinates the testing. | |
22 | ||
23 | %prep | |
24 | %setup -qc | |
25 | mv gitlab-ci-multi-runner-*/{.??*,*} . | |
26 | ||
bf2084d5 ER |
27 | install -d Godeps/_workspace/src/gitlab.com/gitlab-org |
28 | ln -s ../../../../.. Godeps/_workspace/src/gitlab.com/gitlab-org/gitlab-ci-multi-runner | |
29 | ||
c5c6476d | 30 | %build |
bf2084d5 ER |
31 | export GOPATH=$(pwd):$(pwd)/Godeps/_workspace |
32 | ||
33 | go build | |
c5c6476d ER |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README.md CHANGELOG.md |