2 # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=gitlab-runner
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-v
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://gitlab.com
/gitlab-org
/gitlab-runner
/-/archive
/v
$(PKG_VERSION
)
16 PKG_HASH
:=f67aeae05349f5c612ea5d8772407237caf4da586c0365e3c7edceec6b853d8c
18 PKG_MAINTAINER
:=Jan Pavlinec
<jan.pavlinec1@gmail.com
>
20 PKG_LICENSE_FILES
:=LICENSE
22 PKG_BUILD_DIR
:=$(BUILD_DIR
)/gitlab-runner-v
$(PKG_VERSION
)
23 PKG_BUILD_DEPENDS
:=golang
/host
25 PKG_BUILD_FLAGS
:=no-mips16
26 GO_PKG
:=gitlab.com
/gitlab-org
/gitlab-runner
28 include $(INCLUDE_DIR
)/package.mk
29 include ..
/..
/lang
/golang
/golang-package.mk
31 define Package
/gitlab-runner
34 TITLE
:=Runner for CI
/CD
35 URL
:=https
://docs.gitlab.com
/runner
36 DEPENDS
:=$(GO_ARCH_DEPENDS
)
39 define Package
/gitlab-runner
/description
40 GitLab Runner is an application that works with
41 GitLab CI
/CD to run jobs in a pipeline.
44 $(eval
$(call GoBinPackage
,gitlab-runner
))
45 $(eval
$(call BuildPackage
,gitlab-runner
))