mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
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.
This commit is contained in:
parent
c2171e8c98
commit
a442918d31
@ -150,9 +150,13 @@ if [[ ! "${CIRCLECI:-}" == "true" ]]; then
|
|||||||
# Move the permissions to jenkins.
|
# Move the permissions to jenkins.
|
||||||
# $ sudo chown -R jenkins /var/lib/jenkins/gce_keys/
|
# $ sudo chown -R jenkins /var/lib/jenkins/gce_keys/
|
||||||
# $ sudo chgrp -R jenkins /var/lib/jenkins/gce_keys/
|
# $ sudo chgrp -R jenkins /var/lib/jenkins/gce_keys/
|
||||||
mkdir -p ${WORKSPACE}/.ssh/
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
cp /var/lib/jenkins/gce_keys/google_compute_engine ${WORKSPACE}/.ssh/
|
echo "Skipping SSH key copying for AWS"
|
||||||
cp /var/lib/jenkins/gce_keys/google_compute_engine.pub ${WORKSPACE}/.ssh/
|
else
|
||||||
|
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/
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
md5sum kubernetes*.tar.gz
|
md5sum kubernetes*.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user