From 0224707eed9a36d743e9dfaf5aee89b4f368aff3 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Mon, 6 Jan 2025 02:59:31 +0800 Subject: [PATCH 01/18] Upgrade alpine to 3.21.0 --- .github/workflows/pull_request.yml | 2 -- buildscripts/provisioner-nfs/Dockerfile | 10 +++++++--- .../provisioner-nfs/provisioner-nfs.Dockerfile | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 684fba5d..ca19cffe 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -170,8 +170,6 @@ jobs: - name: Setup Docker Buildx id: buildx uses: docker/setup-buildx-action@v3 - with: - version: v0.5.1 - name: Build Image uses: docker/build-push-action@v6 diff --git a/buildscripts/provisioner-nfs/Dockerfile b/buildscripts/provisioner-nfs/Dockerfile index ce858674..879871b1 100644 --- a/buildscripts/provisioner-nfs/Dockerfile +++ b/buildscripts/provisioner-nfs/Dockerfile @@ -12,7 +12,7 @@ #See the License for the specific language governing permissions and #limitations under the License. # -FROM alpine:3.12 +FROM alpine:3.21.0 RUN apk add --no-cache \ iproute2 \ @@ -27,13 +27,17 @@ RUN apk add --no-cache \ # Download and install glibc ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc -ENV GLIBC_VERSION=2.30-r0 +ENV GLIBC_VERSION=2.35-r1 RUN set -ex && \ apk --update add libstdc++ curl ca-certificates && \ + apk add --no-cache --virtual .build-deps binutils gcompat && \ for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION}; \ do curl -sSL ${GLIBC_REPO}/releases/download/${GLIBC_VERSION}/${pkg}.apk -o /tmp/${pkg}.apk; done && \ - apk add --allow-untrusted /tmp/*.apk && \ + # Workaround for Alpine 3.19+: https://github.com/sgerrand/alpine-pkg-glibc/issues/208#issuecomment-1931353838 + apk add --allow-untrusted --force-overwrite --no-cache /tmp/glibc-${GLIBC_VERSION}.apk && \ + apk del gcompat && \ + apk add --allow-untrusted --no-cache /tmp/glibc-bin-${GLIBC_VERSION}.apk && \ rm -v /tmp/*.apk && \ /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib diff --git a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile index 8235d7d2..0d11270a 100644 --- a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile +++ b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile @@ -40,7 +40,7 @@ COPY . . RUN make provisioner-nfs -FROM alpine:3.12.0 +FROM alpine:3.21.0 ARG DBUILD_DATE ARG DBUILD_REPO_URL From 80ac2b1d451c7a8f6ad479252ee46ff3d759a8c9 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:19:43 +0000 Subject: [PATCH 02/18] Upgrade go to v1.23.4 --- .github/workflows/pull_request.yml | 28 +++++++++---------- .../provisioner-nfs.Dockerfile | 2 +- go.mod | 2 +- go.sum | 2 ++ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ca19cffe..baa3477d 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -29,6 +29,7 @@ on: env: GO_VERSION: 1.19.13 + GO_VERSION_PN: 1.23.4 PROVISIONER_NFS_IMAGE: provisioner-nfs NFS_SERVER_IMAGE: nfs-server-alpine EXPORT_PATH: /tmp @@ -64,6 +65,12 @@ jobs: # to ignore builds on release if: ${{ (github.event.ref_type != 'tag') }} runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + image: [provisioner-nfs, nfs-server-alpine] + go_version: [v1.23.4, v1.19.13] + make_step: [provisioner-nfs-image, nfs-server-image] needs: ['lint', 'unit-test'] steps: - name: Checkout @@ -72,28 +79,19 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} - - - name: Build provisioner-nfs image - run: make provisioner-nfs-image + go-version: ${{ matrix.go_version }} - - name: Build nfs-server-alpine image - run: make nfs-server-image + - name: Build image + run: make ${{ matrix.make_step }} - name: Export images run: make output-image - - name: Upload provisioner-nfs image + - name: Upload image uses: actions/upload-artifact@v4 with: - name: ${{ env.PROVISIONER_NFS_IMAGE }} - path: ${{ env.EXPORT_PATH }}/${{ env.PROVISIONER_NFS_IMAGE }}.tar - - - name: Upload nfs-server-alpine image - uses: actions/upload-artifact@v4 - with: - name: ${{ env.NFS_SERVER_IMAGE }} - path: ${{ env.EXPORT_PATH }}/${{ env.NFS_SERVER_IMAGE }}.tar + name: ${{ matrix.image }} + path: ${{ env.EXPORT_PATH }}/${{ matrix.image }}.tar sanity-test: # to ignore builds on release diff --git a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile index 0d11270a..4ffe3458 100644 --- a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile +++ b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM golang:1.19.13 as build +FROM golang:1.23.4 as build ARG TARGETOS ARG TARGETARCH diff --git a/go.mod b/go.mod index c27c04de..3b701421 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/openebs/dynamic-nfs-provisioner -go 1.19 +go 1.23.4 replace ( google.golang.org/protobuf => google.golang.org/protobuf v1.25.0 diff --git a/go.sum b/go.sum index 8cd1972c..4ea66ad6 100644 --- a/go.sum +++ b/go.sum @@ -604,6 +604,7 @@ github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+ github.com/onsi/ginkgo v1.12.0 h1:Iw5WCbBcaAAd0fpRb1c9r5YCylv4XDoCSigm1zLevwU= github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg= github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY= +github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.2/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= @@ -943,6 +944,7 @@ golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20171026204733-164713f0dfce/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= From ddeae916838c90eb789f00cd4bd0146a292bd271 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:33:43 +0000 Subject: [PATCH 03/18] Fix export image issue --- .github/workflows/pull_request.yml | 11 ++++++++--- Makefile | 8 +++++++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index baa3477d..14ac5296 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -69,8 +69,13 @@ jobs: fail-fast: false matrix: image: [provisioner-nfs, nfs-server-alpine] - go_version: [v1.23.4, v1.19.13] - make_step: [provisioner-nfs-image, nfs-server-image] + include: + - image: provisioner-nfs + go_version: v1.23.4 + make_step: provisioner-nfs-image + - image: nfs-server-alpine + go_version: v1.19.13 + make_step: nfs-server-image needs: ['lint', 'unit-test'] steps: - name: Checkout @@ -85,7 +90,7 @@ jobs: run: make ${{ matrix.make_step }} - name: Export images - run: make output-image + run: make output-${{ matrix.make_step }} - name: Upload image uses: actions/upload-artifact@v4 diff --git a/Makefile b/Makefile index 655e839c..d5a84c22 100644 --- a/Makefile +++ b/Makefile @@ -184,13 +184,19 @@ nfs-server-image: @cd nfs-server-container && docker build -t ${NFS_SERVER_IMAGE_TAG} . --no-cache #Use this to extract and load image for sharing acorss GitHub actions -.PHONY: output-image +.PHONY: output-provisioner-nfs-image output-image: @echo "--> Export ${PROVISIONER_NFS_IMAGE_TAG} image to ${EXPORT_PATH}/${PROVISIONER_NFS_IMAGE}.tar"; @docker image save --output "${EXPORT_PATH}/${PROVISIONER_NFS_IMAGE}.tar" ${PROVISIONER_NFS_IMAGE_TAG} + +.PHONY: output-nfs-server-image +output-image: @echo "--> Export ${NFS_SERVER_IMAGE_TAG} to ${EXPORT_PATH}/${NFS_SERVER_IMAGE}.tar"; @docker image save --output "${EXPORT_PATH}/${NFS_SERVER_IMAGE}.tar" ${NFS_SERVER_IMAGE_TAG} +.PHONY: output-image +output-image: output-provisioner-nfs-image output-nfs-server-image + .PHONY: load-image load-image: @echo "--> Load provisioner-nfs image"; From b813580f56be5626a432d4a18bc7fdbba8b9631d Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:40:58 +0000 Subject: [PATCH 04/18] Fix export image issue --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d5a84c22..83874564 100644 --- a/Makefile +++ b/Makefile @@ -185,12 +185,12 @@ nfs-server-image: #Use this to extract and load image for sharing acorss GitHub actions .PHONY: output-provisioner-nfs-image -output-image: +output-provisioner-nfs-image: @echo "--> Export ${PROVISIONER_NFS_IMAGE_TAG} image to ${EXPORT_PATH}/${PROVISIONER_NFS_IMAGE}.tar"; @docker image save --output "${EXPORT_PATH}/${PROVISIONER_NFS_IMAGE}.tar" ${PROVISIONER_NFS_IMAGE_TAG} .PHONY: output-nfs-server-image -output-image: +output-nfs-server-image: @echo "--> Export ${NFS_SERVER_IMAGE_TAG} to ${EXPORT_PATH}/${NFS_SERVER_IMAGE}.tar"; @docker image save --output "${EXPORT_PATH}/${NFS_SERVER_IMAGE}.tar" ${NFS_SERVER_IMAGE_TAG} From 4875ab0b045a995cc18eeb124a12aad6e1b8f97f Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:53:09 +0000 Subject: [PATCH 05/18] Fix sanity-test go version parsing error --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 3b701421..1a648e6f 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/openebs/dynamic-nfs-provisioner -go 1.23.4 +go 1.23 replace ( google.golang.org/protobuf => google.golang.org/protobuf v1.25.0 From d416e37cd175d158312b37c35befc91aa55ac5c5 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:07:14 +0000 Subject: [PATCH 06/18] Upgrade ginkgo to 2.22.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83874564..9f6630eb 100644 --- a/Makefile +++ b/Makefile @@ -220,7 +220,7 @@ license-check: .PHONY: sanity-test sanity-test: @echo "--> Running sanity test"; - @go install github.com/onsi/ginkgo/ginkgo@v1.16.4 + @go install github.com/onsi/ginkgo/ginkgo@v2.22.2 @cd tests && sudo -E env "PATH=${PATH}" ginkgo -v -failFast .PHONY: push From dbae98e3f8e0eae7bc99013c7d5d8b1030dcdd9c Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:20:13 +0000 Subject: [PATCH 07/18] Properly install ginkgo v2 --- .github/workflows/pull_request.yml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 14ac5296..3d335946 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -28,8 +28,8 @@ on: - 'v*' env: - GO_VERSION: 1.19.13 - GO_VERSION_PN: 1.23.4 + GO_VERSION_OPENEBS: 1.19.13 + GO_VERSION: 1.23.4 PROVISIONER_NFS_IMAGE: provisioner-nfs NFS_SERVER_IMAGE: nfs-server-alpine EXPORT_PATH: /tmp diff --git a/Makefile b/Makefile index 9f6630eb..5ed8785a 100644 --- a/Makefile +++ b/Makefile @@ -220,7 +220,7 @@ license-check: .PHONY: sanity-test sanity-test: @echo "--> Running sanity test"; - @go install github.com/onsi/ginkgo/ginkgo@v2.22.2 + @go install github.com/onsi/ginkgo/v2/ginkgo @cd tests && sudo -E env "PATH=${PATH}" ginkgo -v -failFast .PHONY: push From 1c21acc27230442d2e6f62bdab938a0bdde9baa7 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:43:43 +0800 Subject: [PATCH 08/18] Revert go.mod to go1.19 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1a648e6f..c27c04de 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/openebs/dynamic-nfs-provisioner -go 1.23 +go 1.19 replace ( google.golang.org/protobuf => google.golang.org/protobuf v1.25.0 From 36d8268879965901f284d4eec88913d9d7636407 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:55:43 +0800 Subject: [PATCH 09/18] Revert ginkgo to 1.16.4 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ed8785a..83874564 100644 --- a/Makefile +++ b/Makefile @@ -220,7 +220,7 @@ license-check: .PHONY: sanity-test sanity-test: @echo "--> Running sanity test"; - @go install github.com/onsi/ginkgo/v2/ginkgo + @go install github.com/onsi/ginkgo/ginkgo@v1.16.4 @cd tests && sudo -E env "PATH=${PATH}" ginkgo -v -failFast .PHONY: push From cb8fd81ebe03e5a6a14f6d24224c4843dbc4c1d6 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:08:21 +0800 Subject: [PATCH 10/18] Upgrade alpine to 3.21.1 --- buildscripts/provisioner-nfs/Dockerfile | 2 +- buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildscripts/provisioner-nfs/Dockerfile b/buildscripts/provisioner-nfs/Dockerfile index 879871b1..87f7f18b 100644 --- a/buildscripts/provisioner-nfs/Dockerfile +++ b/buildscripts/provisioner-nfs/Dockerfile @@ -12,7 +12,7 @@ #See the License for the specific language governing permissions and #limitations under the License. # -FROM alpine:3.21.0 +FROM alpine:3.21.1 RUN apk add --no-cache \ iproute2 \ diff --git a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile index 4ffe3458..8dfd00f8 100644 --- a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile +++ b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile @@ -40,7 +40,7 @@ COPY . . RUN make provisioner-nfs -FROM alpine:3.21.0 +FROM alpine:3.21.1 ARG DBUILD_DATE ARG DBUILD_REPO_URL From 77406e4f7220b9c9b2bf58221dc063926142304a Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Thu, 9 Jan 2025 09:27:55 +0800 Subject: [PATCH 11/18] Update provisioner-nfs to alpine 3.21.2 --- buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile index 8dfd00f8..54f736e1 100644 --- a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile +++ b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile @@ -40,7 +40,7 @@ COPY . . RUN make provisioner-nfs -FROM alpine:3.21.1 +FROM alpine:3.21.2 ARG DBUILD_DATE ARG DBUILD_REPO_URL From 5a760ba72cb31106367f3689637fef50d54e552a Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Fri, 10 Jan 2025 00:17:37 +0800 Subject: [PATCH 12/18] Update Dockerfile --- buildscripts/provisioner-nfs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/provisioner-nfs/Dockerfile b/buildscripts/provisioner-nfs/Dockerfile index 87f7f18b..069535f0 100644 --- a/buildscripts/provisioner-nfs/Dockerfile +++ b/buildscripts/provisioner-nfs/Dockerfile @@ -12,7 +12,7 @@ #See the License for the specific language governing permissions and #limitations under the License. # -FROM alpine:3.21.1 +FROM alpine:3.21.2 RUN apk add --no-cache \ iproute2 \ From a614c2c782ef58ece06a39bfc57ff443830cb35c Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sat, 11 Jan 2025 00:05:49 +0800 Subject: [PATCH 13/18] Update test local pv operator to 3.10.0 --- tests/install-localpv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/install-localpv.sh b/tests/install-localpv.sh index 1254775c..16d3af45 100755 --- a/tests/install-localpv.sh +++ b/tests/install-localpv.sh @@ -15,8 +15,8 @@ # limitations under the License. mkdir -p /tmp/openebs -kubectl apply -f https://openebs.github.io/charts/versioned/3.4.0/hostpath-operator.yaml -wget https://openebs.github.io/charts/versioned/3.4.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml +kubectl apply -f https://openebs.github.io/charts/versioned/3.10.0/hostpath-operator.yaml +wget https://openebs.github.io/charts/versioned/3.10.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml sed -i 's/value\: \"\/var\/openebs\/local\/\"/value\: \"\/tmp\/openebs\/\"/' /tmp/openebs-lite-sc.yaml kubectl apply -f /tmp/openebs-lite-sc.yaml From c645c6490d52cf00cc4cdefc8efe3ba81dccd619 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sat, 11 Jan 2025 00:26:31 +0800 Subject: [PATCH 14/18] Update test nfs_server_image_test image version to 0.11.0 --- tests/nfs_server_image_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nfs_server_image_test.go b/tests/nfs_server_image_test.go index b3356931..e4c52fe8 100644 --- a/tests/nfs_server_image_test.go +++ b/tests/nfs_server_image_test.go @@ -45,7 +45,7 @@ var _ = Describe("TEST NFS SERVER IMAGE CONFIGURATION", func() { nfsProvisionerLabel = "openebs.io/component-name=openebs-nfs-provisioner" nfsProvisionerContainerName = "openebs-provisioner-nfs" nfsServerImage = "jimsihk/nfs-server-alpine:ci" - prevVersionNFSServerImage = "openebs/nfs-server-alpine:0.4.0" + prevVersionNFSServerImage = "openebs/nfs-server-alpine:0.11.0" ) When("nfs server image is updated", func() { From 2d27bf8e108ce5923e8282adc60afee1273e6080 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sat, 11 Jan 2025 01:12:48 +0800 Subject: [PATCH 15/18] Downgrade test local pv operator to 3.7.0 --- tests/install-localpv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/install-localpv.sh b/tests/install-localpv.sh index 16d3af45..088e05d6 100755 --- a/tests/install-localpv.sh +++ b/tests/install-localpv.sh @@ -15,8 +15,8 @@ # limitations under the License. mkdir -p /tmp/openebs -kubectl apply -f https://openebs.github.io/charts/versioned/3.10.0/hostpath-operator.yaml -wget https://openebs.github.io/charts/versioned/3.10.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml +kubectl apply -f https://openebs.github.io/charts/versioned/3.7.0/hostpath-operator.yaml +wget https://openebs.github.io/charts/versioned/3.7.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml sed -i 's/value\: \"\/var\/openebs\/local\/\"/value\: \"\/tmp\/openebs\/\"/' /tmp/openebs-lite-sc.yaml kubectl apply -f /tmp/openebs-lite-sc.yaml From 094c158cdcac74c3a9f3143d54a0e292d250297d Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sat, 11 Jan 2025 01:26:34 +0800 Subject: [PATCH 16/18] Update test local pv operator to 3.8.0 --- tests/install-localpv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/install-localpv.sh b/tests/install-localpv.sh index 088e05d6..f63937c8 100755 --- a/tests/install-localpv.sh +++ b/tests/install-localpv.sh @@ -15,8 +15,8 @@ # limitations under the License. mkdir -p /tmp/openebs -kubectl apply -f https://openebs.github.io/charts/versioned/3.7.0/hostpath-operator.yaml -wget https://openebs.github.io/charts/versioned/3.7.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml +kubectl apply -f https://openebs.github.io/charts/versioned/3.8.0/hostpath-operator.yaml +wget https://openebs.github.io/charts/versioned/3.8.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml sed -i 's/value\: \"\/var\/openebs\/local\/\"/value\: \"\/tmp\/openebs\/\"/' /tmp/openebs-lite-sc.yaml kubectl apply -f /tmp/openebs-lite-sc.yaml From ae7baa83f1d97ec8168f92fd7532584a631d8393 Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Sat, 11 Jan 2025 01:39:42 +0800 Subject: [PATCH 17/18] Update test local pv operator to 3.9.0 --- tests/install-localpv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/install-localpv.sh b/tests/install-localpv.sh index f63937c8..b618ea81 100755 --- a/tests/install-localpv.sh +++ b/tests/install-localpv.sh @@ -15,8 +15,8 @@ # limitations under the License. mkdir -p /tmp/openebs -kubectl apply -f https://openebs.github.io/charts/versioned/3.8.0/hostpath-operator.yaml -wget https://openebs.github.io/charts/versioned/3.8.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml +kubectl apply -f https://openebs.github.io/charts/versioned/3.9.0/hostpath-operator.yaml +wget https://openebs.github.io/charts/versioned/3.9.0/openebs-lite-sc.yaml -O /tmp/openebs-lite-sc.yaml sed -i 's/value\: \"\/var\/openebs\/local\/\"/value\: \"\/tmp\/openebs\/\"/' /tmp/openebs-lite-sc.yaml kubectl apply -f /tmp/openebs-lite-sc.yaml From b87802c5bffbbf735f541de935e4afb3a1bada9b Mon Sep 17 00:00:00 2001 From: jimsihk <99048231+jimsihk@users.noreply.github.com> Date: Thu, 16 Jan 2025 23:29:13 +0800 Subject: [PATCH 18/18] Update provisioner-nfs.Dockerfile --- buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile index 54f736e1..fd4d2f97 100644 --- a/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile +++ b/buildscripts/provisioner-nfs/provisioner-nfs.Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM golang:1.23.4 as build +FROM golang:1.23.4 AS build ARG TARGETOS ARG TARGETARCH