Skip to content
Snippets Groups Projects
  • Mathieu Leguay's avatar
    [DLAB-4154] Update mongo init · 17db9bce
    Mathieu Leguay authored
    - Update PKI scripts: Restructuring scripts on an overload strategy
    - Renew PKI dev (missing CA, useful when we need to connect vitamui to others applications)
    - Update application assets according to the new dev PKI
    - Add/update readme
    17db9bce
assembly-deployment.xml 2.59 KiB
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    <id>deployment</id>
    <formats>
        <format>tar.gz</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
    <fileSets>
        <!-- Add ansible deployment files -->
        <fileSet>
            <directory>../deployment</directory>
            <outputDirectory>deployment</outputDirectory>
            <excludes>
                <exclude>**/*.retry</exclude>
                <exclude>**/*.settings/**</exclude>
                <exclude>**/*.project</exclude>
                <exclude>**/*.gitignore</exclude>
                <exclude>vault_pass.txt</exclude>
                <exclude>vault_pki.pass</exclude>
                <exclude>environments/hosts.local</exclude>
                <exclude>environments/hosts.vitam</exclude>
                <exclude>environments/hosts.vitamui</exclude>
                <exclude>environments/hosts.example</exclude>
                <!-- We exclude information about CA/certs/keystores and vault linked to them. 
                They must be generated during a deployment or loaded - and stored oustide sources. -->
                <exclude>environments/group_vars/all/vault-keystores.yml.example</exclude>
                <exclude>environments/group_vars/all/vault-keystores.yml</exclude>
                <exclude>environments/certs/vault-certs.yml.example</exclude>
                <exclude>environments/certs/vault-certs.yml</exclude>
                <exclude>environments/certs/vault-ca.yml.example</exclude>
                <exclude>environments/certs/vault-ca.yml</exclude>
                <exclude>pki/ca/**</exclude>
                <exclude>pki/config/*/*</exclude>
                <exclude>pki/tempcerts/**</exclude>
                <exclude>environments/certs/**</exclude>
                <exclude>environments/certs_vitam/**</exclude>
                <exclude>environments/keystores/**</exclude>
            </excludes>
        </fileSet>

        <fileSet>
            <directory>../tools/docker/mongo/database_scripts/</directory>
            <useDefaultExcludes>true</useDefaultExcludes>
            <includes>
                <include>**/*</include>
            </includes>
             <outputDirectory>deployment/scripts/mongod/</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>