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
8c8c7d4e
Commit
8c8c7d4e
authored
Jul 07, 2016
by
Erick Fejta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate a service account if this is defined
parent
feea3829
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
e2e-runner.sh
hack/jenkins/e2e-runner.sh
+10
-5
No files found.
hack/jenkins/e2e-runner.sh
View file @
8c8c7d4e
...
...
@@ -151,6 +151,11 @@ if running_in_docker; then
fi
fi
if
[[
-n
"
${
KUBEKINS_SERVICE_ACCOUNT_FILE
:-}
"
]]
;
then
echo
'Activating service account...'
# No harm in doing this multiple times.
gcloud auth activate-service-account
--key-file
=
"
${
KUBEKINS_SERVICE_ACCOUNT_FILE
}
"
fi
# Install gcloud from a custom path if provided. Used to test GKE with gcloud
# at HEAD, release candidate.
# TODO: figure out how to avoid installing the cloud sdk twice if run inside Docker.
...
...
@@ -345,11 +350,11 @@ if [[ -n "${JENKINS_PUBLISHED_SKEW_VERSION:-}" ]]; then
if
[[
"
${
JENKINS_USE_SKEW_TESTS
:-}
"
!=
"true"
]]
;
then
# Back out into the old tests now that we've downloaded & maybe upgraded.
cd
../kubernetes_old
# Append kubectl-path of skewed kubectl to test args, since we always
# want that to use the skewed kubectl version:
#
# - for upgrade jobs, we want kubectl to be at the same version as master.
# - for client skew tests, we want to use the skewed kubectl (that's what we're testing).
# Append kubectl-path of skewed kubectl to test args, since we always
# want that to use the skewed kubectl version:
#
# - for upgrade jobs, we want kubectl to be at the same version as master.
# - for client skew tests, we want to use the skewed kubectl (that's what we're testing).
GINKGO_TEST_ARGS
=
"
${
GINKGO_TEST_ARGS
:-}
--kubectl-path=
$(
pwd
)
/../kubernetes/cluster/kubectl.sh"
fi
fi
...
...
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