Skip to content

Commit

Permalink
fix presubmit-test.sh script for prow (#48)
Browse files Browse the repository at this point in the history
currently the presubmit-test.sh script for prow is failing as we have a dependency on kubebuilder in our tests that prow does not have.  this adds a kubebuilder install to the test, we can alternatively add this dependency in knative/test-infra to our test container.
  • Loading branch information
aaron-prindle authored and knative-prow-robot committed Sep 12, 2018
1 parent ca557e0 commit fddb0fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ function build_tests() {

function unit_tests() {
echo "Running unit tests"
export version=1.0.0
export arch=amd64
curl -LO https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_linux_${arch}.tar.gz
tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz
mv kubebuilder_${version}_linux_${arch} /usr/local/kubebuilder
make test
}

Expand Down

0 comments on commit fddb0fa

Please sign in to comment.