Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ff7c2802
Commit
ff7c2802
authored
Jun 26, 2016
by
k8s-merge-robot
Committed by
GitHub
Jun 26, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27163 from ixdy/curl-flakes
Automatic merge from submit-queue Pass --keepalive-time 2 to curl to fix unexpected EOF flakes I hope this fixes #22967.
parents
e2351201
e89e2621
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
dockerized-e2e-runner.sh
hack/jenkins/dockerized-e2e-runner.sh
+1
-1
e2e-runner.sh
hack/jenkins/e2e-runner.sh
+3
-3
upload-finished.sh
hack/jenkins/upload-finished.sh
+1
-1
upload-started.sh
hack/jenkins/upload-started.sh
+1
-1
etcd.sh
hack/lib/etcd.sh
+2
-2
No files found.
hack/jenkins/dockerized-e2e-runner.sh
View file @
ff7c2802
...
...
@@ -63,4 +63,4 @@ docker run --rm=true -i \
"
${
docker_extra_args
[@]
:+
${
docker_extra_args
[@]
}}
"
\
"
${
METADATA_SERVER_ADD_HOST_ARGS
[@]
:+
${
METADATA_SERVER_ADD_HOST_ARGS
[@]
}}
"
\
gcr.io/google_containers/kubekins-test:0.11
\
bash
-c
"bash <(curl -fsS --retry 3 'https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/e2e-runner.sh')"
bash
-c
"bash <(curl -fsS --retry 3
--keepalive-time 2
'https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/e2e-runner.sh')"
hack/jenkins/e2e-runner.sh
View file @
ff7c2802
...
...
@@ -141,7 +141,7 @@ function dump_cluster_logs() {
### Pre Set Up ###
if
running_in_docker
;
then
curl
-fsSL
--retry
3
-o
"
${
WORKSPACE
}
/google-cloud-sdk.tar.gz"
'https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz'
curl
-fsSL
--retry
3
-
-keepalive-time
2
-
o
"
${
WORKSPACE
}
/google-cloud-sdk.tar.gz"
'https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz'
install_google_cloud_sdk_tarball
"
${
WORKSPACE
}
/google-cloud-sdk.tar.gz"
/
fi
...
...
@@ -269,7 +269,7 @@ cd kubernetes
# Upload build start time and k8s version to GCS, but not on PR Jenkins.
# On PR Jenkins this is done before the build.
if
[[
!
"
${
JOB_NAME
}
"
=
~
-pull-
]]
;
then
JENKINS_BUILD_STARTED
=
true
bash <
(
curl
-fsS
--retry
3
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
)
JENKINS_BUILD_STARTED
=
true
bash <
(
curl
-fsS
--retry
3
--keepalive-time
2
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
)
fi
# Have cmd/e2e run by goe2e.sh generate JUnit report in ${WORKSPACE}/junit*.xml
...
...
@@ -287,7 +287,7 @@ if [[ ( ${KUBERNETES_PROVIDER} == "gce" || ${KUBERNETES_PROVIDER} == "gke" ) &&
gcp_list_resources
=
"true"
# Always pull the script from HEAD, overwriting the local one if it exists.
# We do this to pick up fixes if we are running tests from a branch or tag.
curl
-fsS
--retry
3
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/cluster/gce/list-resources.sh"
>
"
${
gcp_list_resources_script
}
"
curl
-fsS
--retry
3
--keepalive-time
2
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/cluster/gce/list-resources.sh"
>
"
${
gcp_list_resources_script
}
"
else
gcp_list_resources
=
"false"
fi
...
...
hack/jenkins/upload-finished.sh
View file @
ff7c2802
...
...
@@ -39,5 +39,5 @@ echo
if
[[
-x
./hack/jenkins/upload-to-gcs.sh
]]
;
then
./hack/jenkins/upload-to-gcs.sh
else
curl
-fsS
--retry
3
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
| bash -
curl
-fsS
--retry
3
--keepalive-time
2
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
| bash -
fi
hack/jenkins/upload-started.sh
View file @
ff7c2802
...
...
@@ -34,5 +34,5 @@ echo
if
[[
-x
./hack/jenkins/upload-to-gcs.sh
]]
;
then
./hack/jenkins/upload-to-gcs.sh
else
curl
-fsS
--retry
3
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
| bash -
curl
-fsS
--retry
3
--keepalive-time
2
"https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/jenkins/upload-to-gcs.sh"
| bash -
fi
hack/lib/etcd.sh
View file @
ff7c2802
...
...
@@ -74,12 +74,12 @@ kube::etcd::install() {
cd
"
${
KUBE_ROOT
}
/third_party"
if
[[
$(
uname
)
==
"Darwin"
]]
;
then
download_file
=
"etcd-v
${
ETCD_VERSION
}
-darwin-amd64.zip"
curl
-fsSLO
--retry
3 https://github.com/coreos/etcd/releases/download/v
${
ETCD_VERSION
}
/
"
${
download_file
}
"
curl
-fsSLO
--retry
3
--keepalive-time
2
https://github.com/coreos/etcd/releases/download/v
${
ETCD_VERSION
}
/
"
${
download_file
}
"
unzip
-o
"
${
download_file
}
"
ln
-fns
"etcd-v
${
ETCD_VERSION
}
-darwin-amd64"
etcd
rm
"
${
download_file
}
"
else
curl
-fsSL
--retry
3 https://github.com/coreos/etcd/releases/download/v
${
ETCD_VERSION
}
/etcd-v
${
ETCD_VERSION
}
-linux-amd64
.tar.gz |
tar
xzf -
curl
-fsSL
--retry
3
--keepalive-time
2
https://github.com/coreos/etcd/releases/download/v
${
ETCD_VERSION
}
/etcd-v
${
ETCD_VERSION
}
-linux-amd64
.tar.gz |
tar
xzf -
ln
-fns
"etcd-v
${
ETCD_VERSION
}
-linux-amd64"
etcd
fi
kube::log::info
"etcd v
${
ETCD_VERSION
}
installed. To use:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment