~ibmcharmers/charms/trusty/layer-ibm-mobilefirst-server/devel

« back to all changes in this revision

Viewing changes to tests/00-setup

  • Committer: Suchitra Venugopal
  • Date: 2016-05-04 09:59:42 UTC
  • Revision ID: suchvenu@in.ibm.com-20160504095942-f3hp9a4iydhbnw3i
DB2 layered charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
 
 
4
DB2_CURL_URL=${DB2_CURL_URL?Error: IBM IM  curl_url be defined in tests/00-setup}
 
5
DB2_CURL_OPTS=${DB2_CURL_OPTS?Error: IBM IM  curl_OPTS be defined in tests/00-setup}
 
6
 
 
7
 
 
8
# Add a local configuration file
 
9
cat << EOF > local.yaml
 
10
ibm-repo:
 
11
    db2_curl_url: "$DB2_CURL_URL"
 
12
    db2_curl_opts: "$DB2_CURL_OPTS"
 
13
EOF
 
14
 
 
15
sudo add-apt-repository ppa:juju/stable -y
 
16
sudo apt-get update
 
17
sudo apt-get install amulet python3 -y