Last active
August 29, 2015 14:00
-
-
Save imesh/11141291 to your computer and use it in GitHub Desktop.
SCP Stratos Packs to a server
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
# NOT COMPLETED | |
stratos_version=4.0.0-incubating | |
cep_extension_name=apache-stratos-cep-extension-${stratos_version} | |
cep_extension_path=/tmp/${cep_extension_name} | |
echo "Creating CEP extension pack..." | |
if [[ ! -d ${cep_extension_path} ]]; then | |
mkdir ${cep_extension_path} | |
fi | |
cp -r ${stratos_souce_path}/extensions/cep/artifacts ${cep_extension_path}/ | |
cp -r ${stratos_souce_path}/extensions/cep/stratos-cep-extension/target/org.apache.stratos.cep.extension-4.0.0-incubating.jar ${cep_extension_path}/ | |
zip -r apache-stratos-cep-extension-4.0.0-incubating.zip apache-stratos-cep-extension-4.0.0-incubating/* | |
scp ${stratos_souce_path}/products/load-balancer/modules/distribution/target/apache-stratos-load-balancer-4.0.0-incubating.zip root@${dest_host_ip}: | |
scp ${stratos_souce_path}/products/stratos/modules/distribution/target/apache-stratos-4.0.0-incubating.zip root@${dest_host_ip}: | |
scp ${stratos_souce_path}/products/stratos-cli/distribution/target/apache-stratos-cli-4.0.0-incubating.zip root@${dest_host_ip}: | |
scp ${stratos_souce_path}/extensions/load-balancer/haproxy-extension/target/apache-stratos-haproxy-extension-4.0.0-incubating-bin.zip root@${dest_host_ip}: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment