Logo
Explore Help
Sign In
yudaike/openSUSE-release-tools
1
0
Fork 0
You've already forked openSUSE-release-tools
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
18234ae19d019ac853f0892d4da5aa8d158a84c6
openSUSE-release-tools/dist/ci/osc-credentials

14 lines
261 B
Plaintext
Raw Normal View History

dist/ci: rework spec.sh as obs-build-target using `osc build`. Instead of performing a slim rpm build and check directly inside the container a proper build is performed using `osc build`. The target package is checked out the _service file pointed at the local copy and then `osc service disabledrun` before building.
2017-09-01 17:23:13 -05:00
#!/usr/bin/python
try:
from osc import conf
except:
import sys
sys.exit()
apiurl = conf.config['apiurl']
cp = conf.get_configParser()
dist/ci: provide OBS_API parameter.
2017-09-01 18:34:34 -05:00
for key in ('apiurl', 'user', 'pass', 'email'):
dist/ci: rework spec.sh as obs-build-target using `osc build`. Instead of performing a slim rpm build and check directly inside the container a proper build is performed using `osc build`. The target package is checked out the _service file pointed at the local copy and then `osc service disabledrun` before building.
2017-09-01 17:23:13 -05:00
print('{}="{}"'.format(key, cp.get(apiurl, key, raw=True)))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 40ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API