GithubHelp home page GithubHelp logo

liulovegame / drone-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drone/drone-ui

0.0 0.0 0.0 10.05 MB

Front-end for the Drone continuous integration server

Home Page: https://github.com/drone/drone

License: Other

HTML 0.44% JavaScript 73.86% SCSS 25.66% Shell 0.04%

drone-ui's Introduction

Drone UI

Getting started

  1. Clone this repository

    git clone https://github.com/drone/drone-ui.git
  2. Install dependencies

    npm install
  3. Copy .env.example and rename it into .env

    cp .env.example .env.development.local
  4. Fill required variables. For example:

    REACT_APP_DRONE_SERVER=https://drone.company.com
    REACT_APP_DRONE_TOKEN=<your_drone_token>
    

Run the app

npm run start

Build the app

npm run build

Run the built app

npm run serve

Run linters

npm run lint

Run linters and fix auto fixable problems

npm run lint:fix

Run your tests

npm run test

Commits

We use Conventional Commits for commit messages. You can read more about Conventional Commits here. Here you can find a useful Conventional Commits Cheat Sheet.

We try to make our commits "atomic". Here and here you can read more about Atomic commits.

Release procedure

Run the changelog generator.

docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone-ui -t <secret github token>

You can generate a token by logging into your GitHub account and going to Settings -> Personal access tokens.

Next we tag the PR's with the fixes or enhancements labels. If the PR does not fufil the requirements, do not add a label.

** Before moving on make sure to update the version in package.json. **

Run the changelog generator again with the future version according to semver.

docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone-ui -t <secret token> --future-release v1.0.0

Create your pull request for the release. Get it merged then tag the release.

Please reference the updated changelog in your PR to update Drone with the latest UI SHA.

drone-ui's People

Contributors

bradrydzewski avatar d1wilko avatar dramich avatar eoinmcafee00 avatar juli3nk avatar lnikell avatar muffl0n avatar pgaskin avatar proalexandr avatar rohow avatar saj avatar silverwind avatar sohan avatar tskarhed avatar typokign avatar vividboarder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.