Skip to content

Commit f76c610

Browse files
committed
fix test-cmd kubeadm build
1 parent 9bcdc62 commit f76c610

File tree

4 files changed

+7
-29
lines changed

4 files changed

+7
-29
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,10 @@ format-all-patch:
101101
test:
102102
./hack/test.sh
103103

104-
# before v1.25
105104
.PHONY: test-cmd
106105
test-cmd:
107106
./hack/test_cmd.sh
108107

109-
# after v1.26
110-
.PHONY: test-cmd-2
111-
test-cmd-2:
112-
./hack/test_cmd_2.sh
113-
114108
.PHONY: test-integration
115109
test-integration:
116110
./hack/test_integration.sh

hack/test_cmd.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ set -o nounset
55
set -o pipefail
66

77
source "kit/helper.sh"
8+
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
89
cd "${WORKDIR}"
910

1011
# Kubeadm was added for testing in 1.19 and later
1112
for n in {1..5}; do
1213
echo "+++ Test retry ${n}"
1314
./build/shell.sh -c '
15+
16+
# before v1.25
1417
make generated_files kubeadm
18+
# after v1.26
19+
make all -C "${KUBE_ROOT}" WHAT=cmd/kubeadm
20+
1521
mkdir -p _output/local/go/bin/ && cp _output/dockerized/bin/linux/amd64/kubeadm _output/local/go/bin/
1622
./hack/install-etcd.sh
1723
PATH=$(pwd)/third_party/etcd:${PATH} make test-cmd

hack/test_cmd_2.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ releases:
6565
- nokmem.1.20
6666

6767
- name: v1.18.20-lts.2
68-
base_release: v1.18.20
68+
base_release: v1.18.20-ci
6969
must: true
7070
patches:
7171
- CVE-2020-8554.1.18

0 commit comments

Comments
 (0)