0

The drone page always shows this page

enter image description here

even if I have added the .drone.yml file.

By the way, the token set in gitlab is the api key in drone user page? And the Drone url in gitlab is the drone root url or project url? enter image description here

Update: The webhook in gitlab seems not working.enter image description here

Erguotou
  • 205
  • 2
  • 8

1 Answers1

1

localhost is not a valid URL you can give to gitlab.
It is a local reference to your own machine. You need to setup your drone install somewhere it can be accessed from outside your local network, using a domain or at least a public IP.

You can try with your router IP and to do in your router some port redirection of external port 3333 to your machine's 3333.

Edit : I assumed you were using a hosted version of gitlab. If you are using a self-hosted version, make sure that you use the IP of your drone server. Using localhost is only possible if the drone server is the same as the Gitlab server.

CCH
  • 1,516
  • 1
  • 13
  • 24