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

The "{{ project }}-zip" builder does not honor the "network" variable #7

Open
glm35 opened this issue Jun 18, 2021 · 0 comments
Open

Comments

@glm35
Copy link

glm35 commented Jun 18, 2021

Jenkins "{{ project }}-zip" jobs created by ansible-role-xtesting do not set the "--network={network}" option on the "docker run" command.

This leads to a failure of the "zip_campaign" command when the testapi DB cannot be reached through the default docker bridge, typically when "--network=host" is needed.

I guess this could be fixed in templates/run.yaml.j2

Remark: Maybe the "--privileged" option could be added as well, but I don't see a use case for this.

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