~james-page/ubuntu-openstack-ci/drop-tox-from-slave-config

« back to all changes in this revision

Viewing changes to run/job-parts/deprecated/build_deployer_quickcheck.sh

  • Committer: Ryan Beisner
  • Date: 2018-12-13 21:10:41 UTC
  • mto: This revision was merged to the branch mainline in revision 409.
  • Revision ID: ryan.beisner@canonical.com-20181213211041-5xw4jn4u17ujbv6o
Actually remove the deprecated things

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash -e
2
 
 
3
 
# Source the common functions
4
 
. ${OSCI_ROOT}/run/job-parts/osci_job_common.sh
5
 
 
6
 
f_fresh_clean_start
7
 
f_refreshtools_jujuclean
8
 
f_env_no_pass
9
 
f_touch_try
10
 
 
11
 
# Go!
12
 
f_line "Deploy a quick-check bundle"
13
 
f_deployer_quickcheck
14
 
 
15
 
# Float and announce guis
16
 
export FLOATERS="juju-gui/0 openstack-dashboard/0 ubuntu/0"
17
 
f_floaters
18
 
f_announce_gui_floats
19
 
 
20
 
# Confirm deployment
21
 
f_line "Confirm deployment"
22
 
juju_ok="$(${OSCI_ROOT}/run/job-parts/juju1_deploy_ok.sh ||:)"
23
 
echo $juju_ok
24
 
f_juju_status_health_check "-post-deploy"
25
 
 
26
 
if [[ "$juju_ok" == *DEPLOYED:* ]]; then
27
 
  echo " . Juju deployment succeeded."
28
 
  touch $WORKSPACE/fyi.deploy.ok
29
 
else
30
 
  echo " ! Juju deployment failed."
31
 
  touch $WORKSPACE/fyi.deploy.failed
32
 
fi
33
 
 
34
 
f_collect_juju_logs
35
 
 
36
 
f_line "End of deployment test"
37
 
f_set_build_descr
38
 
f_nice_finish
39
 
f_check_fail