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

Prepares cover archival to be run as cron #8278 #9296

Merged
merged 5 commits into from
May 22, 2024

Conversation

mekarpeles
Copy link
Member

@mekarpeles mekarpeles commented May 17, 2024

Closes #8278

To be run with:

PYTHONPATH=. python /openlibrary/openlibrary/coverstore/archive.py /olsystem/etc/openlibrary.yml /olsystem/etc/coverstore.yml

Tested by running the following on ol-home0:

docker cp openlibrary/coverstore/archive.py openlibrary-cron-jobs-1:/openlibrary/openlibrary/coverstore/archive.py
docker exec -uroot -it openlibrary-cron-jobs-1 bash
su openlibrary -c "PYTHONPATH=. python /openlibrary/openlibrary/coverstore/archive.py /olsystem/etc/openlibrary.yml /olsystem/etc/coverstore.yml"

Depends also on https://github.com/internetarchive/olsystem/pull/210, which should be reviewed/merged after this PR.

mekarpeles and others added 4 commits May 17, 2024 06:45
For closing #8278

To be run with:
```
PYTHONPATH=. python /openlibrary/openlibrary/coverstore/archive.py /olsystem/etc/openlibrary.yml /olsystem/etc/coverstore.yml
```
@mekarpeles mekarpeles added the Needs: Special Deploy This PR will need a non-standard deploy to production label May 17, 2024
@mekarpeles
Copy link
Member Author

Merge request: Squash please

Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

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

LGTM.

@scottbarnes scottbarnes merged commit 16681e1 into master May 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Special Deploy This PR will need a non-standard deploy to production
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add monthly cron to run Cover Server Archival
2 participants