Genconfig Container entrypoint update, and initial Readme.

This commit is contained in:
Pete Birley 2017-04-07 09:42:35 -05:00 committed by wilkers-steve
parent edc5b93d66
commit b82378911e
2 changed files with 20 additions and 0 deletions

View File

@ -1,2 +1,20 @@
# gen-oslo-openstack-helm
Oslo Config Generator Hack to Generate Helm Configs
## Usage
From this directory run the following commands, adjusting for the OpenStack
project and/or branch desired as necessary.
``` bash
docker build . -t gen-oslo-openstack-helm
docker run -it --rm \
-e PROJECT="heat" \
-e PROJECT_BRANCH="stable/newton" \
-e PROJECT_REPO=https://git.openstack.org/openstack/heat.git \
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.

View File

@ -19,3 +19,5 @@ source ${TOX_VENV_DIR}/bin/activate
python /opt/gen-oslo-openstack-helm/generate.py ${GENCONFIG_FLAGS} \
--helm_chart ${PROJECT} \
--helm_namespace ${PROJECT}
bash