Removing legacy Git password script
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2023-03-02 18:30:04 +01:00
parent e15f24612f
commit 03ee38cf8c
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -10,17 +10,9 @@ clone:
steps:
- name: Initilizing submodules
image: alpine/git
environment:
GIT_ASKPASS: "/bin/git-askpass-from-env"
commands:
# Installing little script to get git password from environment.
- wget https://download.ad5001.eu/other/git-askpass-from-env.sh
- mv git-askpass-from-env.sh /bin/git-askpass-from-env
- chmod +x /bin/git-askpass-from-env
# Changing submodule URL to https://<USERNAME>@git.ad5001.eu/Ad5001/omegamma.git
- git submodule init
- git config submodule.sub/omegamma.url https://$DRONE_GIT_USERNAME@git.ad5001.eu/Ad5001/omegamma.git
# Fetching submodules
- git submodule init
- git submodule update --init --recursive
# - name: Build dev.ad5001.eu