Skip to content

Commit c11c129

Browse files
committed
Add test assertions for org and downloads domain
1 parent 20358b8 commit c11c129

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.circleci/test-deploy.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
- run:
3434
name: Assert environment variables have been set
3535
command: |
36+
if [ $CLOUDSMITH_ORGANISATION != "financial-times" ]
37+
then
38+
echo "Test failed: CLOUDSMITH_ORGANISATION has not been set correctly."
39+
exit 1
40+
fi
3641
if [ $CLOUDSMITH_SERVICE_IDENTIFIER != "circleci-orb-testing" ]
3742
then
3843
echo "Test failed: CLOUDSMITH_SERVICE_IDENTIFIER has not been set."
@@ -56,6 +61,11 @@ jobs:
5661
- run:
5762
name: Assert environment variables have been set
5863
command: |
64+
if [ $CLOUDSMITH_DOWNLOADS_DOMAIN != "packages.ft.com" ]
65+
then
66+
echo "Test failed: CLOUDSMITH_DOWNLOADS_DOMAIN has not been set correctly."
67+
exit 1
68+
fi
5969
if [ -z $CLOUDSMITH_PIP_INDEX_URL ]
6070
then
6171
echo "Test failed: CLOUDSMITH_PIP_INDEX_URL has not been set."

0 commit comments

Comments
 (0)