-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (36 loc) · 1.13 KB
/
.travis.yml
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
---
sudo: required
dist: bionic
notifications:
slack:
on_failure: always
matrix:
fast_finish: true
include:
# ######################## TESTED OK STARTS #################################
- name: "chaos mesh kind w snapped kubectl helm Python 3.7 on bionic" #OK
dist: bionic
arch: amd64
addons:
snaps:
- name: kubectl
confinement: classic # or devmode
channel: latest/stable # will be passed to --channel flag
- name: helm
confinement: classic # or devmode
channel: latest/stable # will be passed to --channel flag
language: python
python: 3.7
before_install:
- pip3 install virtualenv
- virtualenv -p $(which python3) ~venvpy3
- source ~venvpy3/bin/activate
- pip install -r requirements.txt
script:
- sudo make deploy-kind
- sudo kind create cluster --name tutorial-cluster
- sudo kubectl config use-context kind-tutorial-cluster
- sudo make deploy-chaosmesh
- sudo kind delete cluster --name tutorial-cluster
after_success:
- deactivate