File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : End to End Tests - release-26.0
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - release-26.0
7
+ pull_request :
8
+ branches :
9
+ - release-26.0
10
+
11
+ jobs :
12
+ build :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ python-version : [3.7, 3.8, 3.9]
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ with :
20
+ submodules : true
21
+ - name : Create Kind Cluster
22
+
23
+ with :
24
+ cluster_name : kubernetes-python-e2e-release-26.0-${{ matrix.python-version }}
25
+ # The kind version to be used to spin the cluster up
26
+ # this needs to be updated whenever a new Kind version is released
27
+ version : v0.17.0
28
+ # Update the config here whenever a new client snapshot is performed
29
+ # This would eventually point to cluster with the latest Kubernetes version
30
+ # as we sync with Kubernetes upstream
31
+ config : .github/workflows/kind-configs/cluster-1.26.yaml
32
+ - name : Set up Python ${{ matrix.python-version }}
33
+ uses : actions/setup-python@v4
34
+ with :
35
+ python-version : ${{ matrix.python-version }}
36
+ - name : Install dependencies
37
+ run : |
38
+ python -m pip install --upgrade pip
39
+ python -m pip install -r requirements.txt
40
+ python -m pip install -r test-requirements.txt
41
+ - name : Install package
42
+ run : python -m pip install -e .
43
+ - name : Run End to End tests
44
+ run : pytest -vvv -s kubernetes/e2e_test
Original file line number Diff line number Diff line change
1
+ kind : Cluster
2
+ apiVersion : kind.x-k8s.io/v1alpha4
3
+ nodes :
4
+ - role : control-plane
5
+ image : kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd
6
+ - role : worker
7
+ image : kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd
You can’t perform that action at this time.
0 commit comments