Skip to content

Commit f64d788

Browse files
authored
install kops/kubectl before running prow.sh (#535)
* install kops/kubectl before running prow.sh * ignore preflight
1 parent 303102e commit f64d788

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,13 @@ kops-prow-amd: postsubmit-build
6969
kops-prow: kops-prow-amd kops-prow-arm
7070
@echo 'Done kops-prow'
7171

72-
.PHONT: generate-ssh-key
73-
generate-ssh-key:
72+
.PHONT: kops-prereqs
73+
kops-prereqs:
7474
ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""
75+
development/kops/install_requirements.sh
7576

7677
.PHONY: postsubmit-conformance
77-
postsubmit-conformance: postsubmit-build generate-ssh-key kops-prow
78+
postsubmit-conformance: postsubmit-build kops-prereqs kops-prow
7879
@echo 'Done postsubmit-conformance'
7980

8081
.PHONY: tag

development/kops/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ set -eo pipefail
1717

1818
BASEDIR=$(dirname "$0")
1919
source ${BASEDIR}/set_environment.sh
20-
$PREFLIGHT_CHECK_PASSED || exit 1
20+
# Ignoring preflight check failures since we only need the env vars set
2121

2222
if [ "$(uname)" == "Darwin" ]
2323
then

0 commit comments

Comments
 (0)