You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this on my Jenkins which is running in a container. It fails every time complaining that it did not find the cookbooks directory. Using the latest kitchen-dokken (2.6.7)
Would like to hear on how you got it working, if this has something to do with the newer kitchen-dokken gem or the fact that jenkins is also running in a container, it spins another chefdk container.
[centos][2018-03-08T04:12:49+00:00]WARN: *****************************************
[centos][2018-03-08T04:12:49+00:00]WARN: Did not findconfigfile: /opt/kitchen/client.rb,usingcommandlineoptions.[centos][2018-03-08T04:12:49+00:00]WARN: *****************************************
[centos][2018-03-08T04:12:49+00:00]WARN: Nocookbooksdirectoryfoundatorabovecurrentdirectory.Assuming /.[centos][2018-03-08T04:12:49+00:00]WARN: Nocookbooksdirectoryfoundatorabovecurrentdirectory.Assuming /.[centos][2018-03-08T04:12:49+00:00]FATAL: Cannotloadconfigurationfrom /opt/kitchen/dna.json[centos][2018-03-08T04:12:49+00:00]FATAL: Cannotloadconfigurationfrom /opt/kitchen/dna.json
The text was updated successfully, but these errors were encountered:
It seems like it might be attempting to run "docker-in-docker-in-docker" which might not work. Otherwise I've found that you need to ensure that the path being mapped into the inner container also exists on the host where your Jenkins Docker container is running even if empty, due to some quirk of how Docker handles the mounts if you have mapped in the /var/run/docker.sock. So if your host has something like /var/lib/jenkins_home:/opt/jenkins_home and this plugin is attempting to map $JENKINS_HOME/workspace/some_job you need to ensure at least the first portion of the path also exists on your host machine if I remember correctly.
I am running this on my Jenkins which is running in a container. It fails every time complaining that it did not find the cookbooks directory. Using the latest kitchen-dokken (2.6.7)
Would like to hear on how you got it working, if this has something to do with the newer kitchen-dokken gem or the fact that jenkins is also running in a container, it spins another chefdk container.
The text was updated successfully, but these errors were encountered: