Last active
August 29, 2015 14:02
-
-
Save electrum/702366404a7d6a599911 to your computer and use it in GitHub Desktop.
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
ENVIRONMENT=dev | |
INSTANCE=...hostname or other id... | |
DATACENTER=west | |
CLUSTER=1 | |
MACHINE=...hostname... | |
LOCATION=/$DATACENTER/$CLUSTER/$MACHINE | |
IP=$(hostname -i) | |
TYPE=...machine type name... | |
COORDINATOR_BIN=airship-coordinator:0.13 | |
COORDINATOR_CONF=@airship-coordinator:1 | |
AGENT_BIN=airship-agent:0.13 | |
AGENT_CONF=@airship-agent:1 | |
./airship environment provision-local local /airship \ | |
--name $ENVIRONMENT \ | |
--repository http://nexus.example.com:8181/nexus/content/groups/public/ \ | |
--maven-default-group-id io.airlift.airship \ | |
--maven-default-group-id com.example.config \ | |
--agent-id $INSTANCE \ | |
--location $LOCATION \ | |
--instance-type $TYPE \ | |
--external-address $IP \ | |
--internal-ip $IP | |
airship -e local --batch install $COORDINATOR_BIN $COORDINATOR_CONF | |
airship -e local --batch start -b airship-coordinator | |
airship -e local --batch install $AGENT_BIN $AGENT_CONF | |
airship -e local --batch start -b airship-agent | |
airship environment add dev http://localhost:28888/ | |
airship show | |
airship install ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment