
The commit adds integration test that includes baremetal operator - test is driven by airshipctl phases - Deploys BMO from airshipctl repository as a phase - Verifies that after VINO-CR is deployed BMHs are created - Verifies that BMO can install an image into those BMHs using pxe - Various fixes that allow to integrate with BMO - Disables password authentication for BMHs untill we have a fix - BMO fails to authenticate against simple auth provided by nginx - Removes unit-tests for BMO creation. The whole approach of requesting VMs from vino-builder should be changed. When we have final view of the process, we will well define vino-builder API and add unit-tests to vino controller and builder Change-Id: I51976ca20811b227ecb069c4ffd81d8afe086e57
25 lines
683 B
YAML
25 lines
683 B
YAML
- hosts: primary
|
|
tasks:
|
|
- name: Run ensure-docker
|
|
include_role:
|
|
name: ensure-docker
|
|
- name: Install Dependent Packages
|
|
apt:
|
|
pkg:
|
|
- debconf
|
|
- make
|
|
- wget
|
|
- snapd
|
|
become: yes
|
|
- name: Set up requirements for kubernetes
|
|
include_role:
|
|
name: clear-firewall
|
|
- name: Install kubernetes, deploy vino, run bash integration tests
|
|
shell: |
|
|
set -xe;
|
|
./tools/deployment/configure-bridges.sh
|
|
./tools/deployment/install-k8s.sh
|
|
./tools/deployment/deploy-vino.sh
|
|
./tools/deployment/test-cr.sh
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}" |