tripleo-common/scripts
Alan Bishop 81d9792c3d Fix upload-swift-artifacts handling of json data
The upload-swift-artifacts script needs to handle json encoding of
the Temp-Url-Key property, and [1] was a step in the right direction.
However, it contained two errors that this patch corrects:

1. The property name is "Temp-Url-Key" (camel-case). Even if you specify
   "Temp-URL-Key" something will change "URL" to "Url". This patch uses
   the correct form when detecting whether the property exists.

2. The logic for detecting whether the Temp-Url-Key property exists was
   inverted. The property doesn't exist when the jq output is "null".

[1] Ife347f754ca9129580c092bb271bacdc032ae14b

Closes-Bug: #1867135
Change-Id: Idf0dccf4cd7d040e803b2ed2b49b3c39919c5a60
(cherry picked from commit 29367cb96d)
2020-03-12 05:49:49 -07:00
..
README-tripleo.sh Remove tripleo.sh (now in tripleo-ci repo) 2016-03-15 08:01:22 -04:00
bindep-install Add bindep support to tox 2019-06-07 15:14:01 -05:00
bootstrap_host_exec Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
bootstrap_host_only_eval Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
bootstrap_host_only_exec Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
container-update.py container_update: Retry removing containers. 2020-01-20 13:56:16 -05:00
pull-puppet-modules Replace git.openstack.org URLs with opendev.org URLs 2019-05-31 10:51:20 +08:00
run-validation Implement Ansible fact cache for Mistral executor 2019-10-02 15:37:18 +01:00
tripleo-build-images Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
tripleo-config-download Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
tripleo-container-image-prepare Make executor type dynamic 2019-10-08 08:25:21 -06:00
upload-puppet-modules Change default deploy artifacts container name 2016-09-05 21:02:27 +01:00
upload-swift-artifacts Fix upload-swift-artifacts handling of json data 2020-03-12 05:49:49 -07:00