[ARVADOS] updated: 2.1.0-657-gef63296eb

Git user git at public.arvados.org
Thu Apr 15 20:20:32 UTC 2021


Summary of changes:
 build/rails-package-scripts/postinst.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  ef63296eb6fc46dc7261c45e5eb068d95eaa7ffd (commit)
      from  27004c7c4cffac0b61c3fb346e0bd9b155c3763c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit ef63296eb6fc46dc7261c45e5eb068d95eaa7ffd
Author: Tom Clegg <tom at curii.com>
Date:   Thu Apr 15 16:17:03 2021 -0400

    17528: Set ready=0 if config is incomplete/missing during install.
    
    Reverts accidental change.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/build/rails-package-scripts/postinst.sh b/build/rails-package-scripts/postinst.sh
index 766481116..bcd7a27c8 100644
--- a/build/rails-package-scripts/postinst.sh
+++ b/build/rails-package-scripts/postinst.sh
@@ -230,7 +230,9 @@ configure_version() {
       # warn about config errors (deprecated/removed keys from
       # previous version, etc)
       run_and_report "Checking configuration for completeness" \
-                     $COMMAND_PREFIX bundle exec rake config:check || true
+                     $COMMAND_PREFIX bundle exec rake config:check || APPLICATION_READY=0
+  else
+      APPLICATION_READY=0
   fi
 
   chown -R "$WWW_OWNER:" $RELEASE_PATH/tmp

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list