mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-18 19:59:12 +00:00
gitlab-ci: ensure buildserver env vars are always set
GitLab CI runs the Docker images in a way that makes it not a login shell. Files in /etc/profile.d are only sourced automatically in a login shell, so it needs to happen manually here.
This commit is contained in:
parent
4959f3c30d
commit
125a378a0b
1 changed files with 2 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ fdroid build:
|
|||
- apt-get update
|
||||
- apt-get dist-upgrade
|
||||
|
||||
- source /etc/profile.d/bsenv.sh
|
||||
- test -n "$fdroidserver" || source /etc/profile.d/bsenv.sh
|
||||
|
||||
# TODO remove sdkmanager install once it is included in the buildserver image
|
||||
- git clone --depth=1 --branch=0.5.2 https://gitlab.com/fdroid/sdkmanager.git
|
||||
|
|
@ -335,6 +335,7 @@ pages:
|
|||
- apt-get update
|
||||
- apt-get dist-upgrade
|
||||
|
||||
- test -n "$fdroidserver" || source /etc/profile.d/bsenv.sh
|
||||
- test -d $fdroidserver || mkdir $fdroidserver
|
||||
- git ls-remote https://gitlab.com/fdroid/fdroidserver.git master
|
||||
- curl --silent https://gitlab.com/fdroid/fdroidserver/-/archive/master/fdroidserver-master.tar.gz
|
||||
|
|
|
|||
Loading…
Reference in a new issue