Page tree
Skip to end of metadata
Go to start of metadata

Relocated documentation

This documentation needs a new home along with Version Control. The two can probably be merged with some thought.

End of Sprint Process

The developers should follow this process for ending a sprint:

  1. Soft Freeze by end of Wednesday before sprint end
  2. First thing Thursday developers meet to game plan for sprint end demo
    1. Discuss who will demo which stories with what content
    2. Determine which stories to abandon
    3. Swarm on stories still needing work
  3. Dry-run demo before leaving on Friday

 

Pushing to mallorn

Not ideal but this is what I've been doing - Chris

login as root on pine.dlib.indiana.edu
cd /srv/atlassian/bamboo/bamboo-4.3-data/xml-data/build-dir/VOV-HYDRANT-DEPLOYLANCELOT
rvm use ruby-2.1.4
export SCM_BRANCH=develop 
export RAILS_ENV=development
export AVALON_REINDEX=true #might not actually care what's set here, but that it's there.
HOSTS=mallorn.dlib.indiana.edu cap deploy

 

Wiping content

This shouldn't be run at ever end of sprint, but when we get close to testing, this may be needed.

Log into mallorn as the avalon user.

cd /var/www/avalon/current
bundle exec script/rails c
ActiveFedora::Base.delete_all
Bookmark.delete_all
#ActiveFedora::Base.destroy_all doesn't work as well.
 
#Clear solr content
curl http://localhost:8983/solr/avalon/update?commit=true -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
 
#Login as root, Delete files
rm -rf /var/avalon/rtmp_streams/*
rm -rf /var/avalon/hls_streams/*
ln -s /usr/share/avalon-sample-content/hls-streams/* /var/avalon/hls_streams/
ln -s /usr/share/avalon-sample-content/streaming/* /var/avalon/rtmp_streams/
 

After the content is cleaned up, reinstall the sample content.

  • No labels