nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Dry-run failed hooks aren't submitting error streamed output

Open glinton opened this issue 8 years ago • 0 comments
trafficstars

Output not coming through for failed before_live hook in deploy dry-run:

Finalizing deploy :
  ! Running before_live hooks
    
    ! FAILED TO BEFORE_LIVE1: RAKE DB:SETUP_OR_MIGRATE !
    
    Exit
     1
    
    Command
     su - gonano -c "cd /app; siphon --prefix '' -- bash -i -l -c \"rake db:setup_or_migrate\""
    
    Output
     rake aborted!
     No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
     
     (See full trace by running task with --trace)
    

Error   : failed to execute hook (before_live) on 5f1a697c2238605120eea6bb2bd16d0d2b52639ad9dd84051ca884944fa7c552: util:Exec:/opt/nanobox/hooks/before_live: bad exit code(1): 
Context : failed to finalize deploy -> failed to run before deploy hooks

glinton avatar Aug 18 '17 17:08 glinton