From d71d5b19a7df480e9b779278405aa4e0a4db254d Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:51:13 -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 b6f47e62abd82c4786b790d66033db53105b7510 Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:52:29 -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 6a0e69e791..c7394a0a74 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 45a353570b1163b0be9f8f24e7585e5658e2d5f1 Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Wed, 18 Oct 2023 20:53:20 -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 c7394a0a74..00e9e901be 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.27.6-rke2r1-build20230913 AS kubernetes +FROM rancher/hardened-kubernetes:v1.27.7-rke2r1-build20231018 AS kubernetes FROM rancher/hardened-containerd:v1.7.7-k3s1-build20231010 AS containerd FROM rancher/hardened-crictl:v1.26.1-build20230606 AS crictl FROM rancher/hardened-runc:v1.1.8-build20230802 AS runc diff --git a/scripts/version.sh b/scripts/version.sh index 72ab1342ca..f1ff2760dc 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.27.6} -KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.27.6-rke2r1-build20230913} +KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.27.7} +KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.27.7-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 e36a5fcde2608bc6c27b7418571602c8ee5f8144 Mon Sep 17 00:00:00 2001 From: Brooks Newberry Date: Thu, 19 Oct 2023 07:25:54 -0700 Subject: [PATCH 4/4] Revert "remove windows binaries from release" This reverts commit d71d5b19a7df480e9b779278405aa4e0a4db254d. --- 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