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

Update self_hosted_runner: remove deprecated docker.userEmulation and use containerOptions #617

Merged
merged 2 commits into from
May 21, 2024

Conversation

mirpedrol
Copy link
Member

@mirpedrol mirpedrol commented Jan 22, 2024

Modifications to match nf-core/tools#2673 and fix the tests there.

The previous PR won't be merged. But userEmulation is deprecated, so we should remove it.
Also remove the preceding docker. as all options are inside the docker scope.

@mirpedrol mirpedrol requested a review from mashehu January 22, 2024 09:36
Comment on lines +18 to +19
fixOwnership = true
runOptions = '--platform=linux/amd64'
Copy link
Member

Choose a reason for hiding this comment

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

not sure about keeping fixOwnership

Copy link
Member Author

Choose a reason for hiding this comment

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

fixOwnership has to be set to true in the self-hosted runners to avoid an error like touch: .command.trace: Permission denied

@jfy133
Copy link
Member

jfy133 commented May 15, 2024

@mirpedrol do you still plan to finish this?

@mirpedrol
Copy link
Member Author

I think this can be merged, if someone could review 🙏

@jfy133
Copy link
Member

jfy133 commented May 21, 2024

Ok approved but unable to merge from my phone... @mirpedrol does it give you the option to do so?

@mirpedrol
Copy link
Member Author

Thank you!!
The pre-commit test is required but not running, did we remove this test? should I remove the requirement from the branch protection?

@mirpedrol
Copy link
Member Author

The branch was not up to date 😄 I will merge it once all tests pass!

@mirpedrol mirpedrol merged commit 8b69303 into nf-core:master May 21, 2024
126 checks passed
@mirpedrol mirpedrol deleted the self-hosted-runner branch May 21, 2024 10:43
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.

4 participants