1.0.0 pending status

I just setup drone on my raspberry pi and forked the drone/hello-world project on github to see if everything is working, but the build is still pending.

I followed the instructions in the documentations on how to install it but changed the docker run command to fit my needs.

docker run \
    --volume=/var/run/docker.sock:/var/run/docker.sock \
    --volume=/var/lib/drone:/data \
    --env=DRONE_GITHUB_SERVER=https://github.com \
    --env=DRONE_GITHUB_CLIENT_ID=my-client-id \
    --env=DRONE_GITHUB_CLIENT_SECRET=my-client-secret \
    --env=DRONE_RUNNER_CAPACITY=1 \
    --env=DRONE_SERVER_HOST=drone.my-domain.com \
    --env=DRONE_SERVER_PROTO=https \
    --env=DRONE_TLS_AUTOCERT=true \
    --env=DRONE_LOGS_DEBUG=true \
    --env=DRONE_LOGS_TEXT=true \
    --env=DRONE_LOGS_PRETTY=true \
    --env=DRONE_LOGS_COLOR=true \
    --publish=80:80 \
    --publish=443:443 \
    --restart=always \
    --detach=true \
    --env=DRONE_USER_CREATE=username:tjventurini,admin:true \
    --env=DRONE_USER_FILTER=tjventurini \
    drone/drone:1.0.0-rc.2

I tried to find the error on my own but I couldn’t find it. Can some please support me doing so, I am a complete drone noob :sweat_smile:

Thank you!

my guess would be you need to specify the correct architecture in your yaml. Drone assumes your build is x86 by default which means your build is probably pending execution by an x86 worker (which does not exist, since you are running on arm). Make sure you do something like this:

kind: pipeline
name: default

platform:
  os: linux
  arch: arm
2 Likes

That was it, thank you! :partying_face:

excellent, glad I was able to help :slight_smile:

1 Like