Skip to content

Commit dd5577e

Browse files
committed
Run system tests on 3 Kubernetes versions
Fixes #351
1 parent 9b821d3 commit dd5577e

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

.github/workflows/pr.yml

+33-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
working-directory: charts/rabbitmq
2222
run: ./test.sh
2323

24-
system_tests:
24+
system_test_latest:
2525
name: system tests
2626
runs-on: ubuntu-latest
2727
steps:
@@ -36,3 +36,35 @@ jobs:
3636
kind create cluster
3737
DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind
3838
make system-tests
39+
40+
system_tests_1_18:
41+
name: system tests
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Check out code into the Go module directory
45+
uses: actions/checkout@v2
46+
- name: System tests
47+
run: |
48+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
49+
export GOPATH=$HOME/go
50+
export PATH=$PATH:$GOPATH/bin
51+
make install-tools
52+
kind create cluster --image kindest/node:v1.18.8@sha256:f4bcc97a0ad6e7abaf3f643d890add7efe6ee4ab90baeb374b4f41a4c95567eb
53+
DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind
54+
make system-tests
55+
56+
system_tests_1_17:
57+
name: system tests
58+
runs-on: ubuntu-latest
59+
steps:
60+
- name: Check out code into the Go module directory
61+
uses: actions/checkout@v2
62+
- name: System tests
63+
run: |
64+
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
65+
export GOPATH=$HOME/go
66+
export PATH=$PATH:$GOPATH/bin
67+
make install-tools
68+
kind create cluster --image kindest/node:v1.17.11@sha256:5240a7a2c34bf241afb54ac05669f8a46661912eab05705d660971eeb12f6555
69+
DOCKER_REGISTRY_SERVER=local-server OPERATOR_IMAGE=local-operator make deploy-kind
70+
make system-tests

0 commit comments

Comments
 (0)