bbfdm/gitlab-ci/pipeline_setup.sh
Vivek Kumar Dutta 63fad00eee Multiple improvements
- New input daemon option, 'service_name' to easily configure micro-service
- service_name used with 'dm_' prefix in process name
- service_name with 'dm_' prefix and '_inst' suffix for forked instance updater
- Unified signal handler for micro-service and main process
- Cli argument '-m' overloaded to support module name in place of plugin path
- Test alignments and improvements
2024-04-15 13:46:49 +00:00

9 lines
253 B
Bash
Executable file

#!/bin/bash
echo "# Setting pipeline ci credentials"
if [ -n "${CI_SERVER_HOST}" ]; then
echo "https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}" > ~/.git-credential
git config --global credential.helper "store --file ~/.git-credential"
fi