feat: add same multiple option
This commit is contained in:
parent
f2e3f37201
commit
2019eca6df
1 changed files with 8 additions and 3 deletions
|
@ -13,6 +13,11 @@ class GitlabRunner:
|
||||||
for k, v in options.items():
|
for k, v in options.items():
|
||||||
if v is False:
|
if v is False:
|
||||||
opts.append('--%s=false' % k)
|
opts.append('--%s=false' % k)
|
||||||
|
else:
|
||||||
|
if isinstance(v, list):
|
||||||
|
for av in v:
|
||||||
|
opts.append('--%s' % k)
|
||||||
|
opts.append(str(av))
|
||||||
else:
|
else:
|
||||||
opts.append('--%s' % k)
|
opts.append('--%s' % k)
|
||||||
if v is not True:
|
if v is not True:
|
||||||
|
|
Loading…
Reference in a new issue