From 32cb0830d86962e68e011233452977d3393375c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:37:21 +0000 Subject: [PATCH 1/9] Bump actions/download-artifact from 3 to 4 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: piggy2303 --- .github/workflows/call-release-helm.yaml | 2 +- .github/workflows/call-release-notes.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/call-release-helm.yaml b/.github/workflows/call-release-helm.yaml index fabab6a7b..046f8722b 100644 --- a/.github/workflows/call-release-helm.yaml +++ b/.github/workflows/call-release-helm.yaml @@ -116,7 +116,7 @@ jobs: persist-credentials: "true" - name: Download Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: chart_package_artifact path: charts/ diff --git a/.github/workflows/call-release-notes.yaml b/.github/workflows/call-release-notes.yaml index 97d665a5f..7910a7f8b 100644 --- a/.github/workflows/call-release-notes.yaml +++ b/.github/workflows/call-release-notes.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: chart_package_artifact path: charts/ From cab86e9bc73a2cec2178d2df3267b2e1d6d3afb6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:37:18 +0000 Subject: [PATCH 2/9] Bump docker/build-push-action from 6.8.0 to 6.9.0 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.8.0 to 6.9.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v6.8.0...v6.9.0) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: piggy2303 --- .github/workflows/call-release-image.yaml | 2 +- .github/workflows/ci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/call-release-image.yaml b/.github/workflows/call-release-image.yaml index 27ab612c3..d9ee43c2d 100644 --- a/.github/workflows/call-release-image.yaml +++ b/.github/workflows/call-release-image.yaml @@ -99,7 +99,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }} - name: Build & Pushing hami image - uses: docker/build-push-action@v6.8.0 + uses: docker/build-push-action@v6.9.0 with: context: . file: ${{ env.IMAGE_ROOT_PATH }}/Dockerfile diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 878cb297a..25b0845e1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -120,7 +120,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_REPO }} - name: Build & Pushing hami image - uses: docker/build-push-action@v6.8.0 + uses: docker/build-push-action@v6.9.0 with: context: . file: ${{ env.IMAGE_ROOT_PATH }}/Dockerfile From 456fe4c1748ec6606b8542ee4af8685fa35309e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:37:24 +0000 Subject: [PATCH 3/9] Bump actions/upload-artifact from 3.1.3 to 4.4.0 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.4.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3.1.3...v4.4.0) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: piggy2303 --- .github/workflows/call-release-helm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/call-release-helm.yaml b/.github/workflows/call-release-helm.yaml index 046f8722b..6c2ddd9be 100644 --- a/.github/workflows/call-release-helm.yaml +++ b/.github/workflows/call-release-helm.yaml @@ -88,7 +88,7 @@ jobs: mkdir -p tmp mv charts/*.tgz tmp - name: Upload Artifact - uses: actions/upload-artifact@v3.1.3 + uses: actions/upload-artifact@v4.4.0 with: name: chart_package_artifact path: tmp/* From db78048a838c314c685dfc7e24eb8b65672f16b7 Mon Sep 17 00:00:00 2001 From: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:01:37 +0700 Subject: [PATCH 4/9] Update Dockerfile to using cache layer Signed-off-by: jimmy Signed-off-by: piggy2303 --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0d5fb6f66..9e37aec46 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,16 +4,19 @@ ARG NVIDIA_IMAGE=nvidia/cuda:12.2.0-devel-ubuntu20.04 FROM $GOLANG_IMAGE AS build FROM $GOLANG_IMAGE AS gobuild ARG GOPROXY +ADD go.mod /k8s-vgpu +ADD go.sum /k8s-vgpu +RUN go mod download ADD . /k8s-vgpu #RUN --mount=type=cache,target=/go/pkg/mod \ # cd /k8s-vgpu && make all RUN cd /k8s-vgpu && make all FROM $NVIDIA_IMAGE AS nvbuild -COPY ./libvgpu /libvgpu -WORKDIR /libvgpu ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -y update; apt-get -y install cmake +COPY ./libvgpu /libvgpu +WORKDIR /libvgpu RUN bash ./build.sh FROM nvidia/cuda:12.4.1-base-ubuntu22.04 From dd3b2c2ac8cdeda4503b62032657a294101370f3 Mon Sep 17 00:00:00 2001 From: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:39:54 +0700 Subject: [PATCH 5/9] Update Dockerfile Signed-off-by: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Update Dockerfile Signed-off-by: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9e37aec46..93f1f78a7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,6 +4,7 @@ ARG NVIDIA_IMAGE=nvidia/cuda:12.2.0-devel-ubuntu20.04 FROM $GOLANG_IMAGE AS build FROM $GOLANG_IMAGE AS gobuild ARG GOPROXY +WORKDIR /k8s-vgpu ADD go.mod /k8s-vgpu ADD go.sum /k8s-vgpu RUN go mod download From 36ef4c4f8696335cf5502dff8be858f73094cb21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 04:26:13 +0000 Subject: [PATCH 6/9] Bump ubuntu from 20.04 to 24.04 in /docker Bumps ubuntu from 20.04 to 24.04. --- updated-dependencies: - dependency-name: ubuntu dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docker/Dockerfile.withlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile.withlib b/docker/Dockerfile.withlib index 77d5450f0..a90c5d820 100644 --- a/docker/Dockerfile.withlib +++ b/docker/Dockerfile.withlib @@ -7,7 +7,7 @@ ADD . /k8s-vgpu ARG GOPROXY=https://goproxy.cn,direct RUN cd /k8s-vgpu && make all -FROM ubuntu:20.04 +FROM ubuntu:24.04 ENV NVIDIA_DISABLE_REQUIRE="true" ENV NVIDIA_VISIBLE_DEVICES=all ENV NVIDIA_DRIVER_CAPABILITIES=utility From 6644fbdf1d5b5736a63421ed62c08f66c2f720a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:37:24 +0000 Subject: [PATCH 7/9] Bump actions/upload-artifact from 3.1.3 to 4.4.0 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.4.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3.1.3...v4.4.0) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: piggy2303 --- .github/workflows/call-release-helm.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/call-release-helm.yaml b/.github/workflows/call-release-helm.yaml index 3096f0e8d..3024bb690 100644 --- a/.github/workflows/call-release-helm.yaml +++ b/.github/workflows/call-release-helm.yaml @@ -24,7 +24,7 @@ on: workflow_dispatch: inputs: ref: - description: 'tag, sha, branch' + description: "tag, sha, branch" required: true default: v1.0.0 From ade88a60467e46e15c1de0aa87ed826774072233 Mon Sep 17 00:00:00 2001 From: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Date: Tue, 8 Oct 2024 11:01:37 +0700 Subject: [PATCH 8/9] Update Dockerfile to using cache layer Signed-off-by: jimmy Signed-off-by: piggy2303 --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0d5fb6f66..9e37aec46 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,16 +4,19 @@ ARG NVIDIA_IMAGE=nvidia/cuda:12.2.0-devel-ubuntu20.04 FROM $GOLANG_IMAGE AS build FROM $GOLANG_IMAGE AS gobuild ARG GOPROXY +ADD go.mod /k8s-vgpu +ADD go.sum /k8s-vgpu +RUN go mod download ADD . /k8s-vgpu #RUN --mount=type=cache,target=/go/pkg/mod \ # cd /k8s-vgpu && make all RUN cd /k8s-vgpu && make all FROM $NVIDIA_IMAGE AS nvbuild -COPY ./libvgpu /libvgpu -WORKDIR /libvgpu ENV DEBIAN_FRONTEND=noninteractive RUN apt-get -y update; apt-get -y install cmake +COPY ./libvgpu /libvgpu +WORKDIR /libvgpu RUN bash ./build.sh FROM nvidia/cuda:12.4.1-base-ubuntu22.04 From 44396b7fd22193ba264f856eaf500bc4ab2a2c0a Mon Sep 17 00:00:00 2001 From: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:39:54 +0700 Subject: [PATCH 9/9] Update Dockerfile Signed-off-by: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> Update Dockerfile Signed-off-by: TuanAnh Nguyen <33578509+piggy2303@users.noreply.github.com> --- docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9e37aec46..93f1f78a7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,6 +4,7 @@ ARG NVIDIA_IMAGE=nvidia/cuda:12.2.0-devel-ubuntu20.04 FROM $GOLANG_IMAGE AS build FROM $GOLANG_IMAGE AS gobuild ARG GOPROXY +WORKDIR /k8s-vgpu ADD go.mod /k8s-vgpu ADD go.sum /k8s-vgpu RUN go mod download