Sha256: 215c952501d551039e9e83ea479e815c4bbd704883d24e384487f4b683f3679f

Contents?: true

Size: 405 Bytes

Versions: 1

Compression:

Stored size: 405 Bytes

Contents

#!/usr/bin/env bash

set -eo pipefail

function exit_with_msg {
    echo $1
    exit $2
}

echo -n "" > docker.env

env_vars=(
    NOTIFY_API_URL
    SERVICE_ID
    API_KEY
    FUNCTIONAL_TEST_EMAIL
    FUNCTIONAL_TEST_NUMBER
    EMAIL_TEMPLATE_ID
    SMS_TEMPLATE_ID
    LETTER_TEMPLATE_ID
    EMAIL_REPLY_TO_ID
)

for env_var in "${env_vars[@]}"; do
    echo "${env_var}=${!env_var}" >> docker.env
done

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
notifications-ruby-client-2.3.0 bin/generate_docker_env.sh