SHOW:
|
|
- or go back to the newest paste.
1 | # | |
2 | - | # [Issue 339](https://bitbucket.org/autonomy/knyc.acr.lab/issue/339) |
2 | + | # [kewr.acr.lan issue 158](https://bitbucket.org/autonomy/kewr.acr.lan/issue/158) |
3 | # | |
4 | set -e | |
5 | set -x | |
6 | ||
7 | echo "Starting: " $(date) | |
8 | export TERM=xterm | |
9 | ||
10 | - | # Deploys new versions of spice projects |
10 | + | # Forcefully redeploy our packages to guard against unknown prior state/version; |
11 | # Also ensure that bbruntime gets installed -- that isn't automatic from | |
12 | - | apt-get -y --force-yes install bbmint bbdill bbthyme bbginger |
12 | + | # bbpackage dependencies. |
13 | apt-get -y --force-yes update | |
14 | apt-get -y --force-yes install bbruntime --reinstall | |
15 | apt-get -y --force-yes install bbsage --reinstall | |
16 | apt-get -y --force-yes install bbmint --reinstall | |
17 | apt-get -y --force-yes install bbdill --reinstall | |
18 | apt-get -y --force-yes install bbthyme --reinstall | |
19 | apt-get -y --force-yes install bbginger --reinstall | |
20 | ||
21 | # Fix the matplotlib directory installer bug; | |
22 | sudo chown -R eroboto /home/eroboto/.matplotlib | |
23 | ||
24 | # Deploys new version of bbconfig | |
25 | pushd /home/eroboto/hgdev/org.bitbucket/autonomy/${BBCONFIG_REPO} | |
26 | make opt-bbconfig | |
27 | make opt-meacr | |
28 | popd | |
29 | ||
30 | # Install crontab | |
31 | cp /opt/bbconfig/current/opt/etc/me.acr/ginger/nobody/crontab-syncbox /etc/crontab | |
32 | chown root /etc/crontab | |
33 | chmod 644 /etc/crontab | |
34 | ||
35 | # Smoke-test the publisher framework | |
36 | source /etc/portion.env && source /etc/profile.d/runtime-context.sh && /opt/bbginger/current/bin/publish-list | |
37 | ||
38 | echo "Done: " $(date) |