Skip to content

Commit e874f78

Browse files
committed
ci(fossa): update minikube version
Signed-off-by: sinhaashish <[email protected]>
1 parent d2e1053 commit e874f78

File tree

6 files changed

+21
-27
lines changed

6 files changed

+21
-27
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ jobs:
5656
go-version: 1.14.7
5757

5858
- name: Setup Minikube-Kubernetes
59-
uses: manusa/actions-setup-minikube@v2.3.0
59+
uses: medyagh/setup-minikube@latest
6060
with:
61-
minikube version: v1.16.0
62-
kubernetes version: v1.20.1
63-
github token: ${{ secrets.GITHUB_TOKEN }}
61+
minikube-version: 1.24.0
62+
kubernetes-version: v1.22.3
6463

6564
- name: Build images locally
6665
run: make build && make container || exit 1;
@@ -69,7 +68,7 @@ jobs:
6968
run: |
7069
kubectl cluster-info
7170
echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
72-
echo "VELERO_RELEASE=v1.6.0" >> $GITHUB_ENV
71+
echo "VELERO_RELEASE=v1.13.2" >> $GITHUB_ENV
7372
echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV
7473
7574
- name: Installation

.github/workflows/pull_request.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,10 @@ jobs:
5656
go-version: 1.14.7
5757

5858
- name: Setup Minikube-Kubernetes
59-
uses: manusa/actions-setup-minikube@v2.3.0
59+
uses: medyagh/setup-minikube@latest
6060
with:
61-
minikube version: v1.16.0
62-
kubernetes version: v1.20.1
63-
github token: ${{ secrets.GITHUB_TOKEN }}
61+
minikube-version: 1.24.0
62+
kubernetes-version: v1.22.3
6463

6564
- name: Build images locally
6665
run: make build && make container || exit 1;
@@ -69,7 +68,7 @@ jobs:
6968
run: |
7069
kubectl cluster-info
7170
echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV
72-
echo "VELERO_RELEASE=v1.6.0" >> $GITHUB_ENV
71+
echo "VELERO_RELEASE=v1.13.2" >> $GITHUB_ENV
7372
echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV
7473
7574
- name: Installation

script/install-openebs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sudo systemctl status iscsid --no-pager
2525
echo "Installation complete"
2626

2727
#TODO add openebs release
28-
kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/master/k8s/openebs-operator.yaml
28+
kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/v3.10.0/k8s/openebs-operator.yaml
2929

3030
function waitForDeployment() {
3131
DEPLOY=$1

tests/app/application_yaml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
BusyboxYaml = `apiVersion: v1
2222
kind: Pod
2323
metadata:
24-
name: busybox-cstor
24+
name: busybox-zfs
2525
namespace: default
2626
spec:
2727
containers:
@@ -38,6 +38,6 @@ spec:
3838
volumes:
3939
- name: demo-vol1
4040
persistentVolumeClaim:
41-
claimName: cstor-vol1-1r-claim
41+
claimName: csi-zfspv
4242
`
4343
)

tests/openebs/storage_yaml.go

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,22 @@ spec:
3636
SCYaml = `apiVersion: storage.k8s.io/v1
3737
kind: StorageClass
3838
metadata:
39-
name: openebs-cstor-sparse-auto
40-
annotations:
41-
openebs.io/cas-type: cstor
42-
cas.openebs.io/config: |
43-
- name: StoragePoolClaim
44-
value: "sparse-claim-auto"
45-
- name: ReplicaCount
46-
value: "1"
47-
provisioner: openebs.io/provisioner-iscsi
39+
name: openebs-zfspv
40+
parameters:
41+
recordsize: "128k"
42+
compression: "off"
43+
dedup: "off"
44+
fstype: "zfs"
45+
poolname: "zfspv-pool"
46+
provisioner: zfs.csi.openebs.io
4847
`
4948
// PVCYaml for PVC CR
5049
PVCYaml = `kind: PersistentVolumeClaim
5150
apiVersion: v1
5251
metadata:
53-
name: cstor-vol1-1r-claim
52+
name: csi-zfspv
5453
spec:
55-
storageClassName: openebs-cstor-sparse-auto
54+
storageClassName: openebs-zfspv
5655
accessModes:
5756
- ReadWriteOnce
5857
resources:

tests/sanity/backup_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ var _ = BeforeSuite(func() {
6161
err = k8s.Client.CreateStorageClass(openebs.SCYaml)
6262
Expect(err).NotTo(HaveOccurred())
6363

64-
err = openebs.Client.CreateSPC(openebs.SPCYaml)
65-
Expect(err).NotTo(HaveOccurred())
66-
6764
err = openebs.Client.CreateVolume(openebs.PVCYaml, AppNs, true)
6865
Expect(err).NotTo(HaveOccurred())
6966

0 commit comments

Comments
 (0)