import repository from arizona
[raven.git] / push / config
1 #!/bin/bash
2
3 # Directories where things may be found
4 STORK_DIR=..
5 #STORK_RPM_DIR=$STORK_DIR/rpm_builds/RPMS/i386
6 STORK_RPM_DIR=$STORK_DIR/publish/smbaker-release/packages
7 OTHER_RPM_DIR=/appman-stork2/remote/do_install
8
9 #STORKUTIL=$STORK_DIR/2.0/python/storkutil.py
10 STORKUTIL=~/projects/stork20/2.0/python/storkutil.py
11 PYTHON_DIR=$STORK_DIR/2.0/python
12
13 UNIT_TEST_DIR=$PYTHON_DIR/test
14
15 REPO_NAME=stork-repository.cs.arizona.edu
16 #REPO_NAME=198.0.0.144:8081
17 #REPO_NAME=stork-repository.cs.arizona.edu
18
19 #REPO_PORT=:8081
20 REPO_PORT=
21 REPO_BASE_URL=$REPO_NAME$REPO_PORT
22
23
24 # The username that you would use when SSHing to the repository. Put a '@' at
25 # the end of your username.
26 #REPO_SSH_USERNAME=
27 REPO_SSH_USERNAME=bakers@
28
29 # Your planetlab account name and password. If you leave the password blank,
30 # then we will prompt for it as necessary.
31 PLANETLAB_ACCOUNT=bakers@cs.arizona.edu
32 #PLANETLAB_PASSWORD=mypassword
33
34 # You can specify some custom tags if you wish. They will be added to your
35 # tpfile.
36 #TAGS="--tags foobar"
37
38 #settings to use when publishing client
39 CLIENT_TPUSER=smbaker-release
40 CLIENT_TPFILE=/home/smbaker/projects/planetlab/tpfiles/smbaker-release.MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALtGteQPdLa0kYv+klFWTklH9Y7frYhl5JV1hgJa5PlGI3yK+R22UsD65_J4PV92RUgVd_uJMuB8Q4bi1w4o6JMCAwEAAQ.tpfile
41 CLIENT_PRIVATEKEY=/home/smbaker/projects/planetlab/smbaker.privatekey
42
43 #settings to use when publishing nest. I use a seperate tpfile when
44 #publishing packages to the nest.
45 NEST_TPUSER=smbaker-nest-release
46 NEST_TPFILE=/home/smbaker/projects/planetlab/tpfiles/smbaker-nest-release.MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALtGteQPdLa0kYv+klFWTklH9Y7frYhl5JV1hgJa5PlGI3yK+R22UsD65_J4PV92RUgVd_uJMuB8Q4bi1w4o6JMCAwEAAQ.tpfile
47 NEST_PRIVATEKEY=/home/smbaker/projects/planetlab/smbaker.privatekey
48
49 # if NEED_PLANETLAB_PASSWORD is set, and we don't have one, then prompt the
50 # user for it
51 if [ -n "$NEED_PLANETLAB_PASSWORD" ]
52   then
53   # prompt for the user's planetlab password if necessary
54   if [ -z "$PLANETLAB_PASSWORD" ]
55   then
56      echo -n "Planetlab Password for $PLANETLAB_ACCOUNT: "
57      stty -echo
58      read PLANETLAB_PASSWORD
59      stty echo
60      echo ""
61      export PLANETLAB_PASSWORD
62   fi
63 fi
64
65 # If PUSH_BETA is defined (use export PUSH_BETA=TRUE before running script),
66 # then override the following settings. I use this when pushing beta
67 # releases. It is entirely optional.
68 if [ -n "$PUSH_BETA" ]
69 then
70    echo "push: using BETA tpfiles"
71    CLIENT_TPUSER=smbaker-beta
72    CLIENT_TPFILE=/home/smbaker/projects/planetlab/tpfiles/smbaker-beta.MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALtGteQPdLa0kYv+klFWTklH9Y7frYhl5JV1hgJa5PlGI3yK+R22UsD65_J4PV92RUgVd_uJMuB8Q4bi1w4o6JMCAwEAAQ.tpfile
73    NEST_TPUSER=smbaker-nest-beta
74    NEST_TPFILE=/home/smbaker/projects/planetlab/tpfiles/smbaker-nest-beta.MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALtGteQPdLa0kYv+klFWTklH9Y7frYhl5JV1hgJa5PlGI3yK+R22UsD65_J4PV92RUgVd_uJMuB8Q4bi1w4o6JMCAwEAAQ.tpfile
75    TAGS="--tags +beta"
76 fi
77
78 # I use PUSH_CVS to push a copy of stork that is checked out seperately from
79 # CVS (as opposed to my working copy). Like PUSH_BETA, this is optional.
80 if [ -n "$PUSH_CVS" ]
81 then
82    echo "push: using CVS checked out version of stork tree"
83    STORK_RPM_DIR=/home/smbaker/projects/stork/test/stork/rpm_builds/RPMS/i386
84 fi
85 if [ -n "$PUSH_STORK20" ]
86 then
87    echo "push: using stork20 checked out version of stork tree"
88    STORK_RPM_DIR=/home/smbaker/projects/stork20/rpm_builds/RPMS/i386
89 fi
90
91
92 # end of configuration