Sha256: b65a5bdfcd944f4452e2b663c65c2f5391cb8a3b45a6d9a00f53f2f2233bd667

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 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
)

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notifications-ruby-client-2.1.0 bin/generate_docker_env.sh
notifications-ruby-client-2.0.0 bin/generate_docker_env.sh
notifications-ruby-client-1.1.2 bin/generate_docker_env.sh
notifications-ruby-client-1.1.1 bin/generate_docker_env.sh