• Lin Jen-Shin's avatar
    Squashed commit of the following: · 9d05dbb3
    Lin Jen-Shin authored
    commit ad59f123
    Author: Lin Jen-Shin <godfat@godfat.org>
    Date:   Sat Feb 4 00:05:31 2017 +0800
    
        Test both execute and async_execute
    
    commit 1868b8af
    Author: Lin Jen-Shin <godfat@godfat.org>
    Date:   Fri Feb 3 23:44:35 2017 +0800
    
        Move the tests to spec/services/projects/destroy_service_spec.rb
    
    commit aaf382d5
    Author: Lin Jen-Shin <godfat@godfat.org>
    Date:   Fri Feb 3 23:21:10 2017 +0800
    
        Skip or retain project while deleting the project:
    
        * Skip Ci::Build#update_project_statistics whenever there's no
          project (i.e. we're deleting the project!)
        * Retain the unscoped_project before deleting the build,
          so that we could use the data to delete the artifacts.
          Note that carrierwave uses `after_commit` for this,
          so we need to retain it in the memory.
    
        Closes #15005
    9d05dbb3
fix-deleting-project-again.yml 87 Bytes