Fix a few CI-test nits
* The README.md doesn't metion an EPEL requirement, however it's needed for installing python-boto on RHEL. Add it to the list of requirements. * Some gramatical errors were fixed. * The ``system.yml`` install timeout (10 minutes) is cutting things aweful close, esp. since it's dependent on both networking and external services. Double it to head-off possible future headaches. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
parent
0e0c820f0c
commit
9f14e51938
2 changed files with 16 additions and 15 deletions
|
@ -1,21 +1,22 @@
|
||||||
# Fedora and RHEL Integration and End-to-End Tests
|
# Fedora and RHEL Test execution
|
||||||
|
|
||||||
This directory contains playbooks to set up for and run the integration and
|
This directory contains playbooks to set up and run, all the CRI-O CI tests
|
||||||
end-to-end tests for CRI-O on RHEL and Fedora hosts. Two entrypoints exist:
|
for both RHEL and Fedora hosts. Two entry-point playbooks exist:
|
||||||
|
|
||||||
- `main.yml`: sets up the machine and runs tests
|
- `main.yml`: sets up the machine and runs tests.
|
||||||
- `results.yml`: gathers test output to `/tmp/artifacts`
|
- `results.yml`: gathers test output to `/tmp/artifacts`.
|
||||||
|
|
||||||
When running `main.yml`, three tags are present:
|
When running the `main.yml` playbook, multiple tags are present:
|
||||||
|
|
||||||
- `setup`: run all tasks to set up the system for testing
|
- `setup`: run all tasks to set up the system for testing.
|
||||||
- `e2e`: build CRI-O from source and run Kubernetes node E2Es
|
- `e2e`: build CRI-O from source and run Kubernetes end-to-end tests.
|
||||||
- `integration`: build CRI-O from source and run the local integration suite
|
- `node-e2e`: build CRI-O from source and run Kubernetes 'node' end-to-end tests.
|
||||||
|
- `integration`: build CRI-O from source and run the local integration suite.
|
||||||
|
|
||||||
The playbooks assume the following things about your system:
|
The playbooks assume the following things about your system:
|
||||||
|
|
||||||
- on RHEL, the server and extras repos are configured and certs are present
|
- On RHEL, the repositories for EPEL, rhel-server, and extras repos are configured and functional.
|
||||||
- `ansible` is installed and the host is boot-strapped to allow `ansible` to run against it
|
- The system has been rebooted after installing/updating low-level packages, to ensure they're active.
|
||||||
- the `$GOPATH` is set and present for all shells (*e.g.* written in `/etc/environment`)
|
- Ansible is installed, and functional with access to the 'root' user.
|
||||||
- CRI-O is checked out to the correct state at `${GOPATH}/src/github.com/kubernetes-incubator/cri-o`
|
- The `$GOPATH` is set and present for all shells (*e.g.* written in `/etc/environment`).
|
||||||
- the user running the playbook has access to passwordless `sudo`
|
- The CRI-O repository is present in the desired state at `${GOPATH}/src/github.com/kubernetes-incubator/cri-o`.
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
- socat
|
- socat
|
||||||
- tar
|
- tar
|
||||||
- wget
|
- wget
|
||||||
async: 600
|
async: '{{ 20 * 60 }}'
|
||||||
poll: 10
|
poll: 10
|
||||||
|
|
||||||
- name: Add python2-boto for Fedora
|
- name: Add python2-boto for Fedora
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue