phase2: abort if ccache or dl/ setup failed
authorJo-Philipp Wich <jo@mein.io>
Wed, 6 Dec 2017 14:55:21 +0000 (15:55 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 6 Dec 2017 14:55:35 +0000 (15:55 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
phase2/master.cfg

index 49e8e7667e694ec06532d5c226fafbc838fa654b..fc9f6381fe7d3c70bffac9059a268a310f3959fe 100644 (file)
@@ -303,7 +303,8 @@ for arch in arches:
        factory.addStep(ShellCommand(
                name = "mkdldir",
                description = "Preparing download directory",
-               command = ["sh", "-c", "mkdir -p $HOME/dl && rm -rf ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"]))
+               command = ["sh", "-c", "mkdir -p $HOME/dl && rm -rf ./sdk/dl && ln -sf $HOME/dl ./sdk/dl"],
+               haltOnFailure = True))
 
        factory.addStep(ShellCommand(
                name = "mkconf",
@@ -320,7 +321,8 @@ for arch in arches:
                name = "prepccache",
                description = "Preparing ccache",
                workdir = "build/sdk",
-               command = ["./ccache.sh"]))
+               command = ["./ccache.sh"],
+               haltOnFailure = True))
 
        factory.addStep(ShellCommand(
                name = "updatefeeds",