Skip to content

Commit

Permalink
Update codemagic.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrebane committed Feb 21, 2025
1 parent 8b56a34 commit 469479b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ workflows:
rm -f app/src/main/assets/tslFiles/eu-lotl.xml
# Download latest 'eu-lotl.xml' file"
echo "Downloading latest 'eu-lotl.xml' file
echo "Downloading latest 'eu-lotl.xml' file"
wget "https://ec.europa.eu/tools/lotl/eu-lotl.xml" -P app/src/main/assets/tslFiles
# Get repo.ria values from environmental variables, as CodeMagic doesn't have access to repo.ria domain
Expand All @@ -73,14 +73,13 @@ workflows:
echo $REPO_RIA_PUB_KEY | base64 --decode > app/src/main/assets/config/default-config.pub
echo $REPO_RIA_RSA | base64 --decode > app/src/main/assets/config/default-config.rsa
echo $REPO_RIA_TRUSTED_TEST_MP | base64 --decode > app/src/main/assets/tslFiles/trusted-test-mp.xml
echo $REPO_RIA_TL_MP_TEST_EE | base64 --decode > app/src/main/assets/tslFiles/tl-mp-test-EE.xml
# EE_T.xml is too large to use in environmental variable. Using compressed variant
echo $REPO_RIA_EE_TSL | base64 --decode | gunzip > app/src/main/assets/tslFiles/EE_T.xml
else
echo "Not using repo.ria configuration"
fi
ls -lahtR app/src/main/assets
if [ -f "app/src/main/assets/tslFiles/eu-lotl.xml" ]; then
echo "Getting TSL (local LOTL)"
# Repo.ria TSL files already in assets folder, doesn't need to download separately anymore
Expand Down

0 comments on commit 469479b

Please sign in to comment.