mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 12:19:10 +00:00
gitlab-ci: include git config from production buildserver
This commit is contained in:
parent
acf70f5ff2
commit
52f0d7ac77
1 changed files with 7 additions and 0 deletions
|
|
@ -361,6 +361,13 @@ fdroid build:
|
|||
# make sure .gradle stores inside $CI_PROJECT_DIR to make it cacheable
|
||||
- ln -s $home_vagrant/.gradle $CI_PROJECT_DIR/.gradle
|
||||
|
||||
# Set up git config something like the production buildserver. The
|
||||
# difference is that in production, this is installed on the
|
||||
# buildserver VM host, while here it is basically in the
|
||||
# buildserver VM.
|
||||
# https://gitlab.com/fdroid/fdroid-bootstrap-buildserver/-/merge_requests/30
|
||||
- curl --silent 'https://gitlab.com/fdroid/fdroid-bootstrap-buildserver/-/raw/master/roles/production_hardening/files/gitconfig' >> $home_vagrant/.gitconfig
|
||||
|
||||
- for d in logs tmp unsigned $home_vagrant/build $home_vagrant/.android $home_vagrant/.gradle $ANDROID_HOME; do
|
||||
test -d $d || mkdir $d;
|
||||
chown -R vagrant $d;
|
||||
|
|
|
|||
Loading…
Reference in a new issue