[ 
https://issues.apache.org/jira/browse/CASSANDRA-17528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520138#comment-17520138
 ] 

Michael Semb Wever edited comment on CASSANDRA-17528 at 4/10/22 10:35 AM:
--------------------------------------------------------------------------

The following files can be (always) removed.

{code}
# dev build results we shouldn't need to keep for more than 30 days
# (even though tickets do link to them)

find cassandra/devbranch -type f -mtime +30 -exec rm -f {} \;
{code}

{code}
# all build artifacts do not need to be kept for more than 7 days
# (otherwise move them to cassandra/misc/<ticket-number> )

find cassandra/*/Cassandra-*-artifacts/*/Cassandra-*-artifacts/*/build/ -type f 
-mtime +7d -exec rm -f {} \;
{code}


was (Author: michaelsembwever):
The following files can be (always) removed.

{code}
# dev build results we shouldn't need to keep for more than 30 days (even 
though tickets do link to them)
find cassandra/devbranch -type f -mtime +30 -exec rm -f {} \;
{code}

{code}
# all build artifacts do not need to be kept for more than 7 days. (otherwise 
move them to cassandra/misc/<ticket-number> )
find cassandra/*/Cassandra-*-artifacts/*/Cassandra-*-artifacts/*/build/ -type f 
-mtime +7d -exec rm -f {} \;
{code}

> TTL Cassandra files on nightlies.a.o
> ------------------------------------
>
>                 Key: CASSANDRA-17528
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17528
>             Project: Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Michael Semb Wever
>            Assignee: Michael Semb Wever
>            Priority: Normal
>
> We keep test results and logs on nightlies.
> Some stuff we want/need to keep forever, other stuff we can remove after a 
> period of time.
> Reference request from infra:
> {quote}
> Hi Cassandra PMC,
> Could you please tidy up your space on nightlies.apache.org regularly?
> You currently have more than 2 million files there, amassing over 200GB
> of disk space.
> With regards,
> Daniel on behalf of ASF Infra.
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to