Commit Graph

43 Commits

Author SHA1 Message Date
Jordan Liggitt
7cc6b724ab
Defer builds to test-cmd and test-integration targets 2023-02-01 15:35:14 -05:00
Tim Hockin
70c1c795e8
Remove generated file rules in make
This is all covered by update-codegen.sh now.

The old `make generated_files` rule still exists, but just prints a
warning.
2022-10-04 08:50:30 -07:00
Madhav Jivrajani
ae55bcda44 hack/jenkins: Remove GODEBUG workaround for sha1 changes
This commit undoes the GODEBUG=x509sha1=1 workaround.
The problem should be fixed in Go 1.18.1 now.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-04-05 20:41:19 +05:30
Madhav Jivrajani
b6c00355f8
hack/jenkins: set GODEBUG=x509sha1=1
Temporary fix for Go 1.18 changes made in
https://tip.golang.org/doc/go1.18#sha1

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2022-03-23 08:02:53 -04:00
Benjamin Elder
68d8bcb64f remove redundant bits from test-dockerized.sh 2021-06-18 14:49:53 -07:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Jordan Liggitt
8618c09369 opt out of module mode for builds 2019-11-06 17:39:05 -05:00
Jordan Liggitt
93c02e164f Switch to json test output 2019-07-31 17:43:02 -04:00
aaa
e544da8aae Fix shellcheck failures in test-dockerized.sh and upload-to-gcs.sh
update pull request

update pull request
2019-04-08 14:14:47 -04:00
Kubernetes Prow Robot
0ae81c986a
Merge pull request #67678 from caesarxuchao/remove-storage-versions-flag
Remove storage versions flag
2019-02-11 17:40:27 -08:00
Krzysztof Siedlecki
4384845ec5 installing github.com/jstemmer/go-junit-report 2019-02-05 14:54:01 +01:00
Chao Xu
a76c266693 don't run test-update-storage-objects.sh 2019-01-30 13:28:48 -08:00
Roy Lenferink
a5d0616bdc Improving syntax for bash scripts 2019-01-18 19:17:16 +01:00
Christoph Blecker
b19fb0a77e
Clean up artifacts variables in hack scripts 2018-12-19 15:17:13 -08:00
Sen Lu
ea4320681f make integration/verify script look for k8s under GOPATH 2018-12-18 15:18:42 -08:00
Matthias Bertschy
9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
jennybuckley
a1ab2b2ee1 Increase timeout of integration tests 2018-02-26 14:29:42 -08:00
Christoph Blecker
4fb2265bd8
Don't go get godep in jenkins scripts 2018-01-30 07:42:58 -08:00
spxtr
e72a1661cb Stop running unit tests outside of Bazel.
We tried this a while ago, but had to revert because Bazel did not have
race detection. Now it does.
2017-11-07 16:48:56 -08:00
billy2180
99e9ef2871 Fix some comment in hack/jenkins/*-dockerized.sh 2017-09-07 19:43:41 +08:00
deads2k
ec6a6f6265 run unit tests with go, not just bazel 2017-01-27 10:00:01 -05:00
deads2k
a7c325f7ad restore unit testing for the staging repos 2017-01-27 08:18:19 -05:00
Joe Finney
2d3ce59c45 No more unit tests to skip. 2016-12-27 16:19:43 -08:00
Joe Finney
c4d0ecb924 Stop running most unit tests outside of bazel. 2016-12-21 14:35:58 -08:00
Jeff Grafton
0d9d623f04 Build vendored copy of go-bindata and use that in go generate step
Additionally remove all instances of `go get`ing go-bindata
2016-11-30 22:23:40 -08:00
Jeff Grafton
42d2aca7bb Download go-bindata in unit/verify/node e2e Jenkins builds 2016-08-03 13:23:41 -07:00
Tim Hockin
1bd3918c15 Overhaul deps on generator tools
This forces a regeneration if the generation tools are rebuilt.

Also clean up Makefile a bit.
2016-07-12 21:52:54 -07:00
Tim Hockin
faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Mike Danese
2c93ea5dcc Merge pull request #27289 from mikedanese/split-verify
split verify out of unit/integration suite
2016-06-16 19:37:06 -07:00
Mike Danese
ee34c7695f split verify out of unit/integration suite 2016-06-16 18:23:03 -07:00
Jeff Grafton
65e10cf50c Avoid duplicate building in Jenkins unit/integration job 2016-06-10 16:42:17 -07:00
Tim Hockin
537602d296 Get rid of _workspace in jenkins 2016-05-08 20:30:38 -07:00
Tim Hockin
cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Jeff Grafton
d82a8cb282 Add a verify check to check Jenkins job config changes 2016-04-12 16:49:28 -07:00
Erick Fejta
0c0722373c Retry intermittent failures in test-dockerized.sh during go get 2016-03-30 11:44:35 -07:00
Jeff Grafton
2d9671cf27 Revert "Pin to godep v58 in Jenkins unit/integration"
This reverts commit 70813d6bb5.
2016-03-21 17:19:55 -07:00
Jeff Grafton
0d65d310fe Enter /go/src/k8s.io/kubernetes before building/running tests
Also print godep version after installing it.
2016-03-21 17:19:55 -07:00
Jeff Grafton
70813d6bb5 Pin to godep v58 in Jenkins unit/integration 2016-03-18 12:45:12 -07:00
Mike Danese
2857baa7fd use defaults in test-dockerized for etcd prefix and api versions
Test more things
2016-02-16 15:46:22 -08:00
Jeff Grafton
52a6252431 Don't limit go test to only 2 cores 2015-12-27 17:21:40 -08:00
Jeff Lowdermilk
39965b67ce Move branch-specific test env out of the kubekins-test image 2015-10-30 11:12:47 -07:00
Jeff Lowdermilk
04e891c7d3 Modify jenkins unit/integration scripts to work on branches
Also add a makefile. This will need a cherrypick onto 1.0,1.1
with edits to hack/jenkins/test-dockerized.sh to run branch-specific
test scripts.

Also had to modify hack/verify-api-reference.sh to handle volume mount
path peculiarity when doing `docker run -v` inside a container started
with `docker run -v`. See associated comment in
hack/jenkins/test-dockerized.sh
2015-10-29 11:08:35 -07:00