summaryrefslogtreecommitdiffstats
path: root/.redhat-ci.inventory
diff options
context:
space:
mode:
authorJonathan Lebon <jlebon@redhat.com>2017-04-10 09:17:30 -0400
committerJonathan Lebon <jlebon@redhat.com>2017-04-12 12:58:21 -0400
commitdec2cc081854c2395c7651ab353b355426739877 (patch)
treeaeb7db9e05ce339caf045add7de2d3febca2af30 /.redhat-ci.inventory
parent86a6eacce8ba754853e0f7fa12059c33e3562962 (diff)
downloadopenshift-dec2cc081854c2395c7651ab353b355426739877.tar.gz
openshift-dec2cc081854c2395c7651ab353b355426739877.tar.bz2
openshift-dec2cc081854c2395c7651ab353b355426739877.tar.xz
openshift-dec2cc081854c2395c7651ab353b355426739877.zip
repo: start testing PRs on Fedora Atomic Host
This patch adds a YAML file to hook up the repo to redhat-ci: https://github.com/jlebon/redhat-ci It is much like Travis CI: a YAML file describes the testing environment as well as the tests themselves. However, it is more powerful than Travis CI in terms of what it can provision. (For example, in this patch, we're running two testsuites, each of them provisioning three nodes and one container). For more details on supported fields, see: https://github.com/jlebon/redhat-ci/blob/master/sample.redhat-ci.yml The tests we add here simply check that the installer runs successfully on Fedora Atomic Host and that the resulting cluster passes some basic conformance tests. We target both v1.5.0-rc.0 and v3.6.0-alpha.0.
Diffstat (limited to '.redhat-ci.inventory')
-rw-r--r--.redhat-ci.inventory22
1 files changed, 22 insertions, 0 deletions
diff --git a/.redhat-ci.inventory b/.redhat-ci.inventory
new file mode 100644
index 000000000..3c8296055
--- /dev/null
+++ b/.redhat-ci.inventory
@@ -0,0 +1,22 @@
+[OSEv3:children]
+masters
+nodes
+etcd
+
+[OSEv3:vars]
+ansible_ssh_user=root
+ansible_python_interpreter=/usr/bin/python3
+deployment_type=origin
+openshift_image_tag="{{ lookup('env', 'OPENSHIFT_IMAGE_TAG') }}"
+openshift_master_default_subdomain="{{ lookup('env', 'RHCI_ocp_node1_IP') }}.xip.io"
+
+[masters]
+ocp-master
+
+[etcd]
+ocp-master
+
+[nodes]
+ocp-master openshift_schedulable=false
+ocp-node1 openshift_node_labels="{'region':'infra'}"
+ocp-node2 openshift_node_labels="{'region':'infra'}"