Skip to content

Commit de79a33

Browse files
ComradeProgrammermedyagh
authored andcommitted
fix: fix missing kicbase in release
1 parent d80f708 commit de79a33

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

hack/jenkins/release_build_and_upload.sh

+14-9
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,7 @@ cp "out/minikube-${RPM_VERSION}-0.armv7hl.rpm" out/minikube-latest.armv7hl.rpm
110110
cp "out/minikube-${RPM_VERSION}-0.ppc64le.rpm" out/minikube-latest.ppc64le.rpm
111111
cp "out/minikube-${RPM_VERSION}-0.s390x.rpm" out/minikube-latest.s390x.rpm
112112

113-
gsutil -m cp out/* "gs://$BUCKET/releases/$TAGNAME/"
114113

115-
# Update "latest" release for non-beta/non-alpha builds
116-
if ! [[ ${VERSION_BUILD} =~ ^[0-9]+$ ]]; then
117-
echo "NOTE: ${VERSION} appears to be a non-standard release, not updating /releases/latest"
118-
exit 0
119-
fi
120-
121-
#echo "Updating Docker images ..."
122-
#make push-gvisor-addon-image push-storage-provisioner-manifest
123114

124115
echo "Generating tarballs for kicbase images"
125116
# first get the correct tag of the kic base image
@@ -136,5 +127,19 @@ do
136127
docker rmi -f ${IMAGE_NAME}
137128
done
138129

130+
131+
# upload to google bucket
132+
gsutil -m cp out/* "gs://$BUCKET/releases/$TAGNAME/"
133+
134+
# Update "latest" release for non-beta/non-alpha builds
135+
if ! [[ ${VERSION_BUILD} =~ ^[0-9]+$ ]]; then
136+
echo "NOTE: ${VERSION} appears to be a non-standard release, not updating /releases/latest"
137+
exit 0
138+
fi
139+
140+
#echo "Updating Docker images ..."
141+
#make push-gvisor-addon-image push-storage-provisioner-manifest
142+
143+
139144
echo "Updating latest bucket for ${VERSION} release ..."
140145
gsutil cp -r "gs://${BUCKET}/releases/${TAGNAME}/*" "gs://${BUCKET}/releases/latest/"

hack/jenkins/release_github_page.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ for path in $(gsutil ls "gs://${ISO_BUCKET}/minikube-v${VERSION}*" || true); do
9292
done
9393

9494
# Upload all end-user assets other than preload files, as they are release independent
95-
for file in $( find out \( -name "minikube[_-]*" -or -name "docker-machine-*" \) ); do
95+
for file in $( find out \( -name "minikube[_-]*" -or -name "docker-machine-*" -or -name "kic*" \) ); do
9696
n=0
9797
until [ $n -ge 5 ]
9898
do

0 commit comments

Comments
 (0)