Skip to content
Snippets Groups Projects
Verified Commit 6aa29da9 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

allow_some_failure

parent 61a8e6aa
No related branches found
No related tags found
No related merge requests found
Pipeline #60 passed with stage
in 7 minutes and 54 seconds
......@@ -54,10 +54,12 @@ zhixiang:
mc:
stage: test
script: "/do.bash mc"
allow_failure: true
push-httpdb-agent:
stage: test
script: "/do.bash push-httpdb-agent"
allow_failure: true
ddns-wuhan:
stage: test
......
#!/usr/bin/python3
ops = [ 'rproxy', 'drive', 'ss-tw', 'ss-us1', 'ss-us5', 'ss-us6', 'ovpn-tw', 'www', 'mail', 'tm', 'git', 'zhixiang', 'mc', 'push-httpdb-agent', 'ddns-wuhan', 'ddns-us', 'dl' ]
allow_fail = [ 'mc', 'push-httpdb-agent' ]
print('''image: recolic/rserver-monitor
......@@ -9,5 +10,8 @@ stages:
- test
''')
for op in ops:
print('{}:\n stage: test\n script: "/do.bash {}"\n'.format(op, op))
print('{}:\n stage: test\n script: "/do.bash {}"'.format(op, op))
if op in allow_fail:
print(' allow_failure: true')
print()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment