saadali
c84b0e0f4f
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 11:10:00 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
gmarek
c86e18846b
Add max-pods e2e test
2015-07-01 09:21:42 +02:00
Marcin Wielgus
b5600fee12
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 00:25:58 +02:00
Jeff Grafton
0c321c3759
Jenkins GCE e2e: "Service endpoints latency" is not flaky in parallel
2015-06-30 13:47:46 -07:00
Chao Xu
7f89a29aad
add "kubectl patch". It will replace "kubectl udpate --patch" in the future
2015-06-29 16:36:45 -07:00
Alex Robinson
764d34d363
Merge pull request #10468 from caesarxuchao/add-cmd-replace
...
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Mike Danese
c053b9a51b
add documentation and script on how to get recent and "nightly" builds
2015-06-29 14:50:41 -07:00
Mike Danese
719870fdcf
add publishing of latest-green.txt to jenkins e2e tests on success
2015-06-29 14:50:41 -07:00
Alex Robinson
fb9c126fd4
Merge pull request #10078 from ixdy/jenkins-e2e-gce-configs
...
Determine e2e test configs for GCE using Jenkins project name
2015-06-29 14:34:05 -07:00
Anastasis Andronidis
697e07f864
Correctly parse multiple resources from files
...
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
Chao Xu
9b3d42c090
Add command "kubectl replace". "kubectl update" is still supported as an alias.
...
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Jeff Grafton
8c70fa42ee
Determine e2e test configs for GCE using Jenkins project name.
...
Most parameters can still be overridden by specifying them in the
Jenkins configs.
Additionally, remove --noColor option, since the ANSI Jenkins plugin
can handle the color codes.
2015-06-26 17:32:50 -07:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
508f7f1697
Merge pull request #10358 from caesarxuchao/add-force-update
...
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Chao Xu
ef5de91fd7
add "--force" flag to "kubectl update";
...
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes
24de9afded
Merge pull request #10364 from brendandburns/e2e2
...
Add some sleep to the verification loop.
2015-06-25 16:31:07 -07:00
Brendan Burns
da938dc190
Add some sleep to the verification loop.
...
Programming is hard, sleep 5!
2015-06-25 14:50:46 -07:00
Maxwell Forbes
5e748c1d47
Merge pull request #10070 from lavalamp/e2eProxyFix
...
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Maxwell Forbes
66752bfb93
Merge pull request #10310 from nikhiljindal/local
...
Updating local-cluster-up to v1
2015-06-24 17:56:45 -07:00
nikhiljindal
e6c83bca5f
updating local-cluster-up to v1
2015-06-24 14:08:27 -07:00
Daniel Smith
5eb5b4a130
Test kubectl proxy in test-cmd.sh
2015-06-24 13:54:15 -07:00
Maxwell Forbes
26d3a4429d
Merge pull request #9816 from erictune/conformance
...
Revive conformance test.
2015-06-24 13:20:46 -07:00
Eric Tune
c5efb12a62
Revive conformance test.
...
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).
Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.
Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.
Set NUM_MINIONS (need better way to handle this).
Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.
Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Chao Xu
59b654c996
fix tests for 22f1b07858
2015-06-22 17:10:09 -07:00
CJ Cullen
ff0546da4f
Merge pull request #10133 from mbforbes/gkeLivingUpgrade
...
GKE upgrade tests
2015-06-20 15:02:11 -07:00
Max Forbes
434f968715
GKE upgrade tests
2015-06-20 09:44:19 -07:00
Jeff Lowdermilk
bdd3602eb7
Allow explicit pinned versions to be specified for jenkins runs
2015-06-19 16:19:02 -07:00
Satnam Singh
b964f3c911
Merge pull request #9739 from bprashanth/sno
...
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian
9ed9bd1c4f
Add a generation number to the object meta of all objects, and status of rcs
2015-06-19 14:32:08 -07:00
Jeff Lowdermilk
9e4c5bc3b4
fix bash typo in jenkins/e2e.sh
2015-06-19 11:57:44 -07:00
Jeff Lowdermilk
8f5d8da7d6
yet another special case for e2e script
2015-06-19 11:13:55 -07:00
Satnam Singh
4bf6058919
Merge pull request #9988 from mikedanese/upgrade-pre-e2e
...
remove e2e run before cluster upgrade
2015-06-18 14:25:26 -07:00
Satnam Singh
d2c2f7e35e
Merge pull request #9993 from mikedanese/re-patch
...
reenable patch serverside using strategic-merge-patch
2015-06-18 14:13:10 -07:00
Jeff Lowdermilk
e72431033a
Fix a few e2e references to allow gke to test dogfood builds
2015-06-18 13:39:51 -07:00
Jeff Lowdermilk
1a7d811b4a
Add a test to test-cmd.sh for update --patch
2015-06-18 12:06:46 -07:00
Mike Danese
dbb47fe248
remove e2e run before cluster upgrade
2015-06-17 17:02:04 -07:00
Saad Ali
56083489e3
Merge pull request #9884 from brendandburns/gcr
...
Switch to loading busybox from gcr.
2015-06-17 11:38:24 -07:00
Saad Ali
9f60f3ce44
Merge pull request #9831 from jayunit100/local-up-from-docker
...
Allow docker/ or other source directory for local-up
2015-06-16 16:17:06 -07:00
Brendan Burns
9fda26e5da
Switch to loading busybox from gcr.
2015-06-16 11:31:33 -07:00
Jeff Lowdermilk
47901b7edd
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 10:58:04 -07:00
jayunit100
ecdc025b61
Allow docker/ or other source directory for local-up
2015-06-15 19:44:35 -04:00
Fabio Yeon
3f62e420cb
Merge pull request #9784 from saad-ali/jenkinsSymlinkFix
...
Jenkins E2E build should not fail if symlink to junit file already exists
2015-06-15 13:37:09 -07:00
saadali
3bc1c18e12
Jenkins E2E build should not fail if symlink to junit file already exists.
2015-06-15 10:52:47 -07:00
Fabio Yeon
652eed5bce
Merge pull request #9479 from jayunit100/local-up-clean
...
[hack/] Modularize local-up into clean functions so its self documenting
2015-06-15 09:54:24 -07:00
Abhi Shah
22a4d555c6
Merge pull request #9517 from mikedanese/e2e-cluster-upgrade
...
e2e test cluster stability during master upgrade
2015-06-12 13:53:09 -07:00
Abhi Shah
52db576617
Merge pull request #8882 from mesosphere/upstream_k8sm
...
Upstream Kubernetes-Mesos framework
2015-06-12 06:36:20 -07:00
Mike Danese
de55e17f75
e2e test cluster stability during upgrade
2015-06-11 15:10:52 -07:00
Quinton Hoole
ec0dd2db00
Merge pull request #9678 from dchen1107/podstatus
...
Using bigger node for minions for jenkin-e2e tests.
2015-06-11 14:13:54 -07:00
Dawn Chen
a1065d1e24
Using bigger node for master node for jenkin-e2e tests.
2015-06-11 14:09:02 -07:00
Dawn Chen
bf6d4d6d7e
Using bigger node for minions for jenkin-e2e tests.
2015-06-11 14:07:41 -07:00
Abhi Shah
b37190b784
Merge pull request #9513 from lavalamp/fixFlake
...
improve output of kube_get_url & fix #6548
2015-06-11 11:28:32 -07:00
Abhi Shah
c5553af281
Merge pull request #9506 from cjcullen/resize
...
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah
f4e3c97a0b
Merge pull request #9539 from quinton-hoole/2015-06-09-fix-e2e.sh
...
Don't require a space at the end of GINKGO_TEST_ARGS
2015-06-11 11:01:08 -07:00
James DeFelice
91238f8b44
Make building contrib code optional
2015-06-10 20:30:10 +00:00
jayunit100
a2ea0ba467
Modularize local-up into clean functions so its self documenting
2015-06-10 13:24:59 -04:00
Brendan Burns
1dc723b4cb
Fix testing to skip the release directories.
2015-06-10 09:22:18 -07:00
Quinton Hoole
e774717f6c
Don't require a space at the end of GINKGO_TEST_ARGS
...
8703#commitcomment-11336307
2015-06-09 15:48:13 -07:00
Daniel Smith
97ebc1aad9
improve output of kube_get_url
2015-06-09 15:26:09 -07:00
CJ Cullen
abc4e53648
Make resize tests work on GKE
2015-06-09 12:00:10 -07:00
krousey
cf4b4a313b
Merge pull request #9335 from swagiaal/e2e-test-prefix
...
Add a prefix option to e2e for use with resources
2015-06-09 11:50:02 -07:00
Sami Wagiaalla
899cf360ba
Add a prefix option to e2e for use with resources
...
This is helpful when cleaning manually up after a failed test in
shared a gce environment.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-09 13:29:41 -04:00
krousey
d8d295d647
Merge pull request #9385 from pmorie/local-privileged
...
Allow privileged containers in local cluster
2015-06-09 10:18:44 -07:00
krousey
b2449746b4
Merge pull request #9388 from nikhiljindal/verify-swagger
...
Adding a script to verify that swagger spec is updated
2015-06-08 16:49:46 -07:00
Paul Morie
5d7418707a
Allow privileged containers in local cluster
2015-06-08 19:40:12 -04:00
Filip Grzadkowski
b999e6655c
Do not overwrite bash variables in jenkins for scalability tests
2015-06-08 13:51:24 +02:00
nikhiljindal
a89d2da249
Adding a script to verify that swagger spec is updated
2015-06-08 04:04:57 -07:00
Chao Xu
5a54a0118d
fix
2015-06-04 16:35:24 -07:00
Chao Xu
21bea6e8e7
since v1 is defaultly enabled, don't explicit enable it in update-swagger-spec.sh
2015-06-04 11:57:20 -07:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith
6e95388672
allow kubectl to be built statically
...
* Package kubectl in a container
* Add example with a pod using kubectl as a sidecar
2015-06-03 15:41:09 -07:00
Brian Grant
6898a7957c
Merge pull request #9206 from thockin/services-e2e
...
Make services e2e more debuggable
2015-06-03 13:14:15 -07:00
Tim Hockin
a2b7117ee4
Make services e2e more debuggable
2015-06-03 12:09:54 -07:00
Brian Grant
1845ca88fc
Merge pull request #9169 from caesarxuchao/hack/test-update-storage-objects.sh
...
enable v1 in hack/test-update-storage-objects.sh
2015-06-03 11:20:35 -07:00
Brian Grant
53b8728528
Merge pull request #9154 from caesarxuchao/hack/test-cmd.sh
...
enable v1 for hack/test-cmd.sh
2015-06-03 11:20:10 -07:00
Brian Grant
895ad68422
Merge pull request #9145 from caesarxuchao/hack/test-integration
...
enable v1 in hack/test-integration.go
2015-06-03 11:19:41 -07:00
Chao Xu
d52cef11a4
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-03 09:50:41 -07:00
Brian Grant
3bdde89a68
Revert "Make services e2e test more debuggable"
2015-06-02 23:46:46 -07:00
Chao Xu
bdf43eb66d
enable v1 in hack/test-update-storage-objects.sh
2015-06-02 20:31:01 -07:00
Tim Hockin
e6a7f85d70
Make services e2e test more debuggable
2015-06-02 19:01:12 -07:00
Chao Xu
a4887bc6d4
enable v1 in hack/test-cmd.sh
2015-06-02 17:13:13 -07:00
Brian Grant
202343799e
Revert "Make services.sh e2e more reliable(?) and debuggable"
2015-06-02 16:54:12 -07:00
Brian Grant
6cfa260745
Revert "Make a namespace before using it"
2015-06-02 16:46:30 -07:00
Chao Xu
89c8949e78
add v1 to hack/test-integration.sh
2015-06-02 14:55:45 -07:00
Chao Xu
ff6947625d
add v1 tests to hack/test-go; let default value of Container.SecurityContext to be nil
2015-06-02 14:55:45 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Tim Hockin
3211f851ff
Make a namespace before using it
2015-06-02 14:37:18 -07:00
Brian Grant
ca733221e2
Merge pull request #8953 from thockin/services-e2e
...
Make services.sh e2e more reliable(?) and debuggable
2015-06-02 13:08:17 -07:00
Brian Grant
00005f4da8
Merge pull request #9088 from caesarxuchao/add-v1-swagger
...
add v1 swagger-spec; update existing swagger-spec
2015-06-02 10:41:58 -07:00
Tim Hockin
96caf1b582
Make services.sh e2e more reliable(?) and debuggable
2015-06-01 21:34:18 -07:00
Clayton Coleman
984692d205
Verify in hack/test-cmd
2015-06-01 19:24:01 -04:00
Chao Xu
66e4f7b053
add v1 swagger-spec; update existing swagger-spec
2015-06-01 16:16:20 -07:00
Eric Tune
1f526a5f89
Merge pull request #9027 from jlowdermilk/kubectl-deprecate-minion
...
Stop supporting the minion alias for nodes in kubectl
2015-06-01 10:26:51 -07:00
Eric Tune
936c6842e0
Merge pull request #8733 from justinsb/nodeport_aws
...
Enable support for AWS LB
2015-06-01 09:25:15 -07:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Rohit Jnagal
99c9c54c05
Merge pull request #8983 from jlowdermilk/update-patch
...
Disable --patch for kubectl update
2015-05-29 16:30:16 -07:00
Rohit Jnagal
5aed389f0a
Merge pull request #8594 from nikhiljindal/swagger
...
Stop generating v1beta1,2 swagger spec
2015-05-29 16:27:02 -07:00
Justin Santa Barbara
1e99426d5b
Support for AWS ELB
2015-05-29 18:53:35 -04:00
Jeff Lowdermilk
0c44be833d
Stop supporting the minion alias for nodes in kubectl
2015-05-29 15:40:47 -07:00
Zach Loafman
2eccd87ccb
Adjust the Jenkins E2E_REPORT_DIR to something less silly
...
Start of a fix for complaints on #8852 .
2015-05-29 13:54:18 -07:00
nikhiljindal
c0e26d2f38
Modify update-swagger-spec to stop generating v1beta1,2 spec
2015-05-29 13:39:01 -07:00
Jeff Lowdermilk
90a5b8c845
Disable --patch for kubectl update
2015-05-29 09:31:49 -07:00
Tim Hockin
3005471100
Add new apiserver flags for clusterIP (nee portal)
...
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
081ab3abac
Merge pull request #8853 from caesarxuchao/HostToNodeName
...
update PodSpec.Host to PodSpec.NodeName
2015-05-28 15:50:12 -07:00
Tim Hockin
e456e8d63e
Merge pull request #8921 from wojtek-t/update_instructions
...
Update instructions on auto-generating conversions.
2015-05-28 15:01:24 -07:00
Tim Hockin
f8d0060d6e
Merge pull request #8388 from pmorie/third-party-tests
...
Run tests for third-party code
2015-05-28 14:58:26 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
Wojciech Tyczynski
cb414d8bc4
Delete generated deep-copy files before updating.
2015-05-28 17:41:58 +02:00
Tim Hockin
0721377646
Merge pull request #8596 from andronat/fix_8319
...
Kubectl command renaming (run-container to run and resize to scale)
2015-05-27 15:37:54 -07:00
Tim Hockin
a3d5367156
Merge pull request #8765 from eparis/hack-test-failure
...
Fix build with --use_go_build (e2e.test failure)
2015-05-27 12:43:04 -07:00
Tim Hockin
f69eb0af67
Merge pull request #8831 from a-robinson/tp
...
Adjust the sleep time before tearing down e2e clusters and add a rough formula
2015-05-27 12:42:49 -07:00
Anastasis Andronidis
9e3a540940
rename resize to scale
2015-05-27 19:08:06 +02:00
Tim Hockin
244b10e8ba
Merge pull request #8812 from jayunit100/kubectlparam
...
Parameterized kubectl once and for all :)
2015-05-27 09:35:23 -07:00
Piotr Szczesniak
cd2c7e16d7
Merge pull request #8320 from wojtek-t/generated_deep_copy
...
Code to automatically generate functions for DeepCopy
2015-05-27 13:14:07 +02:00
jayunit100
6e4160eeb0
Set option for KubectlPath (kubectl-path) for E2E tests.
2015-05-26 21:46:59 -04:00
Alex Robinson
9d61a95464
Adjust the sleep time before tearing down e2e clusters and add a rough formula
...
for determining how long the sleep should be.
2015-05-26 21:09:05 +00:00
Alex Robinson
0188e9af8c
Sleep before deleting the cluster to give the controller manager time to
...
delete any cloudprovider resources still around from the last test.
2015-05-26 20:11:03 +00:00
Wojciech Tyczynski
b2280db724
Deep-copy functions autogeneration.
2015-05-26 21:16:26 +02:00
Eric Paris
d8187e26d3
Fix build with --use_go_build (e2e.test failure)
...
hack/build-go.sh --use_go_build would fail because e2e.test was not being
excluded from the set of things that we were "go build"ing
Instead of walking all binaries, only walk static and nonstatic
```
$ hack/build-go.sh
+++ [0524 18:09:51] Building go targets for linux/amd64:
cmd/kube-proxy
cmd/kube-apiserver
cmd/kube-controller-manager
cmd/kubelet
cmd/hyperkube
cmd/kubernetes
plugin/cmd/kube-scheduler
cmd/kubectl
cmd/integration
cmd/gendocs
cmd/genman
cmd/genbashcomp
examples/k8petstore/web-server
github.com/onsi/ginkgo/ginkgo
test/e2e/e2e.test
+++ [0524 18:09:51] +++ Warning: stdlib pkg with cgo flag not found.
+++ [0524 18:09:51] +++ Warning: stdlib pkg cannot be rebuilt since /usr/lib/golang/pkg is not writable by eparis
+++ [0524 18:09:51] +++ Warning: Make /usr/lib/golang/pkg writable for eparis for a one-time stdlib install, Or
+++ [0524 18:09:51] +++ Warning: Rebuild stdlib using the command 'CGO_ENABLED=0 go install -a -installsuffix cgo std'
+++ [0524 18:09:51] +++ Falling back to go build, which is slower
**************can't load package: package github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test: cannot find package "github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test" in any of:
/usr/lib/golang/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test (from $GOROOT)
/storage/kubernetes/_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test (from $GOPATH)
/storage/kubernetes/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/e2e.test
!!! Error in /storage/kubernetes/hack/lib/golang.sh:339
'go build -o "${outfile}" "${goflags[@]:+${goflags[@]}}" -ldflags "${version_ldflags}" "${binary}"' exited with status 1
Call stack:
1: /storage/kubernetes/hack/lib/golang.sh:339 kube::golang::build_binaries_for_platform(...)
2: /storage/kubernetes/hack/lib/golang.sh:488 kube::golang::build_binaries(...)
3: hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /storage/kubernetes/hack/lib/golang.sh:406
'( kube::golang::setup_env; local version_ldflags; version_ldflags=$(kube::version::ldflags); local host_platform; host_platform=$(kube::golang::host_platform); local goflags; eval "goflags=(${KUBE_GOFLAGS:-})"; local use_go_build; local -a targets=(); local arg; for arg in "$@";
do
if [[ "${arg}" == "--use_go_build" ]]; then
use_go_build=true;
else
if [[ "${arg}" == -* ]]; then
goflags+=("${arg}");
else
targets+=("${arg}");
fi;
fi;
done; if [[ ${#targets[@]} -eq 0 ]]; then
targets=("${KUBE_ALL_TARGETS[@]}");
fi; local -a platforms=("${KUBE_BUILD_PLATFORMS[@]:+${KUBE_BUILD_PLATFORMS[@]}}"); if [[ ${#platforms[@]} -eq 0 ]]; then
platforms=("${host_platform}");
fi; local binaries; binaries=($(kube::golang::binaries_from_targets "${targets[@]}")); local parallel=false; if [[ ${#platforms[@]} -gt 1 ]]; then
local gigs; gigs=$(kube::golang::get_physmem); if [[ ${gigs} -gt ${KUBE_PARALLEL_BUILD_MEMORY} ]]; then
kube::log::status "Multiple platforms requested and available ${gigs}G > threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in parallel"; parallel=true;
else
kube::log::status "Multiple platforms requested, but available ${gigs}G < threshold ${KUBE_PARALLEL_BUILD_MEMORY}G, building platforms in serial"; parallel=false;
fi;
fi; if [[ "${parallel}" == "true" ]]; then
kube::log::status "Building go targets for ${platforms[@]} in parallel (output will appear in a burst when complete):" "${targets[@]}"; local platform; for platform in "${platforms[@]}";
do
( kube::golang::set_platform_envs "${platform}"; kube::log::status "${platform}: go build started"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-}; kube::log::status "${platform}: go build finished" ) &> "/tmp//${platform//\//_}.build" &
done; local fails=0; for job in $(jobs -p);
do
wait ${job} || let "fails+=1";
done; for platform in "${platforms[@]}";
do
cat "/tmp//${platform//\//_}.build";
done; exit ${fails};
else
for platform in "${platforms[@]}";
do
kube::log::status "Building go targets for ${platform}:" "${targets[@]}"; kube::golang::set_platform_envs "${platform}"; kube::golang::build_binaries_for_platform ${platform} ${use_go_build:-};
done;
fi )' exited with status 1
Call stack:
1: /storage/kubernetes/hack/lib/golang.sh:406 kube::golang::build_binaries(...)
2: hack/build-go.sh:26 main(...)
Exiting with status 1
```
2015-05-24 19:16:26 -04:00
Quinton Hoole
b8ca74ab66
Don't clobber GINKGO_TEST_ARGS in hack/jenkins/e2e.go
2015-05-22 14:54:05 -07:00
Dawn Chen
cc6a31354e
Merge pull request #8169 from kargakis/expose-use-resource-builder
...
expose: Use resource builder
2015-05-22 12:29:24 -07:00
Jerzy Szczepkowski
ef965a60f2
Implementation of e2e test that resizes cluster (works on GCE).
2015-05-22 02:59:25 +02:00
Dawn Chen
b33c4259f8
Merge pull request #8566 from markturansky/generator_godep
...
Added GOPATH vars and godep to generator script
2015-05-21 09:34:12 -07:00
kargakis
30958f892d
expose: Use resource builder
...
Plus:
* Rename flag --service-name to --name
* Some refactoring
2015-05-20 23:55:07 +02:00
Wojciech Tyczynski
2df11cea32
Automatically generate conversions
2015-05-20 17:11:18 +02:00
markturansky
10258c46d7
Added GOPATH vars and godep to generator script
2015-05-20 10:56:54 -04:00
Jeff Grafton
e968b6be81
Merge pull request #8442 from mbforbes/e2ePodsReady
...
Ensure pods both running and ready before starting e2e tests
2015-05-19 13:40:08 -07:00
Tim Hockin
97abc19810
Merge pull request #8299 from thockin/import-names
...
rename imported pkgs for readability
2015-05-19 12:01:57 -07:00
Tim Hockin
76a0a7dff2
Shush minor stdout noise on builds
2015-05-19 11:24:44 -07:00
Tim Hockin
70c94fad6d
Don't rename api imports in conversions
2015-05-19 11:21:21 -07:00
Max Forbes
1da46ca3d0
Ensure pods both running and ready before starting e2e tests
2015-05-19 10:53:02 -07:00
Jeff Grafton
90f61f3005
Change into the output directory before running go test -c.
2015-05-19 10:04:27 -07:00
Jeff Grafton
bf1de72f4a
Revert "Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)""
...
This reverts commit f4bb6aa37d
.
2015-05-19 09:13:08 -07:00
Quinton Hoole
f4bb6aa37d
Revert "Use native Ginkgo test runner instead of cmd/e2e (attempt N)"
2015-05-18 21:04:26 -07:00
Nikhil Jindal
0a6007b299
Merge pull request #8429 from jackgr/master
...
Fix portability bugs in hack/local-up-cluster.sh
2015-05-18 18:17:47 -07:00
Tim Hockin
2307350d1b
Merge pull request #8443 from wojtek-t/conversion_improvements
...
Script for regenerate auto-generated conversions.
2015-05-18 17:24:08 -07:00
Wojciech Tyczynski
9a93206774
Script for automatically generate conversions.
2015-05-19 02:17:58 +02:00
Daniel Smith
5e056f119d
Merge pull request #6694 from bprashanth/bench
...
Add a simple master benchmark and a wrapper to run it.
2015-05-18 14:42:24 -07:00
jackgr
87a26e2fd2
Fixes portability issues in cleanup() that cause the pid expansion to fail when host_os=darwin by replacing ps --ppid and ps --pid with pgrep -P and ps -p, and by suppressing header line in output with ps -o pid=.
2015-05-18 12:14:21 -07:00
Jeff Grafton
35c4b92e92
Make e2e compatible with Go 1.3 and OS X.
...
Go 1.4 added the -o flag to the "go test" command as well as support for
the TestMain() function, so we must work around these not existing in
Go 1.3.
The version of readlink on OS X does not have the -f flag - so we'll
just skip canonicalizing the path.
2015-05-18 12:11:33 -07:00
Jeff Grafton
b79fae5d71
Revert "Revert "Once again, use native Ginkgo test runner instead of cmd/e2e.""
...
This reverts commit 67da1ac0c8
.
2015-05-18 11:39:21 -07:00
Victor Marmol
d431e98604
Merge pull request #8234 from nak3/terminate-child-process-local-up-cluster
...
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-18 08:40:41 -07:00
Paul Morie
3b8e4d97a1
Run tests for third-party code
2015-05-16 16:52:23 -04:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Daniel Smith
cf337051e0
Merge pull request #7819 from nikhiljindal/etcdTranslation
...
Adding a script to update etcd objects as per the latest API Version
2015-05-15 18:28:36 -07:00
Prashanth Balasubramanian
4200033c0a
Add a simple master benchmark and a wrapper to run it.
2015-05-15 17:30:17 -07:00
Jeff Grafton
67da1ac0c8
Revert "Once again, use native Ginkgo test runner instead of cmd/e2e."
...
This change broke compilation on go 1.3 and running e2e tests on OS X.
This reverts commit 86b023fdd6
.
2015-05-15 16:41:55 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Kenjiro Nakayama
4c859c7e35
Ensuring that we never call kill with empty arguments in local-cluster-up
2015-05-16 07:50:31 +09:00
Quinton Hoole
c4fa78509d
Merge pull request #7653 from ixdy/native-ginkgo-runner
...
Once again, use native Ginkgo test runner instead of cmd/e2e
2015-05-15 15:29:19 -07:00
David Oppenheimer
b8c469e4f0
Merge pull request #8134 from nikhiljindal/test-go
...
Fixing the number of times our unit tests are run
2015-05-15 15:28:34 -07:00
Jeff Grafton
86b023fdd6
Once again, use native Ginkgo test runner instead of cmd/e2e.
...
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.
The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.
This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.
This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
intended to be supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
will run test specs in parallel. (Currently defaults to n, since some
tests are broken in this mode.)
Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Rohit Jnagal
bd0156c65a
Merge pull request #8204 from jlowdermilk/gke-todos
...
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Yifan Gu
621dc01f42
Remove 'auth-path' in the arguments for kubelet.
...
Otherwise kubelet will fail to create the client because it can't
find the nonexisting auth file.
2015-05-13 16:26:22 -07:00
Paul Morie
8fcf470167
Merge pull request #8174 from liggitt/local_up_cluster
...
Fix key generation in local-up-cluster.sh
2015-05-13 17:33:25 -04:00
Jeff Lowdermilk
3f3760a14a
Cleanup some todos for gke + rip out dead AuthConfig code
2015-05-13 13:54:02 -07:00
Tim Hockin
8e7970f2a1
mkdir -p in doc generation
2015-05-13 12:50:25 -07:00
nikhiljindal
0e9d7d1451
Fixing the number of times our unit tests are run
2015-05-13 09:56:13 -07:00
Jordan Liggitt
b552503c07
Fix key generation in local-up-cluster.sh
2015-05-13 10:04:40 -04:00
Robert Bailey
c47b9178b4
Replace the auth config file with a kubeconfig file when
...
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Max Forbes
579aed4161
Add zone to jenkins version-getting call.
2015-05-12 09:23:41 -07:00
Max Forbes
a161800e13
Allow Jenkins to get the version from the GKE server.
2015-05-11 17:31:29 -07:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906
JWT token generation/verification
2015-05-11 17:18:06 -04:00
saadali
94643ce6c9
Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is
...
disabled,
2015-05-11 12:31:31 -07:00
Nikhil Jindal
3d8f94ed59
Merge pull request #8040 from nak3/terminate-child-process-local-up-cluster
...
Terminate child process by cleanup() in local-up-cluster.sh
2015-05-11 10:11:28 -07:00
Jeff Lowdermilk
6523d18130
Future proof GKE kubeconfig handling in e2e driver
2015-05-11 09:57:54 -07:00
Kenjiro Nakayama
e39f29ca16
Terminate child process by cleanup() in local-up-cluster.sh
2015-05-11 00:07:22 +09:00
Shawn Smith
ecce796ee8
Use Fatalf
2015-05-10 13:08:55 +09:00
Justin SB
a442918d31
AWS: Don't try to copy gce_keys in jenkins e2e job
...
Should fix e2e builds.
For the AWS jenkins jobs, I've been using the secret plugin.
2015-05-09 08:55:35 -07:00
Max Forbes
590d3873ea
Make jenkins e2e runs reuse one key, take two.
2015-05-08 15:52:56 -07:00
Zach Loafman
c6400cab1f
Revert "Make jenkins e2e runs reuse one SSH key."
2015-05-08 15:46:42 -07:00
Max Forbes
41cc8027ab
Make jenkins e2e runs reuse one key.
2015-05-08 14:51:42 -07:00
saadali
7cc25842fa
Add control variables to Jenkins E2E script
2015-05-07 17:01:25 -07:00
CJ Cullen
fbd125e4e2
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:01:13 -07:00
Paul Morie
5c3bf0b08f
Remove unnecessary bind-mount from dockerized kubelet run
2015-05-06 15:38:17 -04:00
Paul Morie
fa1d065595
Add ability to dockerize kubelet in local cluster
2015-05-06 09:36:52 -04:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Yifan Gu
102a2c4269
hack/local-up-cluster.sh: Add env to enable rkt in local cluster.
...
This makes testing rkt easier.
2015-05-05 14:07:10 -07:00
Paul Morie
1625e231dd
Merge pull request #7343 from pweil-/security-context-types
...
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00
Eric Paris
63e3366581
Merge pull request #7757 from nak3/build_genbashcomp_with_make_all
...
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 13:47:11 -05:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Jeff Lowdermilk
87cdc3f032
Merge pull request #7672 from eparis/boilerplate-python
...
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
Jeff Lowdermilk
c1ae69da14
Merge pull request #7705 from bprashanth/rollingupdate_2
...
Reliable updates in rollingupdate
2015-05-05 09:23:25 -07:00
Kenjiro Nakayama
4c9f2d89ba
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 16:42:23 +09:00
Eric Paris
c9cd50dc49
Check python files for valid license boilerplate
2015-05-04 18:37:47 -04:00
Prashanth Balasubramanian
faa65cbd20
More reliable updates in rollingupdate
2015-05-04 15:29:30 -07:00
Daniel Smith
838b59cb4d
make benchmark able to run only specific packages
2015-05-04 14:28:37 -07:00
Clayton Coleman
dd8184247e
Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
...
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Jeff Lowdermilk
dda0af07b3
Merge pull request #7654 from eparis/boilerplate-speedup
...
Boilerplate speedup
2015-05-04 09:46:21 -07:00
Wojciech Tyczynski
690c991415
Merge pull request #7692 from BenTheElder/e2e_fixes
...
Fix typo in e2e
2015-05-04 12:01:22 +02:00
Wojciech Tyczynski
a7205b1fe9
Merge pull request #7685 from jayunit100/etcd-minor
...
(minor) Add pgrep debugging to etcd error
2015-05-04 11:21:02 +02:00
BenTheElder
129d7f8d26
Fix typo in e2e
...
Correct comment in e2e.go ’…at least 3 minions running’ -> ‘…at least minMinionCount
minions running’.
2015-05-04 04:42:07 -04:00
jayunit100
cdf068495a
(minor) Add pgrep debugging to etcd error
2015-05-03 16:59:45 +00:00
Eric Paris
f4d0b8df3a
Do all boilerplate checks in 1 python call
...
It's just a little bit faster.....
BEFORE:
$ time hack/verify-boilerplate.sh
real 0m9.378s
user 0m3.405s
sys 0m13.906s
AFTER:
$ time hack/verify-boilerplate.sh
real 0m0.181s
user 0m0.114s
sys 0m0.068s
2015-05-01 20:46:57 -04:00