Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parwinder/bcda-8627-archive cleanup job migration #1042

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

bhagatparwinder
Copy link
Contributor

🎫 Ticket

https://jira.cms.gov/browse/BCDA-8627

🛠 Changes

Updated River Client to set archive cleanup periodic job.

ℹ️ Context

  • We are migrating away from Jenkins and moving to GHA.
  • Archive/Cleanup Job has been moved to the bcda-app.
  • Job is scheduled using River Go

bcda/bcdacli/cli.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@carlpartridge carlpartridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

bcda/bcdacli/cli.go Outdated Show resolved Hide resolved
bcdaworker/queueing/river.go Show resolved Hide resolved
bcdaworker/queueing/river.go Outdated Show resolved Hide resolved
bcdaworker/queueing/river.go Outdated Show resolved Hide resolved
@carlpartridge
Copy link
Collaborator

What is our testing strategy going to be for making sure these files are being cleaned up properly? Can we stick a bunch of files into EFS to test? They will need to match up with expired jobs right?

@bhagatparwinder
Copy link
Contributor Author

What is our testing strategy going to be for making sure these files are being cleaned up properly? Can we stick a bunch of files into EFS to test? They will need to match up with expired jobs right?

To test it in DEV/TEST environment, I believe that is the route we will have to take. We will have to find out:

  • How to get files in EFS
  • What are the correct files (for expired, canceled, and failed jobs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants