You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=gitlab-runner
  9. PKG_VERSION:=13.11.0
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v$(PKG_VERSION)
  13. PKG_HASH:=7bc15d89f7b0551c4dd236d3ef846cf7840175fa1638fa58d0ccd12f3c04a56b
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/gitlab-runner-v$(PKG_VERSION)
  18. PKG_BUILD_DEPENDS:=golang/host
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_USE_MIPS16:=0
  21. GO_PKG:=gitlab.com/gitlab-org/gitlab-runner
  22. include $(INCLUDE_DIR)/package.mk
  23. include ../../lang/golang/golang-package.mk
  24. define Package/gitlab-runner
  25. SECTION:=devel
  26. CATEGORY:=Development
  27. TITLE:=Runner for CI/CD
  28. URL:=https://docs.gitlab.com/runner
  29. DEPENDS:=$(GO_ARCH_DEPENDS)
  30. endef
  31. define Package/gitlab-runner/description
  32. GitLab Runner is an application that works with
  33. GitLab CI/CD to run jobs in a pipeline.
  34. endef
  35. $(eval $(call GoBinPackage,gitlab-runner))
  36. $(eval $(call BuildPackage,gitlab-runner))