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

Ensure preemptive hosts only run fuzz tasks for android #3808

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

marktefftech
Copy link
Collaborator

No description provided.

@@ -159,6 +159,11 @@ def is_mte_build():
return 'mte' in build_flavor


def using_preemptible_host():
"""Return True if using a peemptible host."""
return '-pre-' in environment.get_value('DOCKER_HOST', '')
Copy link
Collaborator

Choose a reason for hiding this comment

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

See my question on the other internal CL :)

I would've expected the hostname to propagate to inside the container, as that's what we expect in our other environments.

DOCKER_HOST also seems like it's leaking abstraction a bit (the fact that this is running in a docker container). Perhaps we could just call this HOSTNAME if we do end up needing an env var?

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.

None yet

2 participants