@@ -39,15 +39,7 @@ export CLOUDSDK_COMPONENT_MANAGER_DISABLE_UPDATE_CHECK=true
39
39
# FEDERATION?
40
40
: ${FEDERATION:= " false" }
41
41
: ${KUBE_RELEASE_RUN_TESTS:= " n" }
42
-
43
- # New kubernetes/release/push-ci-build.sh values
44
- # RELEASE_INFRA_PUSH=true when we're using kubernetes/release/push-ci-build.sh
45
- : ${RELEASE_INFRA_PUSH:= " false" }
46
- # SET_NOMOCK_FLAG=true means we're doing full pushes and we pass --nomock to
47
- # push-ci-build.sh. This is set to false in the
48
- # testing jobs and only used in the RELEASE_INFRA_PUSH=true scope below.
49
- : ${SET_NOMOCK_FLAG:= " true" }
50
- export KUBE_RELEASE_RUN_TESTS RELEASE_INFRA_PUSH FEDERATION SET_NOMOCK_FLAG
42
+ export KUBE_RELEASE_RUN_TESTS
51
43
52
44
# Clean stuff out. Assume the last build left the tree in an odd
53
45
# state.
72
64
mkdir -p ${WORKSPACE} /_tmp
73
65
git clone https://github.com/kubernetes/release ${release_infra_clone}
74
66
75
- if [[ ! -x ${release_infra_clone} /push-ci-build.sh ]]; then
76
- echo " FATAL: Something went wrong." \
77
- " ${release_infra_clone} /push-ci-build.sh isn't available." \
78
- " Exiting..." >&2
79
- exit 1
80
- fi
67
+ push_build=${release_infra_clone} /push-build.sh
81
68
69
+ if [[ ! -x ${push_build} ]]; then
70
+ # TODO: Remove/Restore this with the full deprecation PR
71
+ push_build=${release_infra_clone} /push-ci-build.sh
72
+ # echo "FATAL: Something went wrong. ${push_build} isn't available." \
73
+ # "Exiting..." >&2
74
+ # exit 1
75
+ fi
82
76
[[ -n " ${KUBE_GCS_RELEASE_BUCKET-} " ]] \
83
77
&& bucket_flag=" --bucket=${KUBE_GCS_RELEASE_BUCKET-} "
84
78
${FEDERATION} && federation_flag=" --federation"
85
- ${SET_NOMOCK_FLAG} && mock_flag=" --nomock"
86
- ${release_infra_clone} /push-ci-build.sh ${bucket_flag-} ${federation_flag-} \
87
- ${mock_flag-} --verbose
79
+ ${push_build} ${bucket_flag-} ${federation_flag-} --nomock --verbose --ci
88
80
fi
89
81
90
82
sha256sum _output/release-tars/kubernetes* .tar.gz
0 commit comments