File tree Expand file tree Collapse file tree 5 files changed +26
-16
lines changed Expand file tree Collapse file tree 5 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 85
85
- name : Start the k8s cluster
86
86
uses : ./.github/actions/start-k8s-cluster
87
87
88
+ - name : Setup tmate session
89
+ uses : mxschmitt/action-tmate@v3
90
+
88
91
- name : Create `local-test-infra` OpenShift resources
89
92
uses : ./.github/actions/create-local-test-infra-resources
90
93
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ sudo systemctl restart docker
157
157
Download and install Kubernetes In Docker (Kind):
158
158
159
159
``` shell-script
160
- curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.18 .0/kind-linux-amd64
160
+ curl -Lo kind https://github.com/kubernetes-sigs/kind/releases/download/v0.20 .0/kind-linux-amd64
161
161
```
162
162
163
163
Configure a cluster with 4 worker nodes and one master node ( dual stack ):
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ networking:
7
7
apiServerPort : 6443
8
8
nodes :
9
9
- role : control-plane
10
- image : kindest/node:v1.26 .3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
10
+ image : kindest/node:v1.27 .3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
11
11
- role : worker
12
- image : kindest/node:v1.26 .3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
12
+ image : kindest/node:v1.27 .3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
13
13
- role : worker
14
- image : kindest/node:v1.26 .3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
14
+ image : kindest/node:v1.27 .3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
15
15
- role : worker
16
- image : kindest/node:v1.26 .3@sha256:61b92f38dff6ccc29969e7aa154d34e38b89443af1a2c14e6cfbd2df6419c66f
16
+ image : kindest/node:v1.27 .3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
Original file line number Diff line number Diff line change 2
2
# shellcheck disable=SC2207
3
3
4
4
# Download and install Kubernetes In Docker (Kind):
5
- sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.18 .0/kind-linux-amd64
5
+ sudo curl -Lo /usr/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.20 .0/kind-linux-amd64
6
6
sudo chmod +x /usr/bin/kind
7
7
8
8
# download the latest openshift client at a certain release level
Original file line number Diff line number Diff line change 13
13
14
14
echo " Installing OLM for non OCP cluster"
15
15
16
- # check if operator-sdk is installed and install it if needed
17
- if [[ -z " $( which operator-sdk 2> /dev/null) " ]]; then
18
- echo " operator-sdk executable cannot be found in the path. Will try to install it."
19
- " $SCRIPT_DIR " /install-operator-sdk.sh
20
- else
21
- echo " operator-sdk was found in the path, no need to install it"
22
- fi
16
+ # #check if operator-sdk is installed and install it if needed
17
+ # if [[ -z "$(which operator-sdk 2>/dev/null)" ]]; then
18
+ # echo "operator-sdk executable cannot be found in the path. Will try to install it."
19
+ # "$SCRIPT_DIR"/install-operator-sdk.sh
20
+ # else
21
+ # echo "operator-sdk was found in the path, no need to install it"
22
+ # fi
23
+
24
+ git clone https://github.com/operator-framework/operator-lifecycle-manager.git -b v0.25.0 || exit 1
25
+ cd operator-lifecycle-manager || exit 1
26
+ oc apply -f deploy/upstream/quickstart/crds.yaml
27
+ oc apply -f deploy/upstream/quickstart/olm.yaml
28
+ cd ..
29
+ rm -rf operator-lifecycle-manager
23
30
24
- # Install OLM
25
- operator-sdk olm uninstall
26
- operator-sdk olm install --version=v0.24.0
31
+ # # Install OLM
32
+ # operator-sdk olm uninstall
33
+ # operator-sdk olm install --version=latest
27
34
# Wait for all OLM pods to be ready
28
35
kubectl wait --for=condition=ready pod --all=true -nolm --timeout=" $TNF_DEPLOYMENT_TIMEOUT "
29
36
sleep 5
You can’t perform that action at this time.
0 commit comments