I’m able to broadcast the actual IP of the GOGS container instead of localhost
. And Drone container is also possibly able to view it. However, I’ve a new error. Connection timeout during cloning of the repo. Logs are as followed:
Initialized empty Git repository in /drone/src/.git/
+ git fetch origin +refs/heads/master:
fatal: unable to access 'http://172.19.0.2:3000/wahal/test.git/': Failed to connect to 172.19.0.2 port 3000: Operation timed out
Do note that:
[1] Ping request from Drone container to GOGS container works fine.
[2] And so does vice versa ^
[3] Payload is also successfully sent by GOGS to Drone with proper 200 status code – at least that’s what GOGS webhook says.
[4] I also get error in Drone in case something is wrong with drone’s config yaml file, like ``image is missing` or something like that. So, drone is definitely able to not just receive my payload from GOGS but also read it.
I don’t understand the operation timeout after just 2 minutes. Even if I’ve explicitly increased DRONE_TIMEOUT to 30m.