Add retry option

This commit is contained in:
Swikriti Tripathi committed 2022-07-21 15:03:23 +05:45
1 parent a538b98597
commit c3ff4261b4
1 file changed
+3 -3
+3 -3
View File
@@ -1599,7 +1599,7 @@ def makeNodeGenerate(module):
"CHROMEDRIVER_SKIP_DOWNLOAD": "true", # install fails on arm and chromedriver is a test only dependency "CHROMEDRIVER_SKIP_DOWNLOAD": "true", # install fails on arm and chromedriver is a test only dependency
}, },
"commands": [ "commands": [
"%s ci-node-generate" % (make), "retry -t 3 '%s ci-node-generate'" % (make),
], ],
"volumes": [stepVolumeGo], "volumes": [stepVolumeGo],
}, },
@@ -1615,7 +1615,7 @@ def makeGoGenerate(module):
"name": "generate go", "name": "generate go",
"image": OC_CI_GOLANG, "image": OC_CI_GOLANG,
"commands": [ "commands": [
"%s ci-go-generate" % (make), "retry -t 3 '%s ci-go-generate'" % (make),
], ],
"volumes": [stepVolumeGo], "volumes": [stepVolumeGo],
}, },
@@ -1861,7 +1861,7 @@ def build():
"name": "build", "name": "build",
"image": OC_CI_GOLANG, "image": OC_CI_GOLANG,
"commands": [ "commands": [
"make -C ocis build", "retry -t 3 'make -C ocis build'",
], ],
"volumes": [stepVolumeGo], "volumes": [stepVolumeGo],
}, },