harness-drone/.github/readme.md

76 lines
2.4 KiB
Markdown
Raw Normal View History

2017-09-29 01:49:56 +00:00
Drone is a Continuous Delivery system built on container technology. Drone uses a simple YAML configuration file, a superset of docker-compose, to define and execute Pipelines inside Docker containers.
2017-05-11 12:12:45 +00:00
<br/>
2015-07-10 00:01:03 +00:00
2017-05-11 12:12:45 +00:00
<img src="https://github.com/drone/brand/blob/master/screenshots/screenshot_build_success.png" style="max-width:100px;" />
2017-02-01 02:28:24 +00:00
2017-05-11 12:12:45 +00:00
Sample Pipeline Configuration:
2015-08-18 20:57:40 +00:00
```yaml
2019-08-31 15:36:38 +00:00
name: default
2019-08-31 15:37:24 +00:00
kind: pipeline
type: docker
2019-08-31 15:36:38 +00:00
steps:
- name: backend
image: golang
commands:
- go get
- go build
- go test
- name: frontend
image: node:6
commands:
- npm install
- npm test
- name: publish
image: plugins/docker
settings:
2017-05-11 12:18:08 +00:00
repo: octocat/hello-world
tags: [ 1, 1.1, latest ]
registry: index.docker.io
2019-08-31 15:36:38 +00:00
- name: notify
image: plugins/slack
settings:
2017-05-11 12:12:45 +00:00
channel: developers
username: drone
2015-08-18 20:57:40 +00:00
```
2015-08-18 17:28:07 +00:00
2017-05-11 12:12:45 +00:00
Documentation and Other Links:
2015-09-01 14:08:42 +00:00
2017-05-11 12:12:45 +00:00
* Setup Documentation [docs.drone.io/installation](http://docs.drone.io/installation/)
* Usage Documentation [docs.drone.io/getting-started](http://docs.drone.io/getting-started/)
2017-05-11 12:18:08 +00:00
* Plugin Index [plugins.drone.io](http://plugins.drone.io/)
2019-04-13 08:58:26 +00:00
* Getting Help [discourse.drone.io](https://discourse.drone.io)
2019-09-11 01:52:08 +00:00
* Build the Enterprise Edition [BUILDING](https://github.com/drone/drone/blob/master/BUILDING)
* Build the Community Edition [BUILDING_OSS](https://github.com/drone/drone/blob/master/BUILDING_OSS)
_Please note the official Docker images run the Drone Enterprise distribution. If you would like to run the Community Edition you can build from source by following the instructions in [BUILDING_OSS](https://github.com/drone/drone/blob/master/BUILDING_OSS)._
2021-08-17 10:10:04 +00:00
## Release procedure
Run the changelog generator.
```BASH
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -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 file `version/version.go`. **
2021-08-17 10:10:04 +00:00
Run the changelog generator again with the future version according to semver.
```BASH
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator -u drone -p drone -t <secret token> --future-release v1.0.0
```
Create your pull request for the release. Get it merged then tag the release.