Edge fork for Drone UI

Hi community, Brad,

The Drone UI project has some quality PRs and I started using them a couple of weeks ago successfully.

I maintain my fork on GitHub - laszlocph/drone-ui: Repo archived. Sucessor lives at https://github.com/laszlocph/woodpecker-ui in case someone would like to use it.

It only takes a few lines.

services:
  drone-server:
    image: drone/drone:0.8.5
    ports:
      - 443:443
      - 9000:9000
    volumes:
      - /var/lib/drone:/var/lib/drone/
+     - /home/youruser/drone-ui:/drone-ui
    environment:
      ...
+     - DRONE_WWW=/drone-ui

It has no intention to compete with the Drone UI project, nor I will accept PRs directly. I periodically check the PRs on the upstream project and merge the ones that are high quality and I like :slight_smile:

What’s in it today?

  • Horizontal menu with restart and cancel buttons. No more hamburger menu. This is a MUST.
  • Whenever a build is restarted or repositories are being synchronised, a little notification is shown at the bottom left but it refuses to go away and is stucked there till the page is refreshed. This PR makes sure it is only active for 5 seconds, afterwards the notification disappears.
  • Render line breaks in commit messages.
2 Likes

wow, these are all pretty nice additions. Thanks for sharing!

1 Like

This is great! Would you be willing to publish this to a docker registry so we can use your image? I’d like to keep up with your fork and not have to maintain it separately in my own fork/Docker repo.

Try this @efranford https://github.com/laszlocph/drone-ui#use-a-docker-image

version: '2'

services:
  drone-server:
    image: drone/drone:0.8.5

    ports:
      - 443:443
      - 9000:9000
    volumes:
      - /var/lib/drone:/var/lib/drone/
+     - drone-ui:/drone-ui
    restart: always
    environment:
      ...
+     - DRONE_WWW=/drone-ui

+ drone-ui:
+   image: laszlocloud/drone-ui:1
+   volumes:
+     - drone-ui:/drone-ui

+volumes:
+ drone-ui:
1 Like

Released version 2 with fixed build paging.
Technically this PR is merged: https://github.com/drone/drone-ui/pull/245

In order to upgrade

  • stop your server
  • delete the drone-ui volume
  • upgrade the image reference to laszlocloud/drone-ui:1
  • start your server