- Notifications
You must be signed in to change notification settings - Fork234
Front-end for the Drone continuous integration server
License
drone/drone-ui
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Clone this repository
git clone https://github.com/drone/drone-ui.git
Install dependencies
npm install
Copy .env.example and rename it into .env
cp .env.example .env.development.local
Fill required variables. For example:
REACT_APP_DRONE_SERVER=https://drone.company.comREACT_APP_DRONE_TOKEN=<your_drone_token> // find your token in your Drone account settings (click your Avatar in the UI).
npm run start
npm run build
npm run serve
npm run lint
npm run lint:fix
npm runtestWe use Conventional Commits for commit messages. You can read more about Conventional Commitshere.Here you can find a useful Conventional Commits Cheat Sheet.
We try to make our commits "atomic".Here andhere you can read more about Atomic commits.
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 fulfil the requirements, do not add a label.
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
{"name":"drone-ui-react","version":"2.8.2",<--- update the version here"private": true,"scripts": {npm run build# change to the dist directorycd dist# run go generateGO111MODULE=off go generate ./...
This will update thedist/dist_gen.go file.
Make sure you have updated and added the following files.
./package.json./CHANGELOG.mddist/dist_gen.go
Look here for anexample
Once your PR is reviewed and merged, you can release the new version of the main branch in github.
Please reference the updated changelog in your PR to updateDrone with the latest UI SHA.
Harness Community Slack - Join the #drone slack channel to connect with our engineers and other users running Drone CI.
Harness Community Forum - Ask questions, find answers, and help other users.
Report A Bug - Find a bug? Please report in our forum under Drone Bugs. Please provide screenshots and steps to reproduce.
Events - Keep up to date with Drone events and check out previous eventshere.
About
Front-end for the Drone continuous integration server
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.