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
f9b6b702
Commit
f9b6b702
authored
Jul 25, 2016
by
Jeff Grafton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Kubekins service account in node e2e tests on Jenkins
parent
212ded55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
e2e-node-jenkins.sh
test/e2e_node/jenkins/e2e-node-jenkins.sh
+11
-0
No files found.
test/e2e_node/jenkins/e2e-node-jenkins.sh
View file @
f9b6b702
...
...
@@ -40,6 +40,17 @@ WORKSPACE=${WORKSPACE:-"/tmp/"}
ARTIFACTS
=
${
WORKSPACE
}
/_artifacts
mkdir
-p
${
ARTIFACTS
}
if
[[
-f
"
${
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
}
"
# https://developers.google.com/identity/protocols/application-default-credentials
export
GOOGLE_APPLICATION_CREDENTIALS
=
"
${
KUBEKINS_SERVICE_ACCOUNT_FILE
}
"
unset
KUBEKINS_SERVICE_ACCOUNT_FILE
elif
[[
-n
"
${
KUBEKINS_SERVICE_ACCOUNT_FILE
:-}
"
]]
;
then
echo
"ERROR: cannot access service account file at:
${
KUBEKINS_SERVICE_ACCOUNT_FILE
}
"
fi
go run
test
/e2e_node/runner/run_e2e.go
--logtostderr
--vmodule
=
*
=
4
--ssh-env
=
"gce"
\
--zone
=
"
$GCE_ZONE
"
--project
=
"
$GCE_PROJECT
"
--hosts
=
"
$GCE_HOSTS
"
\
--images
=
"
$GCE_IMAGES
"
--image-project
=
"
$GCE_IMAGE_PROJECT
"
\
...
...
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