Skip to content

Use a bash init script for starting instances on batch. #4786

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 1 commit into
base: oss-fuzz
Choose a base branch
from

Conversation

jonathanmetzman
Copy link
Collaborator

There is some setup that is needed that cannot be done by the container.

There is some setup that is needed that cannot be done by the container.
@@ -122,19 +126,19 @@ def create_uworker_main_batch_jobs(batch_tasks: List[BatchTask]):
return jobs


@functools.cache
def get_linux_linit_script() -> str:
Copy link
Collaborator

@vitorguidi vitorguidi May 7, 2025

Choose a reason for hiding this comment

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

This is an infrastructure definition, IMO it should live under the clusterfuzz-config repo. More specifically, under configs/batch.

If this lives here, whenever we want to change the script, we will have to open a public PR in a code repo to change an infrastructcure configuration, which is precise one of the problems @javanlacerda is trying to solve with his argocd stuff by moving kubernetes definitions away from here.

Wdyt?

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1. would be good to move it there.

@jonathanmetzman is it easy to do this now? otherwise this could be a TODO for now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it isn't hard to move this. Will do

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.

3 participants