Skip to content

Commit

Permalink
feat(release): v3.5.0 changes (#212)
Browse files Browse the repository at this point in the history
* feat(ci): update ci
- use medyagh/setup-minikube instead of manusa/actions-setup-minikube
- update the version of docker/login-action to v2
- use kubernetes v1.27.3 for running BDD tests

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>

* feat(mod): update go.sum

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>

* feat(csi): update csi sidecars
- update sig-storage/csi-node-driver-registrar image to v2.8.0
- update sig-storage/csi-provisioner to v3.5.0
- update sig-storage/csi-attacher to v4.3.0
- update sig-storage/csi-resizer to v1.8.0
- update sig-storage/livenessprobe to v2.10.0
- use spec.serviceAccountName instead of spec.serviceAccount
- use registry.k8s.io instead of k8s.gcr.io

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>

* fix(charts): use registry.k8s.io instead of k8s.gcr.io

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>

---------

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
  • Loading branch information
niladrih authored Jul 26, 2023
1 parent 0b3ead6 commit 7ea5e68
Show file tree
Hide file tree
Showing 15 changed files with 4,438 additions and 369 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,14 @@ jobs:
go-version: 1.19.3

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.4.3
uses: medyagh/setup-minikube@latest
with:
minikube version: 'v1.24.0'
kubernetes version: 'v1.21.0'
github token: ${{ secrets.GITHUB_TOKEN }}
cache: false
minikube-version: 1.31.1
driver: none
kubernetes-version: v1.27.3
cni: calico
start-args: '--install-addons=false'

- name: Set tag
run: |
Expand Down Expand Up @@ -172,20 +175,20 @@ jobs:
version: v0.5.1

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -265,20 +268,20 @@ jobs:
version: v0.5.1

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -312,7 +315,7 @@ jobs:
[ -z "${{ secrets.IMAGE_ORG }}" ] && IMAGE_ORG=openebs || IMAGE_ORG=${{ secrets.IMAGE_ORG}}
echo "IMAGE_ORG=${IMAGE_ORG}" >> $GITHUB_ENV
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,14 @@ jobs:
go-version: 1.19.3

- name: Setup Minikube-Kubernetes
uses: manusa/actions-setup-minikube@v2.4.3
uses: medyagh/setup-minikube@latest
with:
minikube version: 'v1.24.0'
kubernetes version: 'v1.21.8'
github token: ${{ secrets.GITHUB_TOKEN }}
cache: false
minikube-version: 1.31.1
driver: none
kubernetes-version: v1.27.3
cni: calico
start-args: '--install-addons=false'

- name: Set tag
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,20 @@ jobs:
version: v0.5.1

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -162,20 +162,20 @@ jobs:
version: v0.5.1

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to Quay
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Login to GHCR
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ crds:
# find or download controller-gen
controller-gen:
ifneq ($(shell controller-gen --version 2> /dev/null), Version: v0.4.1)
@(cd /tmp; GO111MODULE=on go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)
@(cd /tmp; GO111MODULE=on go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1)
CONTROLLER_GEN=$(GOBIN)/controller-gen
else
CONTROLLER_GEN=$(shell which controller-gen)
Expand Down
Loading

0 comments on commit 7ea5e68

Please sign in to comment.