Merge "Fix upload-artifacts and its installation"

This commit is contained in:
Zuul 2021-08-20 12:03:29 +00:00 committed by Gerrit Code Review
commit 1ef4c88889
2 changed files with 3 additions and 1 deletions

3
scripts/upload-artifacts Normal file → Executable file
View File

@ -121,8 +121,9 @@ if [ -n "${ENVIRONMENT_FILE:-}" ]; then
import os import os
import yaml import yaml
key = 'DeployArtifactFILEs' key = 'DeployArtifactFILEs'
files = ($(printf "'%s'," ${FILES[@]}))
urls = [ urls = [
"/var/lib/tripleo/artifacts/${CONTAINER_NAME}/{}".format(i) "/var/lib/tripleo/artifacts/${CONTAINER_NAME}/{}".format(os.path.basename(i))
for i in files for i in files
] ]
content = {'parameter_defaults': {key: []}} content = {'parameter_defaults': {key: []}}

View File

@ -34,6 +34,7 @@ scripts =
scripts/tripleo-config-download scripts/tripleo-config-download
scripts/upload-puppet-modules scripts/upload-puppet-modules
scripts/upload-swift-artifacts scripts/upload-swift-artifacts
scripts/upload-artifacts
data_files = data_files =
lib/heat/undercloud_heat_plugins = undercloud_heat_plugins/* lib/heat/undercloud_heat_plugins = undercloud_heat_plugins/*