Skip to content

Commit 1713c09

Browse files
committed
Add e2e workflows for release-18.0
Signed-off-by: Nabarun Pal <[email protected]>
1 parent 7fd41fa commit 1713c09

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: End to End Tests - release-18.0
2+
3+
on:
4+
push:
5+
branches:
6+
- release-18.0
7+
pull_request:
8+
- release-18.0
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [3.6, 3.7, 3.8, 3.9]
16+
steps:
17+
- uses: actions/checkout@v2
18+
with:
19+
submodules: true
20+
- name: Create Kind Cluster
21+
uses: helm/[email protected]
22+
with:
23+
cluster_name: kubernetes-python-e2e-release-18.0-${{ matrix.python-version }}
24+
# The kind version to be used to spin the cluster up
25+
# this needs to be updated whenever a new Kind version is released
26+
version: v0.11.1
27+
# Update the config here whenever a new client snapshot is performed
28+
# This would eventually point to cluster with the latest Kubernetes version
29+
# as we sync with Kubernetes upstream
30+
config: .github/workflows/e2e/kind-configs/cluster-1.18.yaml
31+
- name: Set up Python ${{ matrix.python-version }}
32+
uses: actions/[email protected]
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
- name: Install dependencies
36+
run: |
37+
python -m pip install --upgrade pip
38+
python -m pip install -r requirements.txt
39+
python -m pip install -r test-requirements.txt
40+
- name: Install package
41+
run: python -m pip install -e .
42+
- name: Run End to End tests
43+
run: pytest -vvv -s kubernetes/e2e_test

0 commit comments

Comments
 (0)