mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Use pipeline credentials for clonning
This commit is contained in:
parent
05de173f9f
commit
9aff998ac5
2 changed files with 5 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ run_tools_test:
|
|||
image: ${COMMON_IMAGE}
|
||||
allow_failure: false
|
||||
script:
|
||||
- "./gitlab-ci/setup.sh"
|
||||
- "./gitlab-ci/tools-test.sh"
|
||||
- "./gitlab-ci/generate_supported_dm.sh"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
echo "# Preparation script ..."
|
||||
|
||||
echo "Setting Git config"
|
||||
echo "https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}" > ~/.git-credential
|
||||
git config --global credential.helper "store --file ~/.git-credential"
|
||||
|
||||
# link '/bin/sh' to bash instead of dash
|
||||
ln -sf bash /bin/sh
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue