525.1.1
by Vincent Ladeuil
Brain dump of various bits of knowledge regarding the udd scripts. |
1 |
This is a brief description of the most often encountered deployment |
2 |
actions. Most of the commands assumes that |
|
3 |
``/srv/package-import.canonical.com/new/scripts`` is the current working |
|
4 |
directory. See the ``README`` file for details. |
|
5 |
||
6 |
To stop the importer, run:: |
|
7 |
||
535.1.1
by Vincent Ladeuil
More tricks for deployement. |
8 |
./etc-init.d-mass-import graceful-stop |
525.1.1
by Vincent Ladeuil
Brain dump of various bits of knowledge regarding the udd scripts. |
9 |
|
10 |
To update the scripts:: |
|
11 |
||
12 |
bzr update |
|
13 |
||
14 |
To start the importer, as the pkg_import user:: |
|
15 |
||
535.1.1
by Vincent Ladeuil
More tricks for deployement. |
16 |
./etc-init.d-mass-import start |
525.1.1
by Vincent Ladeuil
Brain dump of various bits of knowledge regarding the udd scripts. |
17 |
|
18 |
To update the builddeb plugin:: |
|
19 |
||
20 |
cd plugins/builddeb |
|
21 |
bzr pull -v |
|
535.1.1
by Vincent Ladeuil
More tricks for deployement. |
22 |
|
23 |
To get some useful shorcuts for dealing with manual operations:: |
|
24 |
||
25 |
. ./fixit.sh |
|
26 |
||
27 |
To monitor the ``mass-import`` script:: |
|
28 |
||
29 |
tail -F logs/driver/progress_log |
|
30 |
||
31 |
tail -F logs/driver/progress_log | analyze-log - |
|
32 |
||
33 |
the former gives a detailed view of what is happening while the later gives |
|
34 |
a better summary. |