Deployment of Selinon's demo into OpenShift
To do the deployment, run the following commands. Note that you have to have Travis CLI installed and you have to be logged in to Travis CI using travis login and to OpenShift cluster using oc login <URL>
.
export OCP_URL=$(oc whoami --show-server) export OCP_TOKEN=$(oc whoami --show-token) export SELINON_NAMESPACE='selinon' export TRAVIS_CI_TOKEN=$(travis token | awk '{ print $NF }') ansible-playbook ansible/provision.yaml
If you would like to deploy different storages and databases, see main Ansible configuration file and adjust deployed databases.