summaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/pom.xml
blob: f9a2600ba04c1918f075fce45f5fb75e8c4b89a6 (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
<!--
  ============LICENSE_START=======================================================
   Copyright (C) 2019 Nordix Foundation.
   Modifications Copyright (C) 2020 Bell Canada.
  ================================================================================
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

  SPDX-License-Identifier: Apache-2.0
  ============LICENSE_END=========================================================
-->

<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.onap.policy.pap</groupId>
        <artifactId>pap-packages</artifactId>
        <version>2.3.2-SNAPSHOT</version>
    </parent>

    <artifactId>policy-pap-tarball</artifactId>
    <name>${project.artifactId}</name>
    <description>The module for creating zip package of entire PAP component.</description>

    <dependencies>
        <dependency>
            <groupId>org.onap.policy.pap</groupId>
            <artifactId>pap-main</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <id>generate-complete-tar</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/package/tarball/assembly.xml</descriptor>
                            </descriptors>
                            <finalName>${project.artifactId}-${project.version}</finalName>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
">html-publisher-files parameters: - string: name: HTMLFILES default: '{html-files}' description: 'File name to be used by HTML publisher plugin to produce the report' - parameter: name: integration-terraform-version parameters: - string: name: TERRAFORM_VERSION default: '{terraform-version}' description: 'Terraform version to install on minion' - parameter: name: integration-terragrunt-version parameters: - string: name: TERRAGRUNT_VERSION default: '{terragrunt-version}' description: 'Terragrunt version to install on minion' - parameter: name: integration-unique-docker-tag parameters: - string: name: UNIQUE_DOCKER_TAG default: '{unique-docker-tag}' description: 'Unique docker tag to identify specific version' - builder: name: integration-install-robotframework builders: - shell: !include-raw: - include-raw-integration-install-robotframework.sh - builder: name: integration-run-test builders: - shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}" - builder: name: integration-run-project-test builders: - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTOPTIONS}" - builder: name: integration-autorelease-fix-relativepaths builders: - shell: "${WORKSPACE}/autorelease/scripts/fix-relativepaths.sh" - builder: name: integration-autorelease-set-version builders: - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh" - builder: name: integration-install-vagrant builders: - shell: | #!/bin/bash set -ex # Fail build if any setup step fails sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant sudo apt update sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant vagrant plugin install vagrant-libvirt vagrant plugin install vagrant-disksize vagrant plugin install vagrant-sshfs vagrant plugin install vagrant-reload mkdir -p ~/.ssh - builder: name: integration-install-terraform builders: - shell: | #!/bin/bash set -ex cd /tmp wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip sudo mv terraform /usr/local/bin/ terraform version - builder: name: integration-install-terragrunt builders: - shell: | #!/bin/bash set -ex cd /tmp wget -q https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_amd64 sudo mv terragrunt_linux_amd64 /usr/local/bin/terragrunt sudo chmod +x /usr/local/bin/terragrunt terragrunt --version - builder: name: integration-docker-compose-logs builders: - shell: !include-raw: shell/docker-compose-logs.sh - publisher: name: integration-robot publishers: - robot: output-path: 'archives' output-xml: '**/output.xml' report-html: '**/report.html' log-html: '**/log.html' other-files: '' unstable-threshold: '{unstable-if}' pass-threshold: '{pass-if}' only-critical: false - publisher: name: integration-project-robot publishers: - robot: output-path: 'csit/archives' output-xml: '**/output.xml' report-html: '**/report.html' log-html: '**/log.html' other-files: '' unstable-threshold: '{unstable-if}' pass-threshold: '{pass-if}' only-critical: false - publisher: name: integration-docker-compose-logs publishers: - postbuildscript: builders: - role: BOTH build-on: - FAILURE - SUCCESS - UNSTABLE build-steps: - integration-docker-compose-logs