Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dc0a5d8
Update kind to v0.5.0
msau42 Aug 21, 2019
0400867
Merge pull request #25 from msau42/fix-master-jobs
k8s-ci-robot Aug 27, 2019
9fba09b
Add rule for building Windows binaries
ddebroy Aug 28, 2019
f85ab5a
Merge pull request #26 from ddebroy/windows1
k8s-ci-robot Aug 28, 2019
35ceaed
prow.sh: install dep if needed
pohly Aug 29, 2019
df8530d
Merge pull request #27 from pohly/dep-vendor-check
k8s-ci-robot Aug 29, 2019
a8ea8bc
create 2-node kind cluster since topology support is added to hostpat…
mucahitkurt Sep 6, 2019
2d33550
Merge pull request #29 from mucahitkurt/create-2-node-kind-cluster
k8s-ci-robot Sep 7, 2019
ea2f1b5
build windows binaries with .exe suffix
msau42 Sep 7, 2019
6ecaa76
Merge pull request #30 from msau42/fix-windows
k8s-ci-robot Sep 7, 2019
6208f6a
Enable hostpath expansion
gnufied Sep 16, 2019
0affdf9
Merge pull request #33 from gnufied/enable-hostpath-expansion
k8s-ci-robot Sep 16, 2019
194289a
update Go mod support
pohly Oct 4, 2019
c1078a6
go-get-kubernetes.sh: automate Kubernetes dependency handling
pohly Oct 7, 2019
2d6b3ce
Build Windows only for amd64
ddebroy Oct 7, 2019
518d6af
Merge pull request #35 from ddebroy/winbld2
k8s-ci-robot Oct 7, 2019
2c81919
Merge pull request #34 from pohly/go-mod-tidy
k8s-ci-robot Oct 8, 2019
f1697d2
Do full git clones in travis. Shallow clones are causing test-subtree
msau42 Oct 8, 2019
adf00fe
Merge pull request #36 from msau42/full-clone
k8s-ci-robot Oct 8, 2019
8f7ff3f
release-tools: update
pohly Oct 15, 2019
09b8997
replace "dep" with "go mod"
pohly Oct 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ configvar CSI_PROW_SANITY_SERVICE "hostpath-service" "Kubernetes TCP service nam
configvar CSI_PROW_SANITY_POD "csi-hostpathplugin-0" "Kubernetes pod with CSI driver"
configvar CSI_PROW_SANITY_CONTAINER "hostpath" "Kubernetes container with CSI driver"

# The version of dep to use for 'make test-vendor'. Ignored if the project doesn't
# use dep. Only binary releases of dep are supported (https://github.com/golang/dep/releases).
configvar CSI_PROW_DEP_VERSION v0.5.1 "golang dep version to be used for vendor checking"

# Each job can run one or more of the following tests, identified by
# a single word:
# - unit testing
Expand Down Expand Up @@ -396,6 +400,15 @@ install_ginkgo () {
mv "$GOPATH/bin/ginkgo" "${CSI_PROW_BIN}"
}

# Ensure that we have the desired version of dep.
install_dep () {
if dep version 2>/dev/null | grep -q "version:.*${CSI_PROW_DEP_VERSION}$"; then
return
fi
run curl --fail --location -o "${CSI_PROW_WORK}/bin/dep" "https://github.com/golang/dep/releases/download/v0.5.4/dep-linux-amd64" &&
chmod u+x "${CSI_PROW_WORK}/bin/dep"
}

# This checks out a repo ("https://github.com/kubernetes/kubernetes")
# in a certain location ("$GOPATH/src/k8s.io/kubernetes") at
# a certain revision (a hex commit hash, v1.13.1, master). It's okay
Expand Down Expand Up @@ -936,6 +949,10 @@ main () {
# changes in "release-tools" in a PR (that fails the "is release-tools unmodified"
# test).
if tests_enabled "unit"; then
if [ -f Gopkg.toml ] && ! install_dep; then
warn "installing 'dep' failed, cannot test vendoring"
ret=1
fi
if ! run_with_go "${CSI_PROW_GO_VERSION_BUILD}" make -k test 2>&1 | make_test_to_junit; then
warn "'make test' failed, proceeding anyway"
ret=1
Expand Down