This is not tested so adjust when needed (but should be pretty close):
- in your launcher repo folder:
git fetch
/git checkout -t origin/84-hipache-hotswapping
- edit
deploy/hosts/vagrant/group_vars/launcher
and replacegit_repo_branch: feature/shipyard-ansible
withgit_repo_branch: 84-hipache-hotswapping
- copy
LAUNCHER_IP
variable fromsecret_vars.yml.example
to yoursecret_vars.yml
vagrant destroy launcher
/vagrant up launcher
[let’s try a fresh env]- add edX lite project based on the one in http://launcher.appsembler.com/admin BUT set the expiration time to e.g. 2 minutes to be able to quickly see the outcome of the expiration
vagrant ssh launcher
/tail -F tail -F /var/log/supervisor/celery.log
[lurk here often]- deploy edX lite, check that the URLs work
- wait the 2 minutes, lurk at the celery log
- app should expire, the URLs should now point to the expiration page
- go to http://launcher.dev/admin/deployment/deployment/, select the expired app and pick the “Restore expired apps” action from the dropdown. That should make the app alive so check again the URLs.