From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:53601) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imDg8-0000Ch-5P for guix-patches@gnu.org; Tue, 31 Dec 2019 04:19:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imDg6-0002cg-Dp for guix-patches@gnu.org; Tue, 31 Dec 2019 04:19:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55985) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imDg6-0002bh-5S for guix-patches@gnu.org; Tue, 31 Dec 2019 04:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imDg6-000758-1K for guix-patches@gnu.org; Tue, 31 Dec 2019 04:19:02 -0500 Subject: [bug#38827] [PATCH] gnu: Add gitlab-runner. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51534) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imDfh-0000BH-Bc for guix-patches@gnu.org; Tue, 31 Dec 2019 04:18:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imDff-00019V-S2 for guix-patches@gnu.org; Tue, 31 Dec 2019 04:18:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54009) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imDff-0000xS-Bo for guix-patches@gnu.org; Tue, 31 Dec 2019 04:18:35 -0500 From: Reza Alizadeh Majd Date: Tue, 31 Dec 2019 12:47:57 +0330 Message-Id: <20191231091757.69869-1-r.majd@pantherx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38827@debbugs.gnu.org Cc: Reza Alizadeh Majd * gnu/packages/ci.scm (gitlab-runner): New variable. --- gnu/packages/ci.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index b49ac0f7c1..c9679c9674 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017, 2019 Ricardo Wurmus ;;; Copyright © 2018 Clément Lassieur +;;; Copyright © 2020 Reza Alizadeh Majd ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,6 +26,7 @@ #:use-module ((guix licenses) #:prefix l:) #:use-module (gnu packages) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -44,7 +46,8 @@ #:use-module (gnu packages version-control) #:use-module (gnu packages web) #:use-module (gnu packages xml) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system go)) (define-public cuirass (let ((commit "e20ff86d97f7dd92dad140b5919e3cbdf2fb1ce6") @@ -152,3 +155,21 @@ intended as a replacement for Hydra.") (home-page "https://www.gnu.org/software/guix/") (license l:gpl3+)))) + +(define-public gitlab-runner + (package + (name "gitlab-runner") + (version "12.6.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v" + version "/gitlab-runner-v" version ".tar.gz")) + (sha256 (base32 "1gb3mflz57niyyn4kj5l4m1g2sa2w4cn8gig5dfr04ns9w9kj8jr")))) + (build-system go-build-system) + (arguments '(#:import-path "gitlab.com/gitlab-org/gitlab-runner")) + (home-page "https://docs.gitlab.com/runner/") + (synopsis "GitLab Runner") + (description "GitLab Runner is the open source project that is used +to run your jobs and send the results back to GitLab.") + (license l:expat))) -- 2.23.0