Skip to content

Commit

Permalink
bump up go and minikube version
Browse files Browse the repository at this point in the history
Signed-off-by: sinhaashish <[email protected]>
  • Loading branch information
sinhaashish committed Sep 2, 2024
1 parent d2e1053 commit babea36
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 26 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Shellcheck
uses: reviewdog/action-shellcheck@v1
Expand All @@ -48,18 +48,18 @@ jobs:
needs: ['lint']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Go 1.14
uses: actions/setup-go@v2
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.14.7
go-version: 1.20.14

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.3.0
uses: manusa/actions-setup-minikube@v2.10.0
with:
minikube version: v1.16.0
kubernetes version: v1.20.1
minikube version: v1.31.1
kubernetes version: v1.27.3
github token: ${{ secrets.GITHUB_TOKEN }}

- name: Build images locally
Expand All @@ -85,7 +85,7 @@ jobs:
needs: ['test']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set Image Org
# sets the default IMAGE_ORG to openebs
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Shellcheck
uses: reviewdog/action-shellcheck@v1
Expand All @@ -48,18 +48,18 @@ jobs:
needs: ['lint']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Go 1.14
uses: actions/setup-go@v2
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.14.7
go-version: 1.20.14

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.3.0
uses: manusa/actions-setup-minikube@v2.10.0
with:
minikube version: v1.16.0
kubernetes version: v1.20.1
minikube version: v1.31.1
kubernetes version: v1.27.3
github token: ${{ secrets.GITHUB_TOKEN }}

- name: Build images locally
Expand All @@ -85,7 +85,7 @@ jobs:
needs: ['test']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
13 changes: 7 additions & 6 deletions script/install-openebs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ echo "Installing iscsi packages"
sudo apt-get install --yes -qq open-iscsi
sudo service iscsid start
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
OPENEBS_NAMESPACE="openebs"
helm repo add openebs https://openebs.github.io/openebs
helm repo update
helm install openebs --namespace $OPENEBS_NAMESPACE openebs/openebs --create-namespace --set engines.replicated.mayastor.enabled=false --set engines.local.lvm.enabled=false --set zfs-localpv.analytics.enabled=false

echo "Installation complete"

function waitForDeployment() {
DEPLOY=$1
Expand Down Expand Up @@ -66,8 +69,6 @@ function dumpMayaAPIServerLogs() {
printf "\n\n"
}

waitForDeployment maya-apiserver openebs
waitForDeployment openebs-provisioner openebs
waitForDeployment openebs-ndm-operator openebs
waitForDeployment openebs-zfs-localpv-controller openebs

kubectl get pods --all-namespaces
2 changes: 0 additions & 2 deletions script/install-velero.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ function waitForDeployment() {
done
}

MAPI_SVC_ADDR=`kubectl get service -n openebs maya-apiserver-service -o json | grep clusterIP | awk -F\" '{print $4}'`
export MAPI_ADDR="http://${MAPI_SVC_ADDR}:5656"
export KUBERNETES_SERVICE_HOST="127.0.0.1"
export KUBECONFIG=$HOME/.kube/config

Expand Down

0 comments on commit babea36

Please sign in to comment.