python-tripleoclient/releasenotes/notes/tripleo-prepare-d57bbccb2a44e8b2.yaml
Emilien Macchi 6f0136dbb8 Implement TripleoImagePrepare command
Running:

  $ openstack tripleo container image prepare default \
      --output-env-file prepare-default.yaml \
      --local-push-destination
  $ openstack tripleo container image prepare -e prepare-default.yaml

Will read a Heat template with ContainerImagePrepare, prepare containers
and upload to a registry if needed.

The idea is to replace the other commands used by the overcloud for any
use case: undercloud, overcloud or any cloud.

One of the goals here is to execute this process before starting the
containers while deploying OpenStack on any cloud.

Change-Id: Ie4b7951147f5a1aec654982e21296a749fdd865c
Blueprint: container-prepare-workflow
2018-05-21 16:38:19 +12:00

15 lines
719 B
YAML

---
features:
- |
The new command `openstack tripleo container image prepare` will do the
same container image preperation which happens during undercloud and
overcloud deploy, but in a standalone command. The prepare operations are
driven by a heat environment file containing the parameter
`ContainerImagePrepare`. This parameter allows multiple upload and
modification operations to be specified, and the result will be a list of
image parameters to use during a tripleo deployment.
The command `openstack tripleo container image prepare default` will
generate a `ContainerImagePrepare` with the recommended defaults to use for
`openstack tripleo container image prepare`.