Skip to content

support different deployment tasks #314

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

trz42
Copy link
Contributor

@trz42 trz42 commented May 3, 2025

Extends the upload script to support different deployment tasks such as adding, deleting and updating contents of a CernVM-FS repository. For now, the script is called by the bot with default parameters corresponding to adding a tarball. This can then be used by the automated ingestion procedure on the Stratum-0 for processing different types of tasks.

In a subsequent PR, we will add support for different tasks created by job scripts. These could add files named

_bot_jobJOBID.task.SEQUENCE

The files would simply contain information such as

action = 'add' or 'delete' or 'update'
payload = /path/to/payload
order = some_32bit_number_used_for_ordering
mode = 'order' or 'timestamp'

The bot would do one upload for each of these task files.

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

Successfully merging this pull request may close these issues.

2 participants