I’m trying to setup drone with Gitea.
I’ve setup Gitea and oath
Connected drone server
synced and authorised my hello-world repository
Looking at the logs in docker I’m getting the following from the agent:
time="2020-07-12T08:13:41Z" level=trace msg="http: no content returned: re-connect and re-try"
and
{"level":"info","msg":"main: internal scheduler enabled","time":"2020-07-12T08:12:21Z"}
{"acme":false,"host":"drone.home","level":"info","msg":"starting the http server","port":":80","proto":"http","time":"2020-07-12T08:12:21Z","url":"http://drone.home"}
{"interval":"30m0s","level":"info","msg":"starting the cron scheduler","time":"2020-07-12T08:12:21Z"}
{"interval":"24h0m0s","level":"info","msg":"starting the zombie build reaper","time":"2020-07-12T08:12:21Z"}
from the server.
How can I debug what is wrong?
with debug on the drone-server I get
INFO[0000] main: internal scheduler enabled
DEBU[0000] main: license loaded build.limit=0 expires="0001-01-01 00:00:00 +0000 UTC" kind=trial repo.limit=0 user.limit=0
INFO[0000] starting the cron scheduler interval=30m0s
INFO[0000] starting the http server acme=false host=drone.home port=":80" proto=http url="http://drone.home"
INFO[0000] starting the zombie build reaper interval=24h0m0s
DEBU[0000] events: stream opened request-id=1eZxhy11kZX84UxoBwr0rjUZCjp
DEBU[0000] events: stream opened request-id=1eZxhuHtn3sH0BJJqTsytOGIeoM
DEBU[0009] manager: request queue item arch=arm kernel= kind=pipeline os=linux type=docker variant=
DEBU[0009] manager: request queue item arch=arm kernel= kind=pipeline os=linux type=docker variant=
DEBU[0039] manager: context canceled arch=arm kernel= kind=pipeline os=linux type=docker variant=
DEBU[0039] manager: context canceled arch=arm kernel= kind=pipeline os=linux type=docker variant=
DEBU[0049] manager: request queue item arch=arm kernel= kind=pipeline os=linux type=docker variant=
DEBU[0049] manager: request queue item arch=arm kernel= kind=pipeline os=linux type=docker variant=
I’ve managed to get the build in to the activity logs
- The web hook was being registered with a domain name and the my Gitea container did not have the correct dns server configured
I’m now stuck with the build sitting on pending
See Builds are Stuck in Pending Status. This discusses all known reasons a build can be stuck in pending.
Thanks for your help I think
kind: pipeline
type: docker
platform:
os: linux
arch: arm
steps:
- name: greeting
image: alpine
commands:
- echo hello
- echo world
adding the platform got it
