Open ivomarino opened 7 years ago
For proxmox we can also consider using proxmoxer but we would need to write some Python code in that case.
this allows self-provisioning agains mrrobot
using local connection:
root@ubuntu:/tmp/appflow# ansible-playbook -e conf_env=development --skip-tags hosts --limit local -i examples/appflow-mrrobot/development/inventory playbooks/generic.yml
-- works inside a Docker container.
This also works in case we want to simulate atlantis
:
echo "127.0.0.1 atlantis" > /etc/hosts
root@ubuntu-14:/tmp/appflow# ansible-playbook -e ansible_connection=local --skip-tags hosts --limit atlantis -i examples/appflow-mrrobot/development/inventory playbooks/generic.yml
In case we don't have ansible
on the Jenkins node we could trigger remote self-provisioning directly on the Docker container, LXC or VM.
We want to be able to test latest AppFlow code based on Continuous Integration via Jenkins. The basic idea is to run Jenkins inside a Docker container or a FreeBSD Jail and trigger the build/test process on each
git commit
tomaster
or a specifictesting
branch viapipeline
.The stages of the pipeline process (thanks to @sneaker for suggestions on this), should run in parallel and perform this specific tasks:
ssh
, against the latestmrrobot
example configs.We should trigger the LXC/VM creation via API, like
pvesh
on Proxmox andvm
on FreeNAS Corral, we also could usecurl
REST API calls.