atomicapp icon indicating copy to clipboard operation
atomicapp copied to clipboard

setup Continous Integration Test for Atomic App and it's Uber-Example

Open goern opened this issue 10 years ago • 3 comments

Set up an end to end integration test:

  1. spin up a new ADB VM
  2. atomic install wordpress
  3. put an answers.conf in place
  4. atomic run wordpress
  5. use curl to check if wordpress install wizard is available

If tests fail, send notification to #nulecule on freenode.

goern avatar Oct 15 '15 11:10 goern

  1. spin up a new ADB VM

Would this be the vagrant box? The automation I'm familiar with typically runs on openstack. An AWS/GCE provider might be the best env to test vagrant boxes.

aweiteka avatar Oct 15 '15 12:10 aweiteka

ja, thats vagrant init atomicapp/dev && vagrant up

goern avatar Oct 15 '15 12:10 goern

CentOS CI runs on bare metal, so vagrant should be ok...basically what @goern described is

mkdir wp-vagrant-test && cd wp-vagrant-test
vagrant init atomicapp/dev && vagrant up && vagrant ssh
ip=$(atomic run projectatomic/wordpress-centos7-atomicapp &&\
kubectl get endpoints frontend | tail -1 | awk '{print $2}')
curl $ip | grep something-to-check-it-worked

vpavlin avatar Oct 15 '15 13:10 vpavlin