openstack-helm/tools/gen-oslo-openstack-helm
Tin Lam c8f225ef91 Fix oslo _i18n issue
While trying to regenerate the .conf files, the gen-oslo-openstack-helm
tool spits back an error because of the removal of log translations in
OpenStack [0].  This patch set replaces the removed _LW() with the default
_() so the tool does not error out unexpectedly.

[0] d5e3652d12

Change-Id: I665775ae075b6ce0d1aa74ca5732e9e6566ff174
2017-08-04 08:22:15 -05:00
..
Dockerfile Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
entrypoint.sh Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
generate.py Fix oslo _i18n issue 2017-08-04 08:22:15 -05:00
Makefile Add config generation script and container to OpenStack-Helm 2017-04-07 16:15:45 -05:00
oslo-config-generator Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
README.rst Remove trailing whitespaces in rst 2017-06-13 22:39:43 -05:00

gen-oslo-openstack-helm

Oslo Config Generator Hack to Generate Helm Configs

Usage

From the tools/gen-oslo-openstack-helm directory run the following commands, adjusting for the OpenStack project and/or branch desired as necessary.

docker build . -t gen-oslo-openstack-helm
PROJECT=heat
sudo rm -rf /tmp/${PROJECT} || true
docker run -it --rm \
  -e PROJECT="${PROJECT}" \
  -e PROJECT_BRANCH="stable/newton" \
  -e PROJECT_REPO=https://git.openstack.org/openstack/${PROJECT}.git \
  -v /tmp:/tmp:rw \
  gen-oslo-openstack-helm

This container will then drop you into a shell, at the project root with OpenStack-Helm formatted configuration files in the standard locations produced by genconfig for the project.