mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
gitlab-runner: drop unmaintained package here
Unfortunately, this package has not been well maintained since 2021, when Jan left CZ.NIC. Its usage on OpenWrt devices is limited. It is a very specific package, and I believe there will not be enough users to maintain it, as no one from the community has stepped up to update it. Running it on a dedicated server makes sense, but on OpenWrt? Maybe only on x86_64 and aarch64 devices, as they are significantly more powerful. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
committed by
Wesley Gimenes
parent
fde2ee4459
commit
be1bdc2ac1
@@ -1,54 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gitlab-runner
|
||||
PKG_VERSION:=16.0.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v$(PKG_VERSION)
|
||||
PKG_HASH:=f874b9babe21ae04007abfc901e9ad4c0c1ec22095d4de3e22e176914683cb5d
|
||||
|
||||
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/gitlab-runner-v$(PKG_VERSION)
|
||||
PKG_BUILD_DEPENDS:=golang/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
|
||||
GO_PKG:=gitlab.com/gitlab-org/gitlab-runner
|
||||
GO_PKG_LDFLAGS_X:=$(GO_PKG)/common.VERSION=$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include ../../lang/golang/golang-package.mk
|
||||
|
||||
define Package/gitlab-runner
|
||||
SECTION:=devel
|
||||
CATEGORY:=Development
|
||||
TITLE:=Runner for CI/CD
|
||||
URL:=https://docs.gitlab.com/runner
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS)
|
||||
endef
|
||||
|
||||
define Package/gitlab-runner/description
|
||||
GitLab Runner is an application that works with
|
||||
GitLab CI/CD to run jobs in a pipeline.
|
||||
endef
|
||||
|
||||
define Package/gitlab-runner/install
|
||||
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gitlab-runner $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gitlab-runner-helper $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call GoBinPackage,gitlab-runner))
|
||||
$(eval $(call BuildPackage,gitlab-runner))
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/common/buildtest/masking.go
|
||||
+++ b/common/buildtest/masking.go
|
||||
@@ -55,7 +55,7 @@ func RunBuildWithMasking(t *testing.T, c
|
||||
|
||||
buf.Finish()
|
||||
|
||||
- contents, err := buf.Bytes(0, math.MaxInt64)
|
||||
+ contents, err := buf.Bytes(0, math.MaxInt32)
|
||||
assert.NoError(t, err)
|
||||
|
||||
assert.NotContains(t, string(contents), "MASKED_KEY=MASKED_VALUE")
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
gitlab-runner --version | grep "$PKG_VERSION"
|
||||
Reference in New Issue
Block a user