{"push_id":1944799121,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"7f28d75d16921fdaa38e5e277b104f972823fec1","before":"3a295d7550b05a945a7e41c889713fbb3eb88fb5","commits":[{"sha":"7f28d75d16921fdaa38e5e277b104f972823fec1","author":{"name":"Suvodeep Pyne","email":"16117941cc18eeefe120f72eaa4b56f0951078ff@users.noreply.github.com"},"message":"StorageManager to clean up project artifacts based on config (#1346)\n\nAdded a config azkaban.storage.artifact.max.retention(default: 0)\r\nBased on the storage parameter the files are removed and the project_versions table entries are removed.\r\n\r\n```\r\n    /*\r\n     * The max number of artifacts retained per project.\r\n     * Accepted Values:\r\n     * - 0 : Save all artifacts. No clean up is done on storage.\r\n     * - 1, 2, 3, ... (any +ve integer 'n') : Maintain 'n' latest versions in storage\r\n     *\r\n     * Note: Having an unacceptable value results in an exception and the service would REFUSE\r\n     * to start.\r\n     *\r\n     * Example:\r\n     * a) azkaban.storage.artifact.max.retention=all\r\n     *    implies save all artifacts\r\n     * b) azkaban.storage.artifact.max.retention=3\r\n     *    implies save latest 3 versions saved in storage.\r\n     **/\r\n    public static final String AZKABAN_STORAGE_ARTIFACT_MAX_RETENTION = \"azkaban.storage.artifact.max.retention\";\r\n\r\n```","distinct":true,"url":"https://api.github.com/repos/HappyRay/azkaban/commits/7f28d75d16921fdaa38e5e277b104f972823fec1"}]}
{"actor":{"display_login":"HappyRay"}}