Skip to content

Latest commit

 

History

History
 
 

builds

Docker images to run agnosticd

We maintain several docker images to run agnosticd on the different Cloud providers.

Pull images

agnosticd-openstack
docker pull quay.io/gpte-devops-automation/agnosticd-openstack
agnosticd-aws
docker pull quay.io/gpte-devops-automation/agnosticd-aws

Build your own images

OSP provider

build agnosticd image for openstack
cd tools/builds
docker build . -f Dockerfile-openstack -t agnosticd-openstack

AWS provider

build agnosticd image for AWS
cd tools/builds
docker build . -f Dockerfile-aws -t agnosticd-aws

Run

run agnosticd, example with agnosticd-openstack
cd ansible  # when inside agnosticd repository
docker run -t \
  --mount source=$(pwd),target=/ansible,type=bind \
  --mount source=/home/fridim/secrets,target=/secrets,type=bind \
  --mount source=/tmp/output_dir,target=/tmp/output_dir,type=bind \
  -w /ansible \
  agnosticd-openstack \
  ansible-playbook main.yml \
    -e @configs/ocp4-disconnected-osp-lab/sample_vars.yml \
    -e @/secrets/osp.yml
run agnosticd, example with agnosticd-aws
cd ansible  # when inside agnosticd repository
docker run -t \
  --mount source=$(pwd),target=/ansible,type=bind \
  --mount source=/home/fridim/secrets,target=/secrets,type=bind \
  --mount source=/tmp/output_dir,target=/tmp/output_dir,type=bind \
  --mount source=~/.ssh,target=/root/.ssh,type=bind \
  -w /ansible \
  agnosticd-aws \
  ansible-playbook main.yml \
    -e @configs/ocp4-workshop/sample_vars.yml \
    -e @/secrets/gpte.yml