diff --git a/scripts/upload-artifacts b/scripts/upload-artifacts old mode 100644 new mode 100755 index 6ad615e02..af4799495 --- a/scripts/upload-artifacts +++ b/scripts/upload-artifacts @@ -121,8 +121,9 @@ if [ -n "${ENVIRONMENT_FILE:-}" ]; then import os import yaml key = 'DeployArtifactFILEs' +files = ($(printf "'%s'," ${FILES[@]})) urls = [ - "/var/lib/tripleo/artifacts/${CONTAINER_NAME}/{}".format(i) + "/var/lib/tripleo/artifacts/${CONTAINER_NAME}/{}".format(os.path.basename(i)) for i in files ] content = {'parameter_defaults': {key: []}} diff --git a/setup.cfg b/setup.cfg index d93c963c0..e7df1404e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,7 @@ scripts = scripts/tripleo-config-download scripts/upload-puppet-modules scripts/upload-swift-artifacts + scripts/upload-artifacts data_files = lib/heat/undercloud_heat_plugins = undercloud_heat_plugins/*