Last active
December 26, 2015 10:59
-
-
Save ncdc/7140747 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
Create jbossews/as/eap app: | |
- install script puts ROOT.war in jbossews/webapps/ROOT.war or jboss{as,eap}/standalone/deployments/ROOT.ar | |
- AFTER prepare syncs files to app-deployments, post_install script copies ROOT.war to app-root/runtime/repo | |
- NOTHING synced to app-deployments/current/repo/webapps or deployments | |
- ROOT.war synced to app-deployments/current/dependencies/webapps|deployments | |
Scale up: | |
- new gear created | |
- head gear's app-deployments synced to new gear | |
- activation copies from app-deployments to app-root/runtime | |
- ROOT.war copied from app-deployments/current/dependencies/... to app-root/runtime/dependencies/... | |
- app-root/rumtime/repo/webapps|deployments is EMPTY | |
- control#deploy sees that repo/webapps|deployments exists so it rsyncs with --delete from repo to $cart/webapps|deployments | |
- thus *deleting* ROOT.war | |
- gear is DOWN (ROOT.war missing from $cart_dir) | |
Make change and git push: | |
- mvn writes ROOT.war to app-root/runtime/webapps|deployments during control#build | |
- prepare syncs ROOT.war from runtime/repo to app-deployments/current/repo | |
- control#deploy syncs runtime/repo/.../ROOT.war to $cart_dir/... | |
- gear is UP (ROOT.war in $cart_dir) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment