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

[refactor] move all the execution wrappers to their own dir #1330

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

luxe
Copy link
Contributor

@luxe luxe commented Apr 26, 2023

  • Clean up the main BUILD file
  • Clean up miscellaneous files on the root of repo.

@luxe luxe requested a review from werkt as a code owner April 26, 2023 15:31

/**
* @field asNobody
* @brief The program to use when running actions as "as-nobody".
* @details This program is expected to be packaged with the worker image. The linux-sandbox is
* also capable of doing what this standalone programs does and may be chosen instead.
*/
public String asNobody = "/app/build_buildfarm/as-nobody";
public String asNobody = "/app/build_buildfarm/src/main/execution_wrappers/as-nobody";
Copy link
Member

Choose a reason for hiding this comment

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

I dislike the idea that we're referencing src/main in runtime applications. Is there a way to relocate this as a part of the deployment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe as a class_path resource. I'll try.

@werkt
Copy link
Member

werkt commented May 11, 2023

Conventionally, I think this belongs in /src/execution_wrappers, as it's a non-main component non-language module separation

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.

2 participants