Generic python-gitlab.cfg
This commit is contained in:
parent
c07ca2c4c4
commit
3b243d8ddd
2 changed files with 12 additions and 5 deletions
|
@ -23,8 +23,15 @@ before_script:
|
||||||
- ssh-keyscan $CI_REPO_HOST | tee ~/.ssh/known_hosts
|
- ssh-keyscan $CI_REPO_HOST | tee ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
## get API token from secret variable
|
## get API token from secret variable
|
||||||
- cp python-gitlab.cfg $HOME/.python-gitlab.cfg
|
- echo "\
|
||||||
- echo "private_token = ${PRIVATE_API_TOKEN}" >> $HOME/.python-gitlab.cfg
|
[global]
|
||||||
|
default = default
|
||||||
|
ssl_verify = true
|
||||||
|
|
||||||
|
[default]
|
||||||
|
url = $(echo ${CI_PROJECT_URL} | cut -d '/' -f -3)
|
||||||
|
api_version = 4
|
||||||
|
private_token = ${PRIVATE_API_TOKEN}" > $HOME/.python-gitlab.cfg
|
||||||
- python3 setup.py install
|
- python3 setup.py install
|
||||||
|
|
||||||
deadlines:
|
deadlines:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[global]
|
[global]
|
||||||
default = ips
|
default = default
|
||||||
ssl_verify = true
|
ssl_verify = true
|
||||||
|
|
||||||
[ips]
|
[default]
|
||||||
url = https://ips1.ibr.cs.tu-bs.de
|
url = $(echo ${CI_PROJECT_URL} | cut -d '/' -f -3)
|
||||||
api_version = 4
|
api_version = 4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue