Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Include the ssh keys to be used in container. #658

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

kerneltime
Copy link
Contributor

@kerneltime kerneltime commented Oct 27, 2016

This the updated final fix. SSH key management is in line with what drone recommends.
SSH key to be used is part of .drone.sec and decrypted and used during build.

@@ -152,8 +152,8 @@ test: test-esx build

# test-esx is a quick unittest for ESX Python code.
# Deploys, runs and clean unittests (i.e. all files *_test.py) on ESX
SSH := $(DEBUG) ssh -kTax -o StrictHostKeyChecking=no
SCP := $(DEBUG) scp -r -q -o StrictHostKeyChecking=no
SSH := $(DEBUG) ssh $(SSH_KEY_OPT) -kTax -o StrictHostKeyChecking=no
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where it is defined ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 48 in drone.yml

Copy link
Contributor

@pdhamdhere pdhamdhere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kerneltime kerneltime force-pushed the runci/debug.kerneltime branch 2 times, most recently from 8deb9fa to ce12a7f Compare October 27, 2016 23:19
SSH keys need to be encrypted and stored in .drone.sec
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants