AllenNeuralDynamics / AllenNeuralDynamics/aind-codeocean-utils

Write script to query Code Ocean for stale runs and runs that can be removed

Đang mở
#10 2 bình luận 0 reaction 1 người được giao Được @jtyoung84 nhận Xem trên GitHub
blocked
Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# User story
As an admin, I would like to know which Runs we could potentially delete so as to save space/cost.

Code Ocean Capsules and Pipelines have many Runs that store output files. In many cases these runs are part of the normal testing cycle and can be removed.

# Acceptance criteria

- [ ] A script we can run regularly that produces a CSV with columns: capsule name, run datetime, size

# Sprint Ready Checklist
- [ ] 1. Acceptance criteria defined
- [ ] 2. Team understands acceptance criteria
- [ ] 3. Team has defined solution / steps to satisfy acceptance criteria
- [ ] 4. Acceptance criteria is verifiable / testable
- [ ] 5. External / 3rd Party dependencies identified
- [ ] 6. Ticket is prioritized and sized

# Notes
This script should not actually delete data - that will be a separate task.

*Original issue:

```
Code Ocean Capsules and Pipelines have many Runs that store output files. In many cases these runs are part of the normal testing cycle and can be removed.

Write a script uses the Code Ocean API to identify Runs that we could potentially delete. The script should output a CSV with the following columns:
1. Capsule name
2. Run date / time
3. Whether the Run was captured as a Data Asset
4. Total size of files

We should be able to generate this report whenever we like. Actually deleting data will be a separate task.
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.