-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from jrha/utility-packages
Build packages for client and yum repositories
- Loading branch information
Showing
8 changed files
with
373 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.quattor</groupId> | ||
<artifactId>quattor-release</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<version>14.10.0-rc3-SNAPSHOT</version> | ||
|
||
<name>Quattor Release Packages</name> | ||
<description>Utility packages for using Quattor releases.</description> | ||
<parent> | ||
<groupId>org.sonatype.oss</groupId> | ||
<artifactId>oss-parent</artifactId> | ||
<version>7</version> | ||
</parent> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>quattor.releases</id> | ||
<name>Releases</name> | ||
<url>http://stratuslab-srv01.lal.in2p3.fr:8081/content/repositories/quattor-releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>quattor.snapshots</id> | ||
<name>Snapshots</name> | ||
<url>http://stratuslab-srv01.lal.in2p3.fr:8081/content/repositories/quattor-snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/quattor/release.git</connection> | ||
<developerConnection>scm:git:[email protected]:quattor/release.git</developerConnection> | ||
<url>https://github.com/quattor/release</url> | ||
</scm> | ||
|
||
<modules> | ||
<module>quattor-client</module> | ||
<module>quattor-repo</module> | ||
</modules> | ||
|
||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>2.1</version> | ||
<configuration> | ||
<mavenExecutorId>forked-path</mavenExecutorId> | ||
<useReleaseProfile>false</useReleaseProfile> | ||
<arguments>-Psonatype-oss-release -Dgpg.useagent=true</arguments> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
</build> | ||
|
||
</project> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.quattor.client</groupId> | ||
<artifactId>quattor-client</artifactId> | ||
|
||
<packaging>rpm</packaging> | ||
<version>14.10.0-rc3-SNAPSHOT</version> | ||
<name>Quattor meta RPM for bootstrapping client systems.</name> | ||
|
||
<parent> | ||
<groupId>org.quattor.maven</groupId> | ||
<artifactId>build-profile</artifactId> | ||
<version>1.43</version> | ||
</parent> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache 2 License</name> | ||
<url>http://www.opensource.org/licenses/apache2.0</url> | ||
<comments>Copyright (c) Responsible Organization</comments> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>James Adams</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>tarballs</id> | ||
<phase/> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>pod2man</id> | ||
<phase/> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>filter-sources</id> | ||
<phase>process-sources</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration combine.self="override"> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src</directory> | ||
<includes> | ||
<include>quattor-release</include> | ||
</includes> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>rpm-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<summary>Quattor client meta-package</summary> | ||
<name>${project.artifactId}</name> | ||
<url>https://github.com/quattor/release</url> | ||
<requires> | ||
<require>ncm-spma</require> | ||
<require>ncm-cdispd</require> | ||
<require>ccm</require> | ||
<require>cdp-listend</require> | ||
<require>ncm-query</require> | ||
<require>ncm-ncd</require> | ||
</requires> | ||
<defaultDirmode>755</defaultDirmode> | ||
<mappings> | ||
<mapping> | ||
<directory>/etc/</directory> | ||
<filemode>644</filemode> | ||
<username>root</username> | ||
<groupname>root</groupname> | ||
<directoryIncluded>false</directoryIncluded> | ||
<sources> | ||
<source> | ||
<location>src/quattor-release</location> | ||
</source> | ||
</sources> | ||
<recurseDirectories>true</recurseDirectories> | ||
</mapping> | ||
</mappings> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
|
||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Quattor ${version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The test framework relies on `src/test/perl` existing, this file is here to satisfy that requirement for now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.quattor.repo.yum</groupId> | ||
<artifactId>quattor-repo-yum</artifactId> | ||
|
||
<packaging>rpm</packaging> | ||
<version>14.10.0-rc3-SNAPSHOT</version> | ||
<name>Quattor YUM repositories.</name> | ||
|
||
<parent> | ||
<groupId>org.quattor.maven</groupId> | ||
<artifactId>build-profile</artifactId> | ||
<version>1.32</version> | ||
</parent> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache 2 License</name> | ||
<url>http://www.opensource.org/licenses/apache2.0</url> | ||
<comments>Copyright (c) Responsible Organization</comments> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>James Adams</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>tarballs</id> | ||
<phase/> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>pod2man</id> | ||
<phase/> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>filter-sources</id> | ||
<phase>process-sources</phase> | ||
<goals> | ||
<goal>copy-resources</goal> | ||
</goals> | ||
<configuration combine.self="override"> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src</directory> | ||
<includes> | ||
<include>*.repo</include> | ||
</includes> | ||
<filtering>true</filtering> | ||
</resource> | ||
</resources> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>rpm-maven-plugin</artifactId> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<summary>Quattor YUM Repositories</summary> | ||
<name>${project.artifactId}</name> | ||
<url>https://github.com/quattor/release</url> | ||
<requires> | ||
<require>yum</require> | ||
</requires> | ||
<defaultDirmode>755</defaultDirmode> | ||
<mappings> | ||
<mapping> | ||
<directory>/etc/yum.repos.d/</directory> | ||
<filemode>644</filemode> | ||
<username>root</username> | ||
<groupname>root</groupname> | ||
<directoryIncluded>false</directoryIncluded> | ||
<sources> | ||
<source> | ||
<location>${project.build.directory}/quattor.repo</location> | ||
</source> | ||
</sources> | ||
<recurseDirectories>true</recurseDirectories> | ||
</mapping> | ||
<mapping> | ||
<directory>/etc/pki/rpm-gpg/</directory> | ||
<filemode>644</filemode> | ||
<username>root</username> | ||
<groupname>root</groupname> | ||
<directoryIncluded>false</directoryIncluded> | ||
<sources> | ||
<source> | ||
<location>src/RPM-GPG-KEY-quattor-jrha</location> | ||
</source> | ||
</sources> | ||
<recurseDirectories>true</recurseDirectories> | ||
</mapping> | ||
</mappings> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
|
||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Version: GnuPG v1.4.14 (GNU/Linux) | ||
|
||
mQGiBEru7hYRBACENnVf4PIcywbuJ45Ll1EZBNqtG0JOd1yZSpLypvZkT2yDozLY | ||
9BUTUDXaz+WHDiKFQUJ4/4sCHAdj6YTZ14GR4jir8BVpFftNmqFmDziUUNvbuZbq | ||
yTo4Nann++2kzLiGHX9FJzloSNPc6jed5frmFZHU3SBPMs27TuYD43ugzwCgxVi6 | ||
PsiUK7i/i/iFJtw6/g9rywUD/1BKUUxL01GQHCADnqQce/fjvLvY3wTibp1ZdjUk | ||
iHVdiuyQnVeYUpMqqar6lqCDsJrLg4JnEFHGhEOmoeHIbK7bpjv7iYLfG2xWYVPy | ||
i2YvjAY+noGb06mn/1C/znR9Z/PcEUldx5ufvTKWLQ6zwxqyiMuNf+mRYZ+IEJqH | ||
nXPJA/9Qm93iLAySglbPKoPCx63zZKg4W1lVslSgYQf+NHfQD3IUl3VfMMZkNKNp | ||
FDXDcBI1enUmKiGABrOp/STDM9tgwzaY03/S2fZdCB88Ra8pYUGY2gvw2KECwGAJ | ||
jt3zVz5EaX+FQ7rN7VdUkLltAKqNA+h4m0jnxUd0pV7jOCXDkrRFSmFtZXMgQWRh | ||
bXMgKFJ1dGhlcmZvcmQgQXBwbGV0b24gTGFib3JhdG9yeSkgPGphbWVzLmFkYW1z | ||
QHN0ZmMuYWMudWs+iGAEExECACAFAkru7hYCGwMGCwkIBwMCBBUCCAMEFgIDAQIe | ||
AQIXgAAKCRC/XhVu4BeIZoDCAKDBrntu0BXMamv44ScrOfvPUHoYOwCfStIjYW0o | ||
81OiVAP66iL/6Nv7RNq5Ag0ESu7uFhAIAJzsv6lgGBbG4ua0BkmIXBJSrlufZKRs | ||
uUFl525Jkl9kWbxYjnqkfQ8+iFimmckDDMq4BaXgiwl3vOt0d9kV8zGDwFp0g35/ | ||
TN1IL7iDBX3z8HNvCMMHbyy0Hrj0j4GG+n+Huy9r05xwwSbQv4u+ICSONFUemPKr | ||
lHXEVZ2sT0mfT6uGH1DqOeVUWr7p2onAvm3PlTDAX8weAzeyJABbjeul7BIRtfKY | ||
3yuJTSg7F7vWUzB4G0TbuVLbfHDF4dyo31TJPiU2Wi5zh5+XBFIszqr9Z0IzqgXF | ||
rboRynN+jZcJgvBwi1Wqf18yxRaGpIfxHCdYDr53K0LhVIsSQ27y/NcAAwUH/31p | ||
KR+/xqvtWVuAruv1il/4lVJVU1jDNCXZ0RKtMe00+Q3GhX6eHJKFOkdSMnTfiF+d | ||
DVBtpT0v2eQ5WHOPUvuoxPVkfY+RrtM4AFtPck74SJQcXFCmnZGLcu4tES6rRx/8 | ||
DBIZSs0HZYMptPvihIqR6a8C4ldWiGvFcyuGTjoS5iil4KU9aGYtGpgmf7s9ayxk | ||
qUOK8oMhTSBmql8Oky4bHYo2yRWxKLGwlY5Pr6iBnTP4WWrC6WVwrRkKopbyK+37 | ||
74xlVc+QJ/Lk05Q5mPIGsgVATtZ8G0JrHtosfCK7BHSc2yvX/rR4dw4z19PH+7NM | ||
/PFqGXxJWnDL/NaI5X+ISQQYEQIACQUCSu7uFgIbDAAKCRC/XhVu4BeIZo0+AJ9I | ||
qFIuBoll4nfpscZF6zgGpr/VpACfceROtqejTxFIPnAwMckQt6WhZlM= | ||
=RHsi | ||
-----END PGP PUBLIC KEY BLOCK----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[quattor] | ||
name=Quattor ${project.version} | ||
baseurl=http://yum.quattor.org/${project.version} | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-quattor-jrha | ||
|
||
[quattor_aquilon] | ||
name=Quattor Aquilon | ||
baseurl=http://yum.quattor.org/aquilon | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-quattor-jrha | ||
|
||
[quattor_externals_arch] | ||
name=Quattor Externals | ||
baseurl=http://yum.quattor.org/externals/$arch/el$release | ||
enabled=1 | ||
gpgcheck=0 | ||
|
||
[quattor_externals_noarch] | ||
name=Quattor Externals | ||
baseurl=http://yum.quattor.org/externals/noarch/el$release | ||
enabled=1 | ||
gpgcheck=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The test framework relies on `src/test/perl` existing, this file is here to satisfy that requirement for now. |