-
Notifications
You must be signed in to change notification settings - Fork 56
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
Gitlab CI #139
Comments
The solution si probably to use dind runner https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#use-the-docker-executor-with-the-docker-image-docker-in-docker |
have you tried the docker-in-docker instructions? see https://github.com/Kong/kong-pongo#running-pongo-in-docker |
Sorry I missed that section the documentation. Thank you. |
What were you looking for? can we improve the docs by changing the header? |
maybe we should change it to "docker-in-docker" instead of "pongo in docker" |
I was focused on section https://github.com/Kong/kong-pongo#setting-up-ci (which is Travis specific IMHO), and just missed this one. |
I do not think that the "Running pongo in docker" section is about "docker-in-docker", because what are you proposing is do Docker socket binding to the host which is not docker-in-docker. |
As explained here: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ |
That link is also in the "Running pongo in docker" section. |
I'll probably add link to the ci section then |
Hi there!
I want to run plugin tests in Gitlab CI. My question is: Is it possible to run kong-pongo in Gitlab runner with Docker socket binding configuration (as described here)
CI job which I want to run
kong-pongo
script is docker container executed by Docker runner with following arguments:There is problem because checkouted plugin repository is inside docker container and docker engine is running in host (Gitlab runner). Then I get following error message:
Regards,
Jan
The text was updated successfully, but these errors were encountered: