document-app-environment-support

Bug #1582369 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
New
Undecided
Unassigned

Bug Description

Application 'environments' (dev/test/staging/production) are supported in Solum by registering and deploying separate app for each environment. For instance, lets say app developer is working on a Python app and want to create a 'dev' environment for local design and development of the app, and a 'test' environment for running functional/integration tests. To do this, app developer can do the following:

1) Create and deploy python app in dev environment:
solum app create python-app-dev-env --app-file python_app.yaml
solum app deploy python-app-dev-env

2)Create and deploy python app in test environment:
solum app create python-app-test-env --app-file python_app.yaml
solum app deploy python-app-test-env

In each of these cases the app will be built from the source code. If instead, when deploying the app to the test environment, you don't want to again build the app, but use the app artifact that was previously built then the DU id can be passed in to the app deploy command:

solum app deploy python-app-test-env --du-id <prebuilt-DU-id>

Above should be documented in the 'Quick Start Guide':
http://docs.openstack.org/developer/solum/getting_started/index.html

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.