xebialabs-community/xlr-fastlane-plugin

View on GitHub
src/main/resources/synthetic.xml

Summary

Maintainability
Test Coverage
<!--


    Copyright 2019 XEBIALABS

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

-->
<!--

    THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS
    FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS.

-->
<synthetic xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.xebialabs.com/deployit/synthetic synthetic.xsd" xmlns="http://www.xebialabs.com/deployit/synthetic">

    <!--
        #######################################################################################################################
        #                 Classes that are subclassed
        #######################################################################################################################
    -->
    <type type="fastlane.Host" extends="xlrelease.Configuration">
        <property name="address" required="true"/>
        <property name="username" required="true"/>
        <property name="password" required="false" password="true"/>
        <property name="privateKeyFile" required="false"/>
        <property name="connectionProperties" required="false" kind="map_string_string" description="See https://github.com/xebialabs/overthere#ssh"/>
    </type>

    <!--
        #######################################################################################################################
        #                 Tasks
        #######################################################################################################################
    -->
    <type type="fastlane.laneTask" extends="xlrelease.PythonScript">
        <property name="scriptLocation" default="fastlane/laneTask.py" hidden="true"/>

        <property name="clientHost" category="input" label="Fastlane Host" required="false" kind="ci" referenced-type="fastlane.Host" description="Host with git client. If blank, local host is used."/>

        <property name="gitCloneUrl"    category="input" label="Git Project" description="Example, 'git@github.com:xebialabs-community/xlr-relationships-visualization-plugin.git'" required="false"/>
        <property name="gitBranch"      category="input" label="Branch" default="master" description="Git branch to process" required="false"/>
        <property name="gitRepoBaseDir" category="input" label="Working Dir" default="/tmp" description="Working directory on remote host"/>

        <property name="lane"    category="input" label="Lane"    required="true"/>
        <property name="options" category="input" label="Options" required="false" kind="map_string_string"/>
    </type>

</synthetic>