~vila/ols-store-tests/better-reporting

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Vincent Ladeuil
  • Date: 2016-07-08 09:11:22 UTC
  • Revision ID: vila+ols@canonical.com-20160708091122-3h0fjvv6fvs2qoek
Support a secret setup script allowing credentials to be provided externally.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
VM=store-tests
2
2
VSSH=ols-vms shell ${VM}
3
3
VSTATUS=ols-vms status ${VM}
 
4
SECRETS=~/bin/setup-store-secrets.sh
4
5
vm-built:
5
6
        if [ `${VSTATUS}` = 'UNKNOWN' ] ; then ols-vms setup ${VM} ; fi
6
7
 
18
19
        ${VSSH} './get_store_versions.py'
19
20
 
20
21
test: store-version branch-up-to-date vm-up-to-date
21
 
        ${VSSH} 'if [ -f ~/secrets ] ; then source ~/secrets ; fi && cd work && PYTHONPATH=`pwd` ols-run-tests'
 
22
        ${VSSH} 'if [ -f ${SECRETS} ] ; then source ${SECRETS} ; fi && cd work && PYTHONPATH=`pwd` ols-run-tests'