[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] Cleanup old deploy logfiles.



Title: GitLab

Joerg Jaspert pushed to branch master at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • config/deploy/deploy.functions
    ... ... @@ -59,3 +59,7 @@ function update_masterdir() {
    59 59
         # And switch to the commit we just verified
    
    60 60
         git checkout ${NEWHEAD}
    
    61 61
     }
    
    62
    +
    
    63
    +function cleanlogs() {
    
    64
    +    find ${logdir} -mtime +60 -delete
    
    65
    +}

  • config/deploy/deploy.tasks
    ... ... @@ -8,4 +8,5 @@ check_commit_signature none none true false
    8 8
     NOSTAGE                check_for_db_update        none           true      false
    
    9 9
     check_ancestor         none                       none           true      false
    
    10 10
     update_masterdir       none                       none           true      false
    
    11
    +cleanlogs              none                       none           true      false
    
    11 12
     UNLOCK                 DEPLOY                     none           true      false


  • Reply to: