Use correct code version for amphora agent image

Change-Id: I3d5ad4d4904cf5fdf19124ad4d66e6c9cf16a93c
Co-Authored-By: Adam Harwell <flux.adam@gmail.com>
This commit is contained in:
Brandon Logan 2016-06-29 16:51:34 -05:00 committed by Adam Harwell
parent e42b3db580
commit f88e06b52f

View File

@ -15,6 +15,9 @@ function octavia_install {
function build_octavia_worker_image {
# pull the agent code from the current code zuul has a reference to
export DIB_REPOLOCATION_amphora_agent=$OCTAVIA_DIR
export DIB_REPOREF_amphora_agent=$(git -C "$OCTAVIA_DIR" log -1 --pretty="format:%H")
TOKEN=$(openstack token issue | grep ' id ' | get_field 2)
die_if_not_set $LINENO TOKEN "Keystone failed to get token."