Document dev_mode for container image prepare
- Update the container image prepare document for dev mode install: https://github.com/openstack/ansible-role-tripleo-modify-image#dev-install - Update standalone manual to refer to the container image prepare page for special needs during a standalone deployment. Change-Id: I666dc2b00ebbe56d957526a2a0b1966ddfcdfcf7
This commit is contained in:
parent
e8ef4952d7
commit
11aa64e030
|
@ -389,3 +389,29 @@ original image default user::
|
|||
|
||||
.. _Delorean repository: https://trunk.rdoproject.org/centos7-master/ac/82/ac82ea9271a4ae3860528eaf8a813da7209e62a6_28eeb6c7/
|
||||
.. _tripleo-modify-image: https://github.com/openstack/ansible-role-tripleo-modify-image
|
||||
|
||||
|
||||
Modify with Python source code installed via pip from OpenDev Gerrit
|
||||
....................................................................
|
||||
|
||||
|
||||
If you would like to build an image and apply your patch in a Python project in
|
||||
OpenStack, you can use this example::
|
||||
|
||||
ContainerImagePrepare:
|
||||
- push_destination: true
|
||||
...
|
||||
includes:
|
||||
- heat-api
|
||||
modify_role: tripleo-modify-image
|
||||
modify_append_tag: "-devel"
|
||||
modify_vars:
|
||||
tasks_from: dev_install.yml
|
||||
source_image: docker.io/tripleomaster/centos-binary-heat-api:current-tripleo
|
||||
refspecs:
|
||||
-
|
||||
project: heat
|
||||
refspec: refs/changes/12/1234/3
|
||||
...
|
||||
|
||||
It will produce a modified image with Python source code installed via pip.
|
||||
|
|
|
@ -53,6 +53,10 @@ Deploying a Standalone OpenStack node
|
|||
openstack tripleo container image prepare default \
|
||||
--output-env-file $HOME/containers-prepare-parameters.yaml
|
||||
|
||||
.. note::
|
||||
Update containers-prepare-parameters.yaml for your own needs.
|
||||
See :ref:`prepare-environment-containers` for more details.
|
||||
|
||||
.. admonition:: Ceph
|
||||
:class: ceph
|
||||
|
||||
|
|
Loading…
Reference in New Issue