From 3cb90f3e2dba2f558b40d23d65bdb2ce2cd25e8e Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:33:18 -0700 Subject: [PATCH 1/4] remove windows binaries from release Signed-off-by: Brooks Newberry --- scripts/package-windows-binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package-windows-binary b/scripts/package-windows-binary index a03ed75f83..75132a2fd1 100755 --- a/scripts/package-windows-binary +++ b/scripts/package-windows-binary @@ -9,6 +9,6 @@ if [ "${GOARCH}" == "s390x" ] || [ "${GOARCH}" == "arm64" ]; then exit 0 fi -mkdir -p dist/artifacts +mkdir -p dist/win_artifacts -install -s bin/${PROG}.exe dist/artifacts/${PROG}-windows-amd64.exe +install -s bin/${PROG}.exe dist/win_artifacts/${PROG}-windows-amd64.exe From 41365fc0cd85ac0767f43b2f7f599cbdaf58972d Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:34:34 -0700 Subject: [PATCH 2/4] update Go Signed-off-by: Brooks Newberry --- .drone.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3ca477cd67..c706b28fdf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -136,7 +136,7 @@ steps: - refs/tags/* - name: publish-image-runtime - image: rancher/hardened-build-base:v1.20.8b2 + image: rancher/hardened-build-base:v1.20.10b1 commands: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - DRONE_TAG=${DRONE_TAG} make publish-image-runtime @@ -312,7 +312,7 @@ steps: - refs/tags/* - name: publish-image-runtime - image: rancher/hardened-build-base:v1.20.8b2 + image: rancher/hardened-build-base:v1.20.10b1 commands: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - DRONE_TAG=${DRONE_TAG} make publish-image-runtime @@ -421,7 +421,7 @@ steps: - drone-publish.rancher.io - name: publish-image-runtime - image: rancher/hardened-build-base:v1.20.8b2 + image: rancher/hardened-build-base:v1.20.10b1 commands: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD - DRONE_TAG=${DRONE_TAG} make publish-image-runtime diff --git a/Dockerfile b/Dockerfile index feb8161a4a..e9a7936fcb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG KUBERNETES_VERSION=dev # Build environment -FROM rancher/hardened-build-base:v1.20.8b2 AS build +FROM rancher/hardened-build-base:v1.20.10b1 AS build ARG DAPPER_HOST_ARCH ENV ARCH $DAPPER_HOST_ARCH RUN set -x && \ From 3f8e9ebbe2eb9b83b9c8e0f93107b5be47c9204a Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:35:50 -0700 Subject: [PATCH 3/4] update Kubernetes Signed-off-by: Brooks Newberry --- Dockerfile | 2 +- scripts/version.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9a7936fcb..cc967f17e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -126,7 +126,7 @@ RUN rm -vf /charts/*.sh /charts/*.md # This image includes any host level programs that we might need. All binaries # must be placed in bin/ of the file image and subdirectories of bin/ will be flattened during installation. # This means bin/foo/bar will become bin/bar when rke2 installs this to the host -FROM rancher/hardened-kubernetes:v1.28.2-rke2r1-build20230913 AS kubernetes +FROM rancher/hardened-kubernetes:v1.28.3-rke2r1-build20231018 AS kubernetes FROM rancher/hardened-containerd:v1.7.7-k3s1-build20231010 AS containerd FROM rancher/hardened-crictl:v1.26.1-build20231010 AS crictl FROM rancher/hardened-runc:v1.1.8-build20231009 AS runc diff --git a/scripts/version.sh b/scripts/version.sh index b680c30275..a0e2f2bdc2 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -31,8 +31,8 @@ REVISION=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; PLATFORM=${GOOS}-${GOARCH} RELEASE=${PROG}.${PLATFORM} # hardcode versions unless set specifically -KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.28.2} -KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.28.2-rke2r1-build20230913} +KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.28.3} +KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.28.3-rke2r1-build20231018} ETCD_VERSION=${ETCD_VERSION:-v3.5.9-k3s1} PAUSE_VERSION=${PAUSE_VERSION:-3.6} CCM_VERSION=${CCM_VERSION:-v1.28.2-build20231016} From e325ff2e0f5f5dc18b90939ceffd68d2c4c0fbaa Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Thu, 19 Oct 2023 07:26:19 -0700 Subject: [PATCH 4/4] Revert "remove windows binaries from release" This reverts commit 3cb90f3e2dba2f558b40d23d65bdb2ce2cd25e8e. --- scripts/package-windows-binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/package-windows-binary b/scripts/package-windows-binary index 75132a2fd1..a03ed75f83 100755 --- a/scripts/package-windows-binary +++ b/scripts/package-windows-binary @@ -9,6 +9,6 @@ if [ "${GOARCH}" == "s390x" ] || [ "${GOARCH}" == "arm64" ]; then exit 0 fi -mkdir -p dist/win_artifacts +mkdir -p dist/artifacts -install -s bin/${PROG}.exe dist/win_artifacts/${PROG}-windows-amd64.exe +install -s bin/${PROG}.exe dist/artifacts/${PROG}-windows-amd64.exe