tripleo-heat-templates/ci
Zhu Sheng Li ef76e92bb3 Add non-string value support for CephAnsibleEnvironmentVariables
CephAnsibleEnvironmentVariables data is supposed to be transformed
into "KEY=VALUE" format by yaql expression.

```
ceph_ansible_environment_variables:
  yaql:
    data: {get_param: CephAnsibleEnvironmentVariables}
    expression: $.data.items().select($[0] + '=' + $[1])
```

However, the expression here uses `+` to join the key($[0]) and
value($[1]), which will cause syntax error when value is not string
type.

For example:

If we use boolean or integer for environment values such as
```
parameter_defaults:
  CephAnsibleEnvironmentVariables:
    ANSIBLE_DEBUG: true
```

the following error will occour

```
overcloud.CephStorageServiceChain:
  resource_type: OS::TripleO::CephStorageServices
  physical_resource_id: 51fd6f95-027b-4047-9132-763e1cb8150c
  status: UPDATE_FAILED
  status_reason: |
    resources.CephStorageServiceChain:
    Error in 4 output role_data:
    Error in CephBase output role_data:
    No function "#operator_+" matches supplied arguments
```

Change-Id: I8394cec6bbaca9c89c848eaddf724c072bc36cb3
Closes-Bug: #1878720
2020-08-05 20:15:35 +08:00
..
common Fix vbmc_setup.yaml for c8 standalone 2020-07-20 14:16:04 +05:30
environments Add non-string value support for CephAnsibleEnvironmentVariables 2020-08-05 20:15:35 +08:00
scripts Fixes for freeipa_setup.sh 2019-03-27 16:25:31 +00:00
README.rst Fix grammar 2016-11-29 21:49:18 -05:00

README.rst

TripleO CI environments

TripleO CI environments are exclusively used for Continuous Integration purpose or for development usage. They should not be used in production and we don't guarantee they work outside TripleO CI.

For more informations about TripleO CI, please look: https://github.com/openstack-infra/tripleo-ci