summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110310/003201.html
blob: 1771928064d59dde721787bc3d99371725dfcbcb (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
134
135
136
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] help wanted for building a buildnode-in-a-VM
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20help%20wanted%20for%20building%20a%20buildnode-in-a-VM&In-Reply-To=%3C201103102152.19590.maarten.vanraes%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="003189.html">
   <LINK REL="Next"  HREF="003172.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] help wanted for building a buildnode-in-a-VM</H1>
    <B>Maarten Vanraes</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20help%20wanted%20for%20building%20a%20buildnode-in-a-VM&In-Reply-To=%3C201103102152.19590.maarten.vanraes%40gmail.com%3E"
       TITLE="[Mageia-dev] help wanted for building a buildnode-in-a-VM">maarten.vanraes at gmail.com
       </A><BR>
    <I>Thu Mar 10 21:52:19 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="003189.html">[Mageia-dev] help wanted for building a buildnode-in-a-VM
</A></li>
        <LI>Next message: <A HREF="003172.html">[Mageia-dev] default kde media player
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3201">[ date ]</a>
              <a href="thread.html#3201">[ thread ]</a>
              <a href="subject.html#3201">[ subject ]</a>
              <a href="author.html#3201">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Op donderdag 10 maart 2011 16:35:25 schreef Samuel Verschelde:
&gt;<i> Le jeudi 10 mars 2011 12:17:11, nicolas vigier a &#233;crit :
</I>&gt;<i> &gt; On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>&gt;<i> &gt; &gt; Op donderdag 10 maart 2011 00:22:36 schreef nicolas vigier:
</I>&gt;<i> &gt; &gt; &gt; On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>&gt;<i> &gt; &gt; &gt; &gt; Hi,
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt; for the purpose of testing package building locally;
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt;  - you're a careful packager and test out everything locally before
</I>&gt;<i> &gt; &gt; &gt; &gt;  submitting - you're a novice packager and want to practise
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt; i would like to make a VM that acts like a buildnode, with the
</I>&gt;<i> &gt; &gt; &gt; &gt; following
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt; requirements:
</I>&gt;<i> &gt; &gt; &gt; &gt;  - mageia system (not mandriva)
</I>&gt;<i> &gt; &gt; &gt; &gt;  - preferably headless
</I>&gt;<i> &gt; &gt; &gt; &gt;  - ssh on by default
</I>&gt;<i> &gt; &gt; &gt; &gt;  - building 32bit AND 64bit packages
</I>&gt;<i> &gt; &gt; &gt; &gt;  - using chroots to build and preferably having basesystem chroots
</I>&gt;<i> &gt; &gt; &gt; &gt;  on it. also
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt; cleans up so buildrequires are properly tested, and lint checking
</I>&gt;<i> &gt; &gt; &gt; &gt; and what else a buildnode normally does.
</I>&gt;<i> &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; This can be done using iurt.
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; so, how exactly does this work? iurt automagically build basesystem
</I>&gt;<i> &gt; &gt; chroots and chrootbuilds stuff? is there any task that is needed for
</I>&gt;<i> &gt; &gt; this kind of thing?
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Yes. See iurt package. And iurt config file used on the cluster :
</I>&gt;<i> &gt; <A HREF="http://svnweb.mageia.org/adm/puppet/modules/buildsystem/templates/iurt.ca">http://svnweb.mageia.org/adm/puppet/modules/buildsystem/templates/iurt.ca</A>
</I>&gt;<i> &gt; ul dron.conf?revision=734&amp;view=markup
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt;  - no signing step
</I>&gt;<i> &gt; &gt; &gt; &gt;  - still as small as possible so it can be put somewhere for
</I>&gt;<i> &gt; &gt; &gt; &gt;  downloading. - nice to have is possibly a sort of local submission
</I>&gt;<i> &gt; &gt; &gt; &gt;  tree so submitting
</I>&gt;<i> &gt; &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; &gt; could also be practised.
</I>&gt;<i> &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; You mean installing a full build system in a VM ?
</I>&gt;<i> &gt; &gt; &gt; 
</I>&gt;<i> &gt; &gt; &gt; You can try to do it using puppet, and the puppet modules on svn :
</I>&gt;<i> &gt; &gt; &gt; <A HREF="http://svnweb.mageia.org/adm/">http://svnweb.mageia.org/adm/</A>
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; well, i donno, i don't know puppet and this is not meant to be used in
</I>&gt;<i> &gt; &gt; a controlled environment, but just built like this and people use it
</I>&gt;<i> &gt; &gt; locally. there is not really any need to remote control this machine.
</I>&gt;<i> &gt; &gt; just a one time setup.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; The easiest way to setup a buildsystem is using puppet. Otherwise it
</I>&gt;<i> &gt; will be more difficult.
</I>&gt;<i> 
</I>&gt;<i> Could someone from the sysadmins write (if it has not been done already) a
</I>&gt;<i> quick guide for puppet use, for example &quot;how to deploy a buildnode using
</I>&gt;<i> puppet&quot; ? I guess that would help Maarteen a lot :)
</I>&gt;<i> 
</I>&gt;<i> Samuel
</I>
It would help Maarten a lot :-)

one extra question, if i use puppet to install it, it will be exactly like the 
current buildnode now?

but is puppet then installed on it? because i don't want to give people the 
impression that if they install this vm, that the mageia sysadmins would have 
full control over their vm...

or am i thinking totally the wrong way?

furthermore, i'm thinking on this:
 - how long does it take to install and configure puppet and rather configure 
the puppet classes for the VM. in relation to the actual install?

i mean, if i can install this VM by just one urpmi line with --urpmi-root 
option, it seems also overkill to have puppet.

well, i guess this just proves how little i know of puppet. :-(
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003189.html">[Mageia-dev] help wanted for building a buildnode-in-a-VM
</A></li>
	<LI>Next message: <A HREF="003172.html">[Mageia-dev] default kde media player
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3201">[ date ]</a>
              <a href="thread.html#3201">[ thread ]</a>
              <a href="subject.html#3201">[ subject ]</a>
              <a href="author.html#3201">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>