all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Reza Alizadeh Majd" <r.majd@pantherx.org>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: 38827@debbugs.gnu.org
Subject: [bug#38827] [PATCH] gnu: Add gitlab-runner.
Date: Tue, 31 Dec 2019 15:48:59 +0000	[thread overview]
Message-ID: <c6f32241-012b-4eca-a183-cf0d38df435e@www.fastmail.com> (raw)
In-Reply-To: <87d0c4sjam.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

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?

-- 
Regards
Reza Alizadeh Majd
PantherX Team

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-gitlab-runner.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-gitlab-runner.patch", Size: 2378 bytes --]

From 3fd96ceea56d6c16036398a96dd9051ce51afe63 Mon Sep 17 00:00:00 2001
From: Reza Alizadeh Majd <r.majd@pantherx.org>
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 <m.othacehe@gmail.com>
 ;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2020 Reza Alizadeh Majd <r.majd@pantherx.org>
 ;;;
 ;;; 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


  reply	other threads:[~2019-12-31 15:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-31  9:17 [bug#38827] [PATCH] gnu: Add gitlab-runner Reza Alizadeh Majd
2019-12-31 11:06 ` Mathieu Othacehe
2019-12-31 13:21   ` Reza Alizadeh Majd
2019-12-31 13:42     ` Mathieu Othacehe
2019-12-31 15:48       ` Reza Alizadeh Majd [this message]
2019-12-31 16:09         ` Mathieu Othacehe
2019-12-31 23:54           ` Ludovic Courtès
2020-01-01 12:20             ` Efraim Flashner
2020-01-01 18:58             ` Mathieu Othacehe
2020-01-01 23:22             ` r.majd
2019-12-31 16:09         ` bug#38827: " Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c6f32241-012b-4eca-a183-cf0d38df435e@www.fastmail.com \
    --to=r.majd@pantherx.org \
    --cc=38827@debbugs.gnu.org \
    --cc=m.othacehe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.