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
c6400cab
Commit
c6400cab
authored
May 08, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Make jenkins e2e runs reuse one SSH key."
parent
6cf76058
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
23 deletions
+1
-23
e2e.sh
hack/jenkins/e2e.sh
+1
-23
No files found.
hack/jenkins/e2e.sh
View file @
c6400cab
...
@@ -34,29 +34,6 @@ if [[ "${CIRCLECI:-}" == "true" ]]; then
...
@@ -34,29 +34,6 @@ if [[ "${CIRCLECI:-}" == "true" ]]; then
WORKSPACE
=
`
pwd
`
WORKSPACE
=
`
pwd
`
else
else
# Jenkins?
# Jenkins?
# Copy GCE keys so we don't keep cycling them.
# To set this up, you must know the <project>, <zone>, and <instance> that
# on which your jenkins jobs are running. Then do:
#
# # Get into the instance.
# $ gcloud compute ssh --project="<prj>" ssh --zone="<zone>" <instance>
#
# # Generate a key by ssh'ing into itself, then exit.
# $ gcloud compute ssh --project="<prj>" ssh --zone="<zone>" <instance>
# $ ^D
#
# # Copy the keys to the desired location, e.g. /var/lib/jenkins/gce_keys/
# $ sudo mkdir -p /var/lib/jenkins/gce_keys/
# $ sudo cp ~/.ssh/google_compute_engine /var/lib/jenkins/gce_keys/
# $ sudo cp ~/.ssh/google_compute_engine.pub /var/lib/jenkins/gce_keys/
#
# Move the permissions to jenkins.
# $ sudo chown -R jenkins /var/lib/jenkins/gce_keys/
# $ sudo chgrp -R jenkins /var/lib/jenkins/gce_keys/
mkdir
-p
${
WORKSPACE
}
/.ssh/
cp
/var/lib/jenkins/gce_keys/google_compute_engine
${
WORKSPACE
}
/.ssh/
cp
/var/lib/jenkins/gce_keys/google_compute_engine.pub
${
WORKSPACE
}
/.ssh/
export
HOME
=
${
WORKSPACE
}
# Nothing should want Jenkins $HOME
export
HOME
=
${
WORKSPACE
}
# Nothing should want Jenkins $HOME
fi
fi
...
@@ -97,6 +74,7 @@ echo "E2E_OPT: ${E2E_OPT}" # hack/e2e.go options
...
@@ -97,6 +74,7 @@ echo "E2E_OPT: ${E2E_OPT}" # hack/e2e.go options
echo
"E2E_SET_CLUSTER_API_VERSION:
${
E2E_SET_CLUSTER_API_VERSION
:-
<not set>
}
"
# optional, for GKE, set CLUSTER_API_VERSION to git hash
echo
"E2E_SET_CLUSTER_API_VERSION:
${
E2E_SET_CLUSTER_API_VERSION
:-
<not set>
}
"
# optional, for GKE, set CLUSTER_API_VERSION to git hash
echo
"--------------------------------------------------------------------------------"
echo
"--------------------------------------------------------------------------------"
# AWS variables
# AWS variables
export
KUBE_AWS_INSTANCE_PREFIX
=
${
E2E_CLUSTER_NAME
}
export
KUBE_AWS_INSTANCE_PREFIX
=
${
E2E_CLUSTER_NAME
}
export
KUBE_AWS_ZONE
=
${
E2E_ZONE
}
export
KUBE_AWS_ZONE
=
${
E2E_ZONE
}
...
...
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