![Kostiantyn Kalynovskyi](/assets/img/avatar_default.png)
This commit introduces a script to instal k8s with minukube, with basic test environment for VINO. And runs basic test that makes sure that if daemonset is succefully deployed vino CR is marked as ready. Ensure docker role is left intentionally because it also adds current user to docker group which allows other scripts to invoke docker commands without sudo. It will be removed in next patchsets. Change-Id: Iff7c956aa88ffbcf0d85956da4057fce526b67fc
24 lines
616 B
YAML
24 lines
616 B
YAML
- hosts: ubuntu-bionic
|
|
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 and Deploy Vino
|
|
shell: |
|
|
set -xe;
|
|
./tools/deployment/install-k8s.sh
|
|
./tools/deployment/deploy-vino.sh
|
|
./tools/deployment/test-cr.sh
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}" |