Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump up go and minikube version #193

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading