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

feat: Add existing and new Celery scripts to version control #276

Merged
merged 4 commits into from
Nov 30, 2023
Merged

Conversation

karatugo
Copy link
Member

@karatugo karatugo commented Nov 29, 2023

What?

Introduce existing and new Celery scripts to the repository.

Why?

Without version control, tracking changes and discussing modifications to these scripts is challenging. Adding them to GitHub allows for better historical tracking and collaborative development.

How?

The integration includes pre-existing scripts used in the LSF environment. Celery workers are managed through celery_worker_scripts/<env>/START_CELERY_WORKERS.sh, which are refreshed every three days via crontab using celery_worker_scripts/<env>/start_celery_worker.sh. For the upcoming SLURM migration, new scripts ending in _SLURM.sh or _slurm.sh are added, alongside the implementation of scrontab to manage these tasks.

Testing?

In the development environment, the scripts are tested with shorter cron intervals (2-3 minutes) to ensure functionality. One can test validation as well since the NF executor name is set to slurm now.

For production, initiating scrontab before the data release won't impact the current LSF setup, allowing for a safe testing environment. Monitoring the health of celery workers post-implementation will be key to ensuring successful deployment.


Also see EBISPOT/goci#1179

Adds previously unversioned crontab and celery worker scripts, facilitating better tracking and management of task scheduling and execution in LSF environments.
@karatugo karatugo merged commit 1ada7b9 into master Nov 30, 2023
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.

1 participant