Skip to content

Commit c095819

Browse files
committed
chore: add env vars to bash env
1 parent b42fd37 commit c095819

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ executors:
1515
AZCOPY_SPA_APPLICATION_ID: $AZURE_CLIENT_ID
1616
AZCOPY_SPA_CLIENT_SECRET: $AZURE_CLIENT_SECRET
1717
AZCOPY_TENANT_ID: $AZURE_TENANT_ID
18-
TEST_VAR: $TEST_VAR
1918
parameters:
2019
# In order to update the VRT baseline images:
2120
# 1. Copy the hash of the latest golden images cache from the left sidebar in the VRT preview link (not to be confused with the arbitrary hash in the URL).
@@ -45,8 +44,12 @@ commands:
4544
source $BASH_ENV
4645
azcopy --version
4746
48-
# print environment variables
49-
echo ${TEST_VAR}
47+
# Add the environment variables to the bash environment
48+
echo 'export AZCOPY_AUTO_LOGIN_TYPE="SPN"' >> $BASH_ENV
49+
echo 'export AZCOPY_SPA_APPLICATION_ID="$AZURE_CLIENT_ID"' >> $BASH_ENV
50+
echo 'export AZCOPY_SPA_CLIENT_SECRET="$AZURE_CLIENT_SECRET"' >> $BASH_ENV
51+
echo 'export AZCOPY_TENANT_ID="$AZURE_TENANT_ID"' >> $BASH_ENV
52+
source $BASH_ENV
5053
downstream:
5154
steps:
5255
- checkout

0 commit comments

Comments
 (0)