1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

buildserver: setup-env-vars: add var for ~vagrant for CI jobs

The CI jobs need to do a little setup based on the 'vagrant' user's $HOME.
This commit is contained in:
Hans-Christoph Steiner 2021-12-23 21:38:34 +01:00
parent 57447f18e1
commit 4e310e3a59
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -12,6 +12,8 @@ echo "# generated on "`date` > $bsenv
echo export ANDROID_HOME=$1 >> $bsenv echo export ANDROID_HOME=$1 >> $bsenv
echo 'export PATH=$PATH:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:/opt/gradle/bin' >> $bsenv echo 'export PATH=$PATH:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:/opt/gradle/bin' >> $bsenv
echo "export DEBIAN_FRONTEND=noninteractive" >> $bsenv echo "export DEBIAN_FRONTEND=noninteractive" >> $bsenv
echo 'export home_vagrant=/home/vagrant' >> $bsenv
echo 'export fdroidserver=$home_vagrant/fdroidserver' >> $bsenv
chmod 0644 $bsenv chmod 0644 $bsenv