[pegleg] - set passphrase and salt to pegleg

Setting PEGLEG_PASSPHRASE and PEGLEG_SALT to pegleg container
to use it for encryption/decryption.

Change-Id: I2c5c01fb0ef7366dbc35d4f8730ac1aa9ca63db1
This commit is contained in:
Sirajudeen 2019-04-10 15:12:59 -07:00 committed by Yasin, Siraj (SY495P)
parent 75ff355eec
commit b6aff3a8a5
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,8 @@ collect_design_docs() {
-v "${HOME}/.ssh":/root/.ssh \
-v "${REPO_ROOT}":/workspace \
-v "${DEFINITION_DEPOT}":/collect \
-e "PEGLEG_PASSPHRASE=$PEGLEG_PASSPHRASE" \
-e "PEGLEG_SALT=$PEGLEG_SALT" \
"${IMAGE_PEGLEG_CLI}" \
$(render_pegleg_cli)
}

View File

@ -69,6 +69,8 @@ collect_rendered_doc() {
-v "${HOME}/.ssh":/root/.ssh \
-v "${REPO_ROOT}":/workspace \
-v "${RENDERED_DEPOT}":/collect \
-e "PEGLEG_PASSPHRASE=$PEGLEG_PASSPHRASE" \
-e "PEGLEG_SALT=$PEGLEG_SALT" \
"${IMAGE_PEGLEG_CLI}" \
$(render_pegleg_cli)
}