Benjamin Elder
e5f4caf62a
drop spammy xtrace from hack/test scripts
...
this shouldn't be set when sourcing install-etcd.sh, which has a lot of non-trivial shell to log
we can leave it when it just logs the test commands
2025-08-28 12:21:01 -07:00
Benjamin Elder
3b3df8ba72
CI integration scripts: reduce log noise from installing etcd
2025-03-20 11:59:32 -07:00
Benjamin Elder
cf20c21ef8
Revert "stop overriding max concurrency in CI, let automax procs handle it"
...
This reverts changes from commit 9e42056a0d .
NOTE: this is not a clean revert bcause of further changes.
2025-03-14 09:42:04 -07:00
Benjamin Elder
d798d86981
cleanup CI integration scripts
...
- stop setting ARTIFACTS from WORKSPACE, CI handles setting ARTIFACTS and WORKSPACE isn't used anymore (bazel?)
- stop cd-ing GOPATH, CI sets the working dir already and local users won't necessarily have GOPATH
- sop clobbering PATH with hardcoded assumptions, source install-etcd.sh instead (which updates PATH)
- don't redundantly set KUBE_COVER to the default
- pass logging env inline so the command can be pasted locally
- set -x so the command is visible
- add TODO about needing a wrapper script just to call install-etcd
2025-03-13 11:23:53 -07:00
Benjamin Elder
9e42056a0d
stop overriding max concurrency in CI, let automax procs handle it
2025-03-12 13:45:48 -07:00
Kubernetes Prow Robot
7bd0477a95
Merge pull request #130337 from pohly/hack-jenkins-split
...
hack: split up test-dockerized.sh
2025-02-24 00:26:27 -08:00
Patrick Ohly
a20a959b2c
hack: split up test-dockerized.sh
...
This enables testing command and integration tests separately in CI jobs. The
goal is to reduce pull-kubernetes-integration to testing really just the Go
test/integration tests and to add a pull-kubernetes-cmd job for command tests.
hack/jenkins/test-dockerized.sh does the same as before because some jobs will
probably continue to use it.
2025-02-22 09:39:54 +01:00
Jordan Liggitt
0ce48b5636
Honor KUBE_HACK_TOOLS_GOTOOLCHAIN
2025-02-14 13:01:59 -05:00
Tim Hockin
061c4f4f70
Stop setting GO111MODULE=off in tests
2024-09-25 10:00:57 -07:00
Tim Hockin
a0215badb8
Change pushd $d; go ...; popd to go -C $d ...
...
Just an annoyance in reading these scripts.
2024-03-02 14:40:10 -08:00
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