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.

47 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2020 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.5.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:=765c1556ed9dd4c1b36f9946224c62f068b171e2c1581eeb8f71055327d8a274
  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:= \
  30. $(GO_ARCH_DEPENDS) \
  31. @!(mips||mipsel) # Disabled because of docker engine error https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27234
  32. endef
  33. define Package/gitlab-runner/description
  34. GitLab Runner is an application that works with
  35. GitLab CI/CD to run jobs in a pipeline.
  36. endef
  37. $(eval $(call GoBinPackage,gitlab-runner))
  38. $(eval $(call BuildPackage,gitlab-runner))