From patchwork Tue Dec 31 09:17:57 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: 19484 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 21C1E179BF; Tue, 31 Dec 2019 09:19:15 +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=ham 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 459A217963 for ; Tue, 31 Dec 2019 09:19:14 +0000 (GMT) Received: from localhost ([::1]:40472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imDgH-0000Cn-Kq for patchwork@mira.cbaines.net; Tue, 31 Dec 2019 04:19:13 -0500 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 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 09:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38827@debbugs.gnu.org Cc: Reza Alizadeh Majd X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157778392627199 (code B ref -1); Tue, 31 Dec 2019 09:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Dec 2019 09:18:46 +0000 Received: from localhost ([127.0.0.1]:33725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imDfk-00074Y-IR for submit@debbugs.gnu.org; Tue, 31 Dec 2019 04:18:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:46836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imDfi-00074P-Tr for submit@debbugs.gnu.org; Tue, 31 Dec 2019 04:18:39 -0500 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 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CDF1D2071B; Tue, 31 Dec 2019 04:18:32 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 31 Dec 2019 04:18:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=fm1; bh=ZU36LlQDDkGUfhPwfGwPjl5wye C4u8tS2h3//8s1UNQ=; b=meXKAXmmDaH8+vngHwZCjfO6lRqnxZ7cwBPAa7dwMS SaCX7DAyoVHOGbpQ/yfHcXiLVYoeCl5fv+/xXRpUtjNvCqCVrz7sKcB4XBVxuJpI 3yADq/7YYG1/IxRtE7/fa2E6cTh3c+uKslMPoKjXhSKRe3iGRV6zxOtZJxs2dTe/ oJDoFKTG2MbPoWvt0POt10O7czi8/eDT/Y97Iq36kgWQPUF6ZAANjfrLDLnEAmh0 HVXVf2SVCi+4Bvi0HSdvYA7PeJ6qhfqTrCWm7kv/69KEu2ilYA80hfMru+gIMUBO Mg5hjPu3Oba//JnwuglzTOa5Rbi49n7YBfwBDH05KHYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZU36Ll QDDkGUfhPwfGwPjl5wyeC4u8tS2h3//8s1UNQ=; b=vuQad+LkRiQAgNKB5gCcJu Oyr18nMzU8c6Zw8ke2BL8uAvhDrQET4+pDlcuNb4NyQhjDnYW9SQjr++Nxa7FUhR SKwRuTVK4cCzzi25BJlfx2NAcEEHaB/pn+3Hy+EpUUec1ED14h9r2CDm959PVjXN gU65MTts5cTzxjwKMmoRiicsfhGlKidY1EDEbzIt+xAenQLXAy5uR57JpK4Qbzqh 3D8s0/kD+SPlyjh++de2mvKAoEq41a7EaAZ+TaLuByrSvc2uGJFRmngCq8+yqsrz 1gdH2zERvtA6Z9HSu8SSRQFskAY3YEUwn5f6HAJmg2L5cFBP0z6veQ3UBiC9M6cQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdefjecutefuodetggdotefrodftvfcurf hrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekredtredtje enucfhrhhomheptfgviigrucetlhhiiigruggvhhcuofgrjhguuceorhdrmhgrjhgusehp rghnthhhvghrgidrohhrgheqnecuffhomhgrihhnpehgihhtlhgrsgdrtghomhdpghhnuh drohhrghenucfkphepkedrudekrdehtddrvdelnecurfgrrhgrmhepmhgrihhlfhhrohhm pehrrdhmrghjugesphgrnhhthhgvrhigrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost.localdomain (unknown [8.18.50.29]) by mail.messagingengine.com (Postfix) with ESMTPA id 59E773060802; Tue, 31 Dec 2019 04:18:31 -0500 (EST) From: Reza Alizadeh Majd Date: Tue, 31 Dec 2019 12:47:57 +0330 Message-Id: <20191231091757.69869-1-r.majd@pantherx.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 * 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)))