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

Find a robust way to determine if we are in a molecule or CI/CD check or not #281

Open
widhalmt opened this issue Oct 10, 2023 · 0 comments

Comments

@widhalmt
Copy link
Member

For now we have some special tasks that are used when running in containers in general or Docker specifically. Usually they target CI/CD checks in Molecule.

So we need to make sure we don't influence regular systems running containerized (even when they shouldn't see Ansible tasks after all). Either we use some of the flags Molecule already offers or we introduce a new variable, that's only set during tests. And these tasks only run when this variable is set.

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

No branches or pull requests

1 participant