Add LXC container deployment
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 22 May 2014 12:07:33 +0000 (12:07 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 22 May 2014 12:07:33 +0000 (12:07 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@7006 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

lib/org.argeo.slc.lib.build/META-INF/spring/lxc.xml [new file with mode: 0644]
lib/org.argeo.slc.lib.build/META-INF/spring/standardBuilds.xml

diff --git a/lib/org.argeo.slc.lib.build/META-INF/spring/lxc.xml b/lib/org.argeo.slc.lib.build/META-INF/spring/lxc.xml
new file mode 100644 (file)
index 0000000..c9e3a30
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"\r
+       xmlns:aop="http://www.springframework.org/schema/aop" xmlns:flow="http://www.argeo.org/schema/slc-flow"\r
+       xsi:schemaLocation="\r
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd\r
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd\r
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">\r
+\r
+       <flow:flow name="test/deployLxcContainer">\r
+               <description>Init an LXC container</description>\r
+               <flow:spec>\r
+                       <flow:primitive name="chroot" value="/var/lib/libvirt/lxc/test" />\r
+               </flow:spec>\r
+               <bean class="org.argeo.slc.lib.linux.DeployLxcContainer">\r
+                       <flow:variable />\r
+                       <property name="chroot" value="@{chroot}" />\r
+                       <property name="callbackHandler" ref="callbackHandler" />\r
+               </bean>\r
+       </flow:flow>\r
+\r
+</beans>
\ No newline at end of file
index a192219eb68cb2e3c9649a5cc5c77752cc5d27dd..bedfd0f5b171c743b1e979dbb6e9a25e057e0191 100644 (file)
@@ -22,7 +22,7 @@
                <description>Argeo Full Developer Build </description>\r
                <flow:spec>\r
                        <flow:primitive name="mvnArgs"\r
-                               value="clean argeo-osgi:pde-sources install -Pcheck-osgi" />\r
+                               value="clean argeo-osgi:pde-sources install" />\r
                </flow:spec>\r
                <bean parent="templates/defaultMavenCall">\r
                        <flow:variable />\r