diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2020-01-07 15:28:55 +0100 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2020-01-07 15:28:55 +0100 |
commit | 8c7373d8c5c432bc0aca3c508edc2948659f3136 (patch) | |
tree | e3e0d751974d3f6a2ab842b074a2cb56894971a9 /S3Ptools | |
parent | 049202bf4fa1b9d3ccd6a83fa00c8e87ce4ebe04 (diff) |
Add support for using SSH
This patch changes "create_config.py" script interface and its
behaviour:
* by default anonymous Gerrit is used for repository cloning and code
URLS,
* external git mirror for code URLs might be provided but there is no
default one,
* SSH credentials might be provided for repository cloning.
Cloning repository using SSH is required due to current ONAP
infrastructure HTTPS bandwidth constraints.
User wishing to use this setup should provide two environmental
variables:
1) API_USER - Gerrit username for cloning repositories via SSH
2) API_KEY - Gerrit API key (User menu -> Settings -> HTTP Credentials)
Be aware that a new RSA key will be generated and added to the user's
Gerrit account for purposes of Hound code search operation inside a VM.
Do remember to delete it (User menu -> Settings -> SSH keys) after
evaluating this environment.
Issue-ID: ONAPARC-540
Change-Id: I3e98dfa8582322d5b3bbbbf377d748faea0da57b
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'S3Ptools')
0 files changed, 0 insertions, 0 deletions