atomicapp
atomicapp copied to clipboard
setup Continous Integration Test for Atomic App and it's Uber-Example
Set up an end to end integration test:
- spin up a new ADB VM
- atomic install wordpress
- put an answers.conf in place
- atomic run wordpress
- use curl to check if wordpress install wizard is available
If tests fail, send notification to #nulecule on freenode.
- 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.
ja, thats vagrant init atomicapp/dev && vagrant up
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