Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

maximelebastard/drone-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone Status

Archived

The need of this project has been fulfilled by adding a Drone service to the node-build-monitor project.

See the PR here marcells/node-build-monitor#185


ONGOING WORK, NOT FINALIZED See the Todo list behind.

This is an app showing all your builds and repositories statuses on your DroneCI server.

It is designed to be used as a monitoring app, typically shown on a screen in a devs office.

It is compatible with Drone 1.0 and is not retrocompatible with Drone 0.8. For Drone 0.8, see drone-wall

This project was bootstrapped with Create React App.

Getting started

Create a .env file containing a REACT_APP_DRONE_API and REACT_APP_DRONE_TOKEN variables.

Run yarn start and open http://localhost:3000

To build the app, yarn build

Security disclaimer

TLDR: Don't make any built code of this app publicly accessible, or all your repositories code will leak

The way the Drone Token is passed to the App is not secure yet. The token will be clearly visible on the Javascript code - and this token should allow any smart attacker to access all your repositories code (so possibly your company code too).

I need to fix that (see Todo), but until then do not publish any built/watch code, especially on Github.

Todo

  • Code API calls on Redux
  • Test the Redux stack (actions & reducers)
  • Put the Drone URL and Drone Tokens out of the env variables (in URL, Cookies or Local Storage for example)
  • Create a decent UI
  • Test the UI with Snapshots

Contribute

I'm currently on pause on that project as I'm not using Drone anymore. This project has been pushed so that people who need it can use my work. Feel free to fork it or to do pull requests.

I'm not sure I'll have time to contribute a lot more, but I can surely do the gardener and maybe let other active contributors become collaborators on it.

About

All your DroneCI builds and repos at a glance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published