Skip to content

Commit

Permalink
chore: Add Queues section to OPERATIONS.md, starting with delete-olde…
Browse files Browse the repository at this point in the history
…r-builds #4352
  • Loading branch information
svenaas committed Jan 11, 2024
1 parent 1aa3c58 commit 352aa12
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions OPERATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ $ cf run-task pages-<env> --command "yarn migrate-site-repo 1 user@agency.gov ag
$ cf logs --recent pages-<env>
```

## Queues

### Nightly deletion of older builds

This is a job that runs nightly and removes all builds older than 180 days, based on `completedAt` timestamps.

Queue name: `delete-older-builds`
Queue worker: [`deleteOlderBuilds.js`](./api/workers/jobProcessors/deleteOlderBuilds.js)

## CI

### Nightly site bucket key rotations
Expand Down

0 comments on commit 352aa12

Please sign in to comment.