Update 3rdparty container build docs
We've changed the structure so we need to reflect the expectations in the documentation. Change-Id: I68dbc721d12287d426b92ad820036d3795e34d28 Related-Bug: #1897616
This commit is contained in:
parent
5021ab4e8e
commit
61f60cfc86
|
@ -34,6 +34,13 @@ is to create a layer on top of the cinder-volume image that will be named
|
|||
|
||||
mkdir ~/vendor
|
||||
|
||||
* Create a tcib directory under the vendor folder. All container build
|
||||
yaml needs to live in a tcib folder as a root directory.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mkdir ~/vendor/tcib
|
||||
|
||||
* Create the `~/vendor/containers.yaml` which contains the list
|
||||
of images that we want to build:
|
||||
|
||||
|
@ -43,8 +50,15 @@ is to create a layer on top of the cinder-volume image that will be named
|
|||
- image_source: tripleo
|
||||
imagename: localhost/tripleomaster/openstack-cinder-cooldriver:latest
|
||||
|
||||
* Create `~/vendor/cinder-cooldriver.yaml` file which contains
|
||||
the container image configuration:
|
||||
* Create `~/vendor/tcib/cinder-cooldriver` to hold our container image
|
||||
configuration.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
mkdir ~/vendor/tcib/cinder-cooldriver
|
||||
|
||||
* Create `~/vendor/tcib/cinder-cooldriver/cinder-cooldriver.yaml` file which
|
||||
contains the container image configuration:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
@ -59,6 +73,18 @@ is to create a layer on top of the cinder-volume image that will be named
|
|||
|
||||
.. _tcib: https://docs.openstack.org/tripleo-ansible/latest/roles/role-tripleo_container_image_build.html#r-o-l-e-d-e-f-a-u-l-t-s
|
||||
|
||||
|
||||
* The result file structure should look something like:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ tree vendor
|
||||
vendor
|
||||
├── containers.yaml
|
||||
└── tcib
|
||||
└── cinder-cooldriver
|
||||
└── cinder-cooldriver.yaml
|
||||
|
||||
* Build the vendor container image:
|
||||
|
||||
.. code-block:: shell
|
||||
|
|
Loading…
Reference in New Issue