-
Notifications
You must be signed in to change notification settings - Fork 2
80 lines (71 loc) · 1.76 KB
/
molecule.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
name: molecule
on:
pull_request:
schedule:
- cron: "0 5 * * 5"
defaults:
run:
working-directory: 'nephelaiio.k8s'
jobs:
molecule:
name: molecule
runs-on: ubuntu-latest
strategy:
matrix:
scenario:
- default
- argocd
- longhorn
- mysql
- zalando
- strimzi
include:
- release: v0.25.0
image: v1.31.2
- release: v0.22.0
image: v1.29.2
- release: v0.22.0
image: v1.28.7
- release: v0.22.0
image: v1.27.11
- release: 0.22.0
image: v1.26.14
- release: 0.22.0
image: v1.25.16
- release: 0.22.0
image: v1.24.17
- release: 0.22.0
image: v1.23.17
steps:
- name: Check out the codebase
uses: actions/checkout@v4
with:
path: 'nephelaiio.k8s'
- name: Set up Python 3
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install helm
uses: azure/setup-helm@v4
with:
version: 'latest'
token: ${{ secrets.GITHUB_TOKEN }}
id: helm
- name: Install Kind
uses: engineerd/[email protected]
with:
version: "v0.25.0"
skipClusterCreation: true
- name: Install Make
run: sudo apt-get install -y make
- name: Install dependencies
run: make install
- name: run molecule tests.
run: make test
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
HELM_BIN: ${{ steps.helm.outputs.helm-path }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MOLECULE_SCENARIO: ${{ matrix.scenario }}