Skip to content

Commit

Permalink
fix: add extra flags for handling newlines (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
olaughter authored Oct 25, 2023
1 parent 0f0f8dc commit c00f832
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ mkdir -p $(dirname $VESPA_KEY_LOCATION)
mkdir -p $(dirname $VESPA_CERT_LOCATION)

# These values where initially encoded from the key and cert with:
# $ openssl base64 -in <file>
echo "${VESPA_PRIVATE_KEY}" | openssl base64 -d --out ${VESPA_KEY_LOCATION}
echo "${VESPA_PUBLIC_CERT}" | openssl base64 -d --out ${VESPA_CERT_LOCATION}
# $ openssl base64 -a -A -in <file>
echo "${VESPA_PRIVATE_KEY}" | openssl base64 -d -a -A --out ${VESPA_KEY_LOCATION}
echo "${VESPA_PUBLIC_CERT}" | openssl base64 -d -a -A --out ${VESPA_CERT_LOCATION}

python -m cli.index_data --s3 "${INDEXER_INPUT_PREFIX}" --index-type vespa

0 comments on commit c00f832

Please sign in to comment.