~pwlars/ubuntu-test-cases/auto-offline-devices

« back to all changes in this revision

Viewing changes to jenkins/templates/touch-smoke.xml.jinja2

  • Committer: Paul Larson
  • Date: 2014-10-01 20:46:18 UTC
  • Revision ID: paul.larson@canonical.com-20141001204618-cwk7krb1hzoarf14
mark devices offline automatically if something goes wrong during recovery

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
export IMAGE_TYPE={{imagetype}}
100
100
export IMAGE_SERIES={{series}}
101
101
export DEVICE_TYPE={{device_type}}
 
102
{% if offline_device_user %}
 
103
export OFFLINE_DEVICE_USER="{{offline_device_user}}"
 
104
{% endif %}
 
105
{% if offline_device_key %}
 
106
set +x   # don't let this leak into the public
 
107
export OFFLINE_DEVICE_KEY="{{offline_device_key}}"
 
108
set -x
 
109
{% endif %}
102
110
 
103
111
${BZRDIR}/scripts/recover.py ${NODE_NAME}
104
112