Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matjazv committed Oct 4, 2024
1 parent 877a9f0 commit 831c985
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions scripts/lisk/docker/dev/setEnvVariables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ set -eu
echo "Setting environment variables within the current shell on the host"

# Retreive env vars from S3 bucket and source them
file_name=across-relayer-dev.env
aws s3 cp s3://lisk-envs/$file_name .${file_name}
source .${file_name}
rm -f .${file_name}
source_env_file_name=across-relayer-dev.env
env_file_name=.${source_env_file_name}

aws s3 cp s3://lisk-envs/$source_env_file_name ${env_file_name}
source ${env_file_name}
rm -f ${env_file_name}

echo "Finished setting all the environment variables within the current shell on the host"
10 changes: 6 additions & 4 deletions scripts/lisk/docker/setEnvVariables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ set -eu
echo "Setting environment variables within the current shell on the host"

# Retreive env vars from S3 bucket and source them
file_name=across-relayer-mainnet.env
aws s3 cp s3://lisk-envs/$file_name .${file_name}
source .${file_name}
rm -f .${file_name}
source_env_file_name=across-relayer-mainnet.env
env_file_name=.${source_env_file_name}

aws s3 cp s3://lisk-envs/$source_env_file_name ${env_file_name}
source ${env_file_name}
rm -f ${env_file_name}

echo "Finished setting all the environment variables within the current shell on the host"

0 comments on commit 831c985

Please sign in to comment.