Sha256: 51044b8ad806a697d97333fb03f5cbdb80495351de4b67ac44285c00a9fb92f0

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 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
    SMS_SENDER_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.4.0 bin/generate_docker_env.sh