Skip to content

Commit

Permalink
Genconfig Container entrypoint update, and initial Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
intlabs authored and wilkers-steve committed Apr 7, 2017
1 parent edc5b93 commit b823789
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tools/gen-oslo-openstack-helm/README.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions tools/gen-oslo-openstack-helm/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b823789

Please sign in to comment.