Files
dockerfiles/ciao-deploy
Simental Magana, Marcos 790017c242 ciao-deploy: don't install roles from ansible galaxy
This is a cleanup commit; since the documentation ask the user
to map the github.com/01org/ciao repository directly into the
ciao-deploy container, it's not neccessary to install the roles
from ansible-galaxy anymore due to those roles being used by
ansible directly from the ciao repo.

The `openstack-common` bundle is removed from the
`swupd bundle-add` command because the `openstack-python-clients`
bundle already includes it implicit.

This commit fixes #14

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-11-15 11:29:24 -06:00
..

Ciao Deploy

This provides a ciao deployment container.

Build

docker build -t clearlinux/ciao-deploy .

Or just pull it from Dockerhub

docker pull clearlinux/ciao-deploy

Clone the ciao example deployment

git clone https://github.com/01org/ciao.git

Setup your cluster configuration

You may need to edit ciao/_DeploymentAndDistroPackaging/ansible/group_vars/all and ciao/_DeploymentAndDistroPackaging/ansible/hosts to suit your cluster setup needs.

For more detailed instructions you may want to check Deploying ciao via automation documentation.

Run the Ciao-deploy Container

docker run --privileged -v /dev/:/dev/ \
    -v $(pwd)/ciao:/root/ciao \
    -it clearlinux/ciao-deploy

If you have setup your ssh key for the ansible setup, you may want to use it in your ciao-deploy container:

docker run --privileged -v /dev/:/dev/ \
    -v $(pwd)/ciao:/root/ciao \
    -v /path/to/your/.ssh/key:/root/.ssh/key \
    -it clearlinux/ciao-deploy

Note:

The cotainer needs privileged -v /dev/:/dev/ in order to install your certificates in the CNCI image. To learn more about the Docker options used, please refer to the Docker* documentation.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#/arg