summaryrefslogtreecommitdiff
path: root/tickets/d20aa3eb7bb042c2ba3912f8086deef7/Maildir/new/1530545107.M742247P26152Q1.koom
blob: c6b89a03e8b55e852d2811e3cd54ccbbd832afa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
Return-Path: <ick-discuss-bounces@ick.liw.fi>
X-Original-To: distix@pieni.net
Delivered-To: distix@pieni.net
Received: from yaffle.pepperfish.net (yaffle.pepperfish.net [88.99.213.221])
	by pieni.net (Postfix) with ESMTPS id 3267F4337B
	for <distix@pieni.net>; Mon,  2 Jul 2018 15:24:54 +0000 (UTC)
Received: from platypus.pepperfish.net (unknown [10.112.101.20])
	by yaffle.pepperfish.net (Postfix) with ESMTP id E201D4153D
	for <distix@pieni.net>; Mon,  2 Jul 2018 16:24:53 +0100 (BST)
Received: from ip6-localhost.nat ([::1] helo=platypus.pepperfish.net)
	by platypus.pepperfish.net with esmtp (Exim 4.80 #2 (Debian))
	id 1fa0hB-0002Zg-R4; Mon, 02 Jul 2018 16:24:53 +0100
Received: from koom.pieni.net ([88.99.190.206] helo=pieni.net)
 by platypus.pepperfish.net with esmtpsa (Exim 4.80 #2 (Debian))
 id 1fa0hA-0002ZU-Vr
 for <ick-discuss@ick.liw.fi>; Mon, 02 Jul 2018 16:24:52 +0100
Received: from exolobe3.liw.fi (unknown [194.111.46.68])
 by pieni.net (Postfix) with ESMTPSA id 6A3554116C
 for <ick-discuss@ick.liw.fi>; Mon,  2 Jul 2018 15:24:52 +0000 (UTC)
Received: from exolobe3.liw.fi (localhost [127.0.0.1])
 by exolobe3.liw.fi (Postfix) with ESMTPS id 1DFAC88031D
 for <ick-discuss@ick.liw.fi>; Mon,  2 Jul 2018 18:24:49 +0300 (EEST)
Date: Mon, 2 Jul 2018 18:24:48 +0300
From: Lars Wirzenius <liw@liw.fi>
To: ick-discuss@ick.liw.fi
Message-ID: <20180702152447.GA2363@exolobe3.liw.fi>
MIME-Version: 1.0
User-Agent: Mutt/1.10.0 (2018-05-17)
X-Pepperfish-Transaction: 1bf2-7499-a699-2ccd
X-Pepperfish-Transaction-By: platypus
Subject: Making the "git" action in ick more useful
X-BeenThere: ick-discuss@ick.liw.fi
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: discussions about the ick CI system <ick-discuss-ick.liw.fi>
List-Unsubscribe: <https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi>,
 <mailto:ick-discuss-request@ick.liw.fi?subject=unsubscribe>
List-Archive: <http://listmaster.pepperfish.net/pipermail/ick-discuss-ick.liw.fi>
List-Post: <mailto:ick-discuss@ick.liw.fi>
List-Help: <mailto:ick-discuss-request@ick.liw.fi?subject=help>
List-Subscribe: <https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi>,
 <mailto:ick-discuss-request@ick.liw.fi?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5779175466179041238=="
Mime-version: 1.0
Sender: ick-discuss-bounces@ick.liw.fi
Errors-To: ick-discuss-bounces@ick.liw.fi


--===============5779175466179041238==
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd"
Content-Disposition: inline


--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

The current version of ick has a "git action", which works like this:

* requires the project parameters git_url, git_ref, git_dir

* is run on the host, not in a container, because it uses the host's
  (which is a worker) ssh key to access the git server, if access is
  via ssh

* if the directory named in git_dir does NOT exist, effecitvely runs
  "git clone $git_url $git_dir" (except without shell quoting issues)

* if the git_dir directory DOES exist, runs, in that directory:
  "git remote update --prune"

* the above commands do all the network operations; the user is then
  expected to run other commands, inside the container, to do anything
  else to access the right ref ("git checkout $git_ref" etc)


This design means that only the parts that are absolutely necessary to
run outside the container are done there, and the user has the
flexibility to customise the rest. The goal is for ick to provide a
default "prepare_workspace" pipeline that does all the things that
typical users require, so each user is not forced to reinvent a
triangular wheel, loosely attached.

However, the above design isn't flexible enough for Daniel, who needs
to access multiple git repositories, not just once, and build a tree
of clones. I'll let Daniel tell us what his use-case is like. (I think
I know, but it's better if he tells it himself. I can be a bit of a
broken telephone.)

Let the Brainst Orming begin. (See description of this product:
https://www.amazon.de/dp/B00UWNJ9OI/)

--=20
I want to build worthwhile things that might last. --joeyh

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETNTnrewG6wEE1EJ3bC+mFux6IDEFAls6Q78ACgkQbC+mFux6
IDE7ZA/+MWrcftsa3I4O+FHPEPOeOXIyUegQEzVK7lyLzmfR1zRC/Tq0kzocrWPD
4refg1mplsihl7m+jPDCNsU09RG02wSaFeVMJVQwirT8cOCchnTnXoe83Lmk0ivE
oIqKn1LAzKg7RqXXGbeAYmK6KYNN07uK9rtIlugUNWibAQyGM6vxfohi8a1zQUyZ
FsW4Or882V5KR9zVGaSH/r6dWBQmQUE90d9EqGby3aeK9S7SNiEvSr0INtBEBHJV
ixeDTeGEqrlFBMwSm0+3d54V3pnCwb0oOePCbQyYJ428+7lBSUHDnV5R6ptAJ4xa
RYso/qLxy3WTgLTFnMQ+kOWOWKzFGL7/NU3muXT0EsJso5K+1aMzNneeLa3w48e/
/KzIhZq1vRnkXtUA/nFLL0wKtPyHvG6wpYEnZ+Eazq4YqUjDKaIauSGPZrvjV+em
zSj7Lz07U88xEyhK+wdDNqRkZekLOQ1uYEXED8V0KpPpzK8mxR2kOwOALYtt14vp
JWJtGtUcDIaCmZD1a71Bd0NvwY79ehh3r8VUnSF5BQu43WQfFrgRfOR4G2n4OqJH
deCNYvEYNlnpdXcTgNK5BPNwC0/6ltb02d2S1VGoL47Ckhn4i6wK9gF/9jHiR4zr
BJBHUgwesRw03MG+U3WAgkl+aP/Ah7D4PB5kh8BvuCp2UizZ1d0=
=zgJ+
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--


--===============5779175466179041238==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ick-discuss mailing list
ick-discuss@ick.liw.fi
https://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/ick-discuss-ick.liw.fi

--===============5779175466179041238==--