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

Samuel
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="003180.html">[Mageia-dev] help wanted for building a buildnode-in-a-VM
</A></li>
	<LI>Next message: <A HREF="003201.html">[Mageia-dev] help wanted for building a buildnode-in-a-VM
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#3189">[ date ]</a>
              <a href="thread.html#3189">[ thread ]</a>
              <a href="subject.html#3189">[ subject ]</a>
              <a href="author.html#3189">[ 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>