From patchwork Tue Dec 31 15:48:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Reza Alizadeh Majd X-Patchwork-Id: 19487 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A0AD317976; Tue, 31 Dec 2019 15:50:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 49DEC1795C for ; Tue, 31 Dec 2019 15:50:17 +0000 (GMT) Received: from localhost ([::1]:43746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imJmi-0004Zx-Kl for patchwork@mira.cbaines.net; Tue, 31 Dec 2019 10:50:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50620) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imJmW-0004Pc-Bk for guix-patches@gnu.org; Tue, 31 Dec 2019 10:50:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imJmV-0002cs-00 for guix-patches@gnu.org; Tue, 31 Dec 2019 10:50:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57257) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imJmU-0002bF-Mu for guix-patches@gnu.org; Tue, 31 Dec 2019 10:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imJmU-0002Yr-LP for guix-patches@gnu.org; Tue, 31 Dec 2019 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38827] [PATCH] gnu: Add gitlab-runner. Resent-From: "Reza Alizadeh Majd" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2019 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Mathieu Othacehe" Cc: 38827@debbugs.gnu.org Received: via spool by 38827-submit@debbugs.gnu.org id=B38827.15778073929810 (code B ref 38827); Tue, 31 Dec 2019 15:50:02 +0000 Received: (at 38827) by debbugs.gnu.org; 31 Dec 2019 15:49:52 +0000 Received: from localhost ([127.0.0.1]:34993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imJmF-0002Xz-Td for submit@debbugs.gnu.org; Tue, 31 Dec 2019 10:49:52 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imJmD-0002Xj-6e for 38827@debbugs.gnu.org; Tue, 31 Dec 2019 10:49:45 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C3FA921EAE; Tue, 31 Dec 2019 10:49:39 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute5.internal (MEProxy); Tue, 31 Dec 2019 10:49:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm1; bh=b5ScylAVNV+ir1xqPSh0V2uYMp/QOlA G61/g74CsS1A=; b=gG+uxZw01skB+VbaMJU7uopilieP2utYapf31dwCs3gMdDT MlzDM3c8vOD0f9tYoVA2z+ydhda49zpeY75+fjTZ7CqF3N9e9v4YASuH8r1DwdG+ DCNSByyocwO6JCJ4E/PLFmePxv5YIUqAMGeU4UTUYJ3pYW2Ls+e5TzugV0zejWKT HxO/M4YRdsjge4dzdMwCcuizS6oV56D+snxTfUeULB8Q0gtggtU+oUwOME3kbz/L kuksSiGtKUHtuKTNir1wvxf8DlqAIyv5CwfWfFaqYXs4xxlM1SBlIY9rBuWzYJsR 1igO1wYXAq8Vz4kd4IxZlPsXEZVc1GWCZhQCbFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=b5Scyl AVNV+ir1xqPSh0V2uYMp/QOlAG61/g74CsS1A=; b=yKbJBw5si4dJWkvaToMA3O MOexxvvILjMbJtJACDNTn8WM28Gs5g5vf/XAE6GX3Tn0shOcIBZyPYAUj5VYlMA1 bFGXYrsC6Ni/T25LczebvrFqPO+2KBULGj85TgEfhZPZXCEkUUpNg4/z4ngjmP65 VNhfKOlWf46gEKh2Ag6xsuyvceyxHkapLzqxEQUip3A5v346ktfJOkclcjjhC+OK vh1/2cemjVwea8KSMsR/TmBxdwvhwy1qxt+bhxol15MaHrFiepKNNkeJxVWXu37u 1Gb6XrVCh0fE5b/ZhmDdzb3Swzq0LpD1sK0qUhdfIEi9qmoUH38WrZK4jiW/hnug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdefjedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesmhdtreerreertdenucfhrhhomhepfdftvgii rgcutehlihiirgguvghhucforghjugdfuceorhdrmhgrjhgusehprghnthhhvghrgidroh hrgheqnecuffhomhgrihhnpehgnhhurdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhm pehrrdhmrghjugesphgrnhhthhgvrhigrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 94A8F5C0099; Tue, 31 Dec 2019 10:49:39 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-694-gd5bab98-fmstable-20191218v1 Mime-Version: 1.0 Message-Id: In-Reply-To: <87d0c4sjam.fsf@gmail.com> References: <20191231091757.69869-1-r.majd@pantherx.org> <87imlwsqir.fsf@gmail.com> <87d0c4sjam.fsf@gmail.com> Date: Tue, 31 Dec 2019 15:48:59 +0000 From: "Reza Alizadeh Majd" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, > [1]: > https://guix.gnu.org/manual/en/html_node/Formatting-Code.html#Formatting-Code > [2]: > https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html#Synopses-and-Descriptions I update the package definition following the above guidelines. could you please check if this updated patch is acceptable? From 3fd96ceea56d6c16036398a96dd9051ce51afe63 Mon Sep 17 00:00:00 2001 From: Reza Alizadeh Majd Date: Tue, 31 Dec 2019 12:37:42 +0330 Subject: [PATCH] gnu: Add gitlab-runner. * gnu/packages/ci.scm (gitlab-runner): New variable. --- gnu/packages/ci.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index b49ac0f7c1..0515a62481 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,23 @@ 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 used to run Gitlab's CI/CD jobs and send +back the results to Gitlab instance. It is used in conjunction with Gitlab CI.") + (license l:expat))) -- 2.24.1