Build config using bash script
This commit is contained in:
parent
bb3737b1a3
commit
946dbd22e6
2 changed files with 8 additions and 10 deletions
12
build-config.sh
Executable file
12
build-config.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
cat > python-gitlab.cfg <<EOF
|
||||
[global]
|
||||
default = default
|
||||
ssl_verify = true
|
||||
|
||||
[default]
|
||||
url = $(echo ${CI_PROJECT_URL} | cut -d '/' -f -3)
|
||||
api_version = 4
|
||||
private_token = ${PRIVATE_API_TOKEN}
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue