dist/ci: provide OBS_API parameter.
This commit is contained in:
6
dist/ci/osc-init
vendored
6
dist/ci/osc-init
vendored
@@ -1,9 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
OBS_API="${OBS_API:-https://api.opensuse.org/public}"
|
||||
|
||||
cat << eom > ~/.oscrc
|
||||
[general]
|
||||
apiurl = https://api.opensuse.org
|
||||
[https://api.opensuse.org]
|
||||
apiurl = $OBS_API
|
||||
[$OBS_API]
|
||||
user = ${OBS_USER:-example}
|
||||
pass = ${OBS_PASS:-example}
|
||||
email = ${OBS_EMAIL:-example@example.com}
|
||||
|
||||
Reference in New Issue
Block a user