File tree 3 files changed +11
-4
lines changed
3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,10 @@ build-router-e2e-test:
62
62
hack/build-go.sh test/end-to-end/end-to-end.test
63
63
.PHONY : build-router-e2e-test
64
64
65
+ build-docs :
66
+ hack/generate-docs.sh
67
+ .PHONY : build-docs
68
+
65
69
# Run core verification and all self contained tests.
66
70
#
67
71
# Example:
Original file line number Diff line number Diff line change @@ -335,6 +335,9 @@ readonly OS_ALL_IMAGES=(
335
335
# os::build::check_binaries ensures that binary sizes do not grow without approval.
336
336
function os::build::check_binaries() {
337
337
platform=$( os::build::host_platform)
338
+ if [[ " ${platform} " != " linux/amd64" && " ${platform} " != " darwin/amd64" ]]; then
339
+ return 0
340
+ fi
338
341
# enforce that certain binaries don't accidentally grow too large
339
342
# IMPORTANT: contact Clayton or another master team member before altering this code
340
343
if [[ -f " ${OS_OUTPUT_BINPATH} /${platform} /oc" ]]; then
Original file line number Diff line number Diff line change 13
13
# this is the version we obsolete up to. The packaging changed for Origin
14
14
# 1.0.6 and OSE 3.1 such that 'openshift' package names were no longer used.
15
15
%global package_refactor_version 3.0.2.900
16
- %global golang_version 1.9.1
16
+ %global golang_version 1.10
17
17
# %commit and %os_git_vars are intended to be set by tito custom builders provided
18
18
# in the .tito/lib directory. The values in this spec file will not be kept up to date.
19
19
%{! ?commit:
@@ -229,7 +229,7 @@ of docker. Exclude those versions of docker.
229
229
%if 0%{make_redistributable }
230
230
# Create Binaries for all supported arches
231
231
%{os_git_vars } OS_BUILD_RELEASE_ARCHIVES=n make build-cross
232
- %{os_git_vars } hack/ build-go.sh vendor/github.com/onsi/ginkgo/ginkgo
232
+ %{os_git_vars } OS_BUILD_RELEASE_ARCHIVES=n make build WHAT= vendor/github.com/onsi/ginkgo/ginkgo
233
233
%else
234
234
# Create Binaries only for building arch
235
235
%ifarch x86_64
@@ -248,11 +248,11 @@ of docker. Exclude those versions of docker.
248
248
BUILD_PLATFORM=" linux/s390x"
249
249
%endif
250
250
OS_ONLY_BUILD_PLATFORMS=" ${BUILD_PLATFORM} " %{os_git_vars } OS_BUILD_RELEASE_ARCHIVES=n make build-cross
251
- OS_ONLY_BUILD_PLATFORMS=" ${BUILD_PLATFORM} " %{os_git_vars } hack/ build-go.sh vendor/github.com/onsi/ginkgo/ginkgo
251
+ OS_ONLY_BUILD_PLATFORMS=" ${BUILD_PLATFORM} " %{os_git_vars } OS_BUILD_RELEASE_ARCHIVES=n make build WHAT= vendor/github.com/onsi/ginkgo/ginkgo
252
252
%endif
253
253
254
254
# Generate man pages
255
- %{os_git_vars } hack/generate -docs.sh
255
+ %{os_git_vars } make build -docs
256
256
%endif
257
257
258
258
%install
You can’t perform that action at this time.
0 commit comments