Reviewed: https://review.opendev.org/698933 Committed: https://git.openstack.org/cgit/openstack/paunch/commit/?id=0f20a8eb1d6f2ee6865725a0cbd28ee603f4cccc Submitter: Zuul Branch: stable/stein
commit 0f20a8eb1d6f2ee6865725a0cbd28ee603f4cccc Author: Emilien Macchi <email address hidden> Date: Mon Oct 7 22:03:47 2019 -0400
builder: allow to pass a dict to 'environment'
To allow to pass container environment as a dict instead of a list. It's backward compatible, a list can still be passed.
We introduce a new function "list_or_dict_arg" so we can re-use it for other parameters later if needed.
Related-Bug: #1855932 Change-Id: I85999889d3328dc9d2116b8539ac959b39cb833a (cherry picked from commit cfa2fc51ab5412436063b73b842141a8d788911a)
Reviewed: https:/ /review. opendev. org/698933 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=0f20a8eb1d6 f2ee6865725a0cb d28ee603f4cccc
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 0f20a8eb1d6f2ee 6865725a0cbd28e e603f4cccc
Author: Emilien Macchi <email address hidden>
Date: Mon Oct 7 22:03:47 2019 -0400
builder: allow to pass a dict to 'environment'
To allow to pass container environment as a dict instead of a list.
It's backward compatible, a list can still be passed.
We introduce a new function "list_or_dict_arg" so we can re-use it for
other parameters later if needed.
Related-Bug: #1855932 c9d2116b8539ac9 59b39cb833a 36063b73b842141 a8d788911a)
Change-Id: I85999889d3328d
(cherry picked from commit cfa2fc51ab54124