This is an automated email from the ASF dual-hosted git repository.
evansye pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-1.4 by this push:
new c3ed1fc BIGTOP-3197. [Docker] Treat both exit code 0 and 2 as success
for Puppet execution (#508)
c3ed1fc is described below
commit c3ed1fc25e6dc8cc392bd3ddbf7a31337a13320f
Author: Evans Ye <[email protected]>
AuthorDate: Tue Mar 26 17:18:23 2019 +0800
BIGTOP-3197. [Docker] Treat both exit code 0 and 2 as success for Puppet
execution (#508)
---
docker/bigtop-slaves/Dockerfile.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docker/bigtop-slaves/Dockerfile.template
b/docker/bigtop-slaves/Dockerfile.template
index ad92136..ece6ca5 100644
--- a/docker/bigtop-slaves/Dockerfile.template
+++ b/docker/bigtop-slaves/Dockerfile.template
@@ -19,6 +19,6 @@ MAINTAINER [email protected]
COPY bigtop_toolchain PUPPET_MODULES
-RUN UPDATE_SOURCE && puppet apply -e "include bigtop_toolchain::installer"
+RUN UPDATE_SOURCE && puppet apply -e "include bigtop_toolchain::installer" ||
if [ $? -ne 2 ]; then exit 1; fi
COPY . /tmp/bigtop
RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/*