Last active
December 13, 2017 10:29
-
-
Save bmoussaud/0f3cc7aeb796e4f90593f839bf5039c5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# script script/deploy-artifact.sh.ftl | |
echo "Deploying file on Unix" | |
mkdir -p ${deployed.container.home + "/context"} | |
cp ${deployed.file.path} ${deployed.container.home + "/context"} | |
echo "Done" |
This file contains hidden or 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
<type type="example.Server" extends="udm.BaseContainer" | |
description="Example server"> | |
<property name="host" kind="ci" | |
referenced-type="overthere.Host" as-containment="true"/> | |
<property name="home" description="Home directory for the server"/> | |
</type> | |
<type type="example.ArtifactDeployed" extends="udm.BaseDeployedArtifact" | |
deployable-type="example.Artifact" container-type="example.Server" | |
description="Artifact that can be deployed to an example server"> | |
<generate-deployable type="example.Artifact" | |
extends="udm.BaseDeployableFileArtifact"/> | |
</type> |
This file contains hidden or 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
<rule name="example.ArtifactDeployed.CREATE_MODIFY" scope="deployed"> | |
<conditions> | |
<type>example.ArtifactDeployed</type> | |
<operation>CREATE</operation> | |
<operation>MODIFY</operation> | |
</conditions> | |
<steps> | |
<os-script> | |
<script>script/deploy-artifact</script> | |
</os-script> | |
</steps> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment