summaryrefslogtreecommitdiffstats
path: root/.redhat-ci.yml
blob: d9849ed6051325152f8855ed616d919b4c1e7545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---

cluster:
  hosts:
    - name: ocp-master
      distro: fedora/25/atomic
    - name: ocp-node1
      distro: fedora/25/atomic
    - name: ocp-node2
      distro: fedora/25/atomic
  container:
    image: fedora:25

packages:
  - gcc
  - python-pip
  - python-devel
  - openssl-devel
  - redhat-rpm-config

context: 'fedora/25/atomic | origin/v1.5.0-rc.0'

env:
  OPENSHIFT_IMAGE_TAG: v1.5.0-rc.0

tests:
  - pip install ansible==2.2.2.0  # F25 currently has 2.2.1, so install from pypi
  - ansible -vvv -i .redhat-ci.inventory nodes -a 'rpm-ostree status'
  - ansible-playbook -vvv -i .redhat-ci.inventory playbooks/byo/config.yml
  # run a small subset of origin conformance tests to sanity check the cluster
  # NB: we run it on the master since we may be in a different OSP network
  - ssh ocp-master docker run --rm --net=host --privileged
    -v /etc/origin/master/admin.kubeconfig:/config fedora:25 sh -c
    '"dnf install -y origin-tests &&
      KUBECONFIG=/config /usr/libexec/origin/extended.test --ginkgo.v=1
      --ginkgo.noColor --ginkgo.focus=\"Services.*NodePort|EmptyDir\""'

---

inherit: true

context: 'fedora/25/atomic | origin/v3.6.0-alpha.0'

env:
  OPENSHIFT_IMAGE_TAG: v3.6.0-alpha.0