diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd9e8cf..6ad5b32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,11 +56,10 @@ jobs: go-version: 1.14.7 - name: Setup Minikube-Kubernetes - uses: manusa/actions-setup-minikube@v2.3.0 + uses: medyagh/setup-minikube@latest with: - minikube version: v1.16.0 - kubernetes version: v1.20.1 - github token: ${{ secrets.GITHUB_TOKEN }} + minikube-version: 1.24.0 + kubernetes-version: v1.22.3 - name: Build images locally run: make build && make container || exit 1; @@ -69,7 +68,7 @@ jobs: run: | kubectl cluster-info echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV - echo "VELERO_RELEASE=v1.6.0" >> $GITHUB_ENV + echo "VELERO_RELEASE=v1.13.2" >> $GITHUB_ENV echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV - name: Installation diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d1666ce..9abbf2e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -56,11 +56,10 @@ jobs: go-version: 1.14.7 - name: Setup Minikube-Kubernetes - uses: manusa/actions-setup-minikube@v2.3.0 + uses: medyagh/setup-minikube@latest with: - minikube version: v1.16.0 - kubernetes version: v1.20.1 - github token: ${{ secrets.GITHUB_TOKEN }} + minikube-version: 1.24.0 + kubernetes-version: v1.22.3 - name: Build images locally run: make build && make container || exit 1; @@ -69,7 +68,7 @@ jobs: run: | kubectl cluster-info echo "KUBECONFIG=$HOME/.kube/config" >> $GITHUB_ENV - echo "VELERO_RELEASE=v1.6.0" >> $GITHUB_ENV + echo "VELERO_RELEASE=v1.13.2" >> $GITHUB_ENV echo "OPENEBS_RELEASE=master" >> $GITHUB_ENV - name: Installation diff --git a/script/install-openebs.sh b/script/install-openebs.sh index 9c5a700..3417595 100755 --- a/script/install-openebs.sh +++ b/script/install-openebs.sh @@ -25,7 +25,7 @@ sudo systemctl status iscsid --no-pager echo "Installation complete" #TODO add openebs release -kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/master/k8s/openebs-operator.yaml +kubectl apply -f https://raw.githubusercontent.com/openebs/openebs/v3.10.0/k8s/openebs-operator.yaml function waitForDeployment() { DEPLOY=$1