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
137
138
139
140
141
142
143
144
145
146
147
148
|
<!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=%3C20110311003033.GG21938%40mars-attacks.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003218.html">
<LINK REL="Next" HREF="003219.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] help wanted for building a buildnode-in-a-VM</H1>
<B>nicolas vigier</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=%3C20110311003033.GG21938%40mars-attacks.org%3E"
TITLE="[Mageia-dev] help wanted for building a buildnode-in-a-VM">boklm at mars-attacks.org
</A><BR>
<I>Fri Mar 11 01:30:33 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003218.html">[Mageia-dev] Will mageia keep the bugs in Mandriva
</A></li>
<LI>Next message: <A HREF="003219.html">[Mageia-dev] Yet another list of missing packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3216">[ date ]</a>
<a href="thread.html#3216">[ thread ]</a>
<a href="subject.html#3216">[ subject ]</a>
<a href="author.html#3216">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Thu, 10 Mar 2011, Samuel Verschelde wrote:
><i> Le jeudi 10 mars 2011 12:17:11, nicolas vigier a écrit :
</I>><i> > On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>><i> > > Op donderdag 10 maart 2011 00:22:36 schreef nicolas vigier:
</I>><i> > > > On Thu, 10 Mar 2011, Maarten Vanraes wrote:
</I>><i> > > > > Hi,
</I>><i> > > > >
</I>><i> > > > > for the purpose of testing package building locally;
</I>><i> > > > >
</I>><i> > > > > - you're a careful packager and test out everything locally before
</I>><i> > > > > submitting - you're a novice packager and want to practise
</I>><i> > > > >
</I>><i> > > > > i would like to make a VM that acts like a buildnode, with the
</I>><i> > > > > following
</I>><i> > > > >
</I>><i> > > > > requirements:
</I>><i> > > > > - mageia system (not mandriva)
</I>><i> > > > > - preferably headless
</I>><i> > > > > - ssh on by default
</I>><i> > > > > - building 32bit AND 64bit packages
</I>><i> > > > > - using chroots to build and preferably having basesystem chroots on
</I>><i> > > > > it. also
</I>><i> > > > >
</I>><i> > > > > cleans up so buildrequires are properly tested, and lint checking and
</I>><i> > > > > what else a buildnode normally does.
</I>><i> > > >
</I>><i> > > > This can be done using iurt.
</I>><i> > >
</I>><i> > > so, how exactly does this work? iurt automagically build basesystem
</I>><i> > > chroots and chrootbuilds stuff? is there any task that is needed for
</I>><i> > > this kind of thing?
</I>><i> >
</I>><i> > Yes. See iurt package. And iurt config file used on the cluster :
</I>><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>><i> > dron.conf?revision=734&view=markup
</I>><i> >
</I>><i> > > > > - no signing step
</I>><i> > > > > - still as small as possible so it can be put somewhere for
</I>><i> > > > > downloading. - nice to have is possibly a sort of local submission
</I>><i> > > > > tree so submitting
</I>><i> > > > >
</I>><i> > > > > could also be practised.
</I>><i> > > >
</I>><i> > > > You mean installing a full build system in a VM ?
</I>><i> > > >
</I>><i> > > > You can try to do it using puppet, and the puppet modules on svn :
</I>><i> > > > <A HREF="http://svnweb.mageia.org/adm/">http://svnweb.mageia.org/adm/</A>
</I>><i> > >
</I>><i> > > well, i donno, i don't know puppet and this is not meant to be used in a
</I>><i> > > controlled environment, but just built like this and people use it
</I>><i> > > locally. there is not really any need to remote control this machine.
</I>><i> > > just a one time setup.
</I>><i> >
</I>><i> > The easiest way to setup a buildsystem is using puppet. Otherwise it
</I>><i> > will be more difficult.
</I>><i>
</I>><i> Could someone from the sysadmins write (if it has not been done already) a
</I>><i> quick guide for puppet use, for example "how to deploy a buildnode using
</I>><i> puppet" ? I guess that would help Maarteen a lot :)
</I>
You will need to checkout the /puppet/modules directory.
Then look at /puppet/manifests/nodes.pp (and the other .pp files from
that directory) and use it as an example to create your own puppet files
which include only the modules you want.
Then fix some bugs, because there will probably be problems, as I don't
know if someone already tried this yet.
So it requires to know puppet, and the build system, and spend some time
to make it work.
So this is not easy. I think it could be nice later to be able to
provide something to install a buildsystem easily. But it's not yet done.
And probably not what you want if you only want to rebuild some
packages in a chroot, iurt is enough for this.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003218.html">[Mageia-dev] Will mageia keep the bugs in Mandriva
</A></li>
<LI>Next message: <A HREF="003219.html">[Mageia-dev] Yet another list of missing packages
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3216">[ date ]</a>
<a href="thread.html#3216">[ thread ]</a>
<a href="subject.html#3216">[ subject ]</a>
<a href="author.html#3216">[ 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>
|