Skip to content

Commit

Permalink
Release automation
Browse files Browse the repository at this point in the history
Using travis-ci and git tagging.  Included detailed instructions in README.
  • Loading branch information
jaytaylor committed Jan 27, 2017
1 parent de821ee commit 08dda84
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .travis.yml
Expand Up @@ -6,5 +6,21 @@ services:
- docker

script:
- sudo make ci
- sudo make

deploy:
provider: releases
api_key:
secure: k6+5QliQrFkCrbXFKq1SXa8sw8tV35d1gcoPNsCqAq45XsKJtTIbs2eVNtTQahToEb1gL8jyXceY/y//uhwXGJV5lK58yKY5JpWTXPZpovx5XNKUo1AGB3uE47/YV0trX0wyTYASIuS9nUA+GoA3kw6geZVmyYIoMtih7tGHkQcAS6TjHgKTN2TY6zz+hCpLfmHie6kHlJvdWiwy12ZDEzF4MM5eLsJCp95bTIYD4gSat35AC1pBfWUhCjyofovbo/LahJ19r2mtou1TNrRVijnVK74xGYgUFmqjlgIbGSIEyem9bMQ/k5hxkK5My8oY/9Dv35NOSq2z+8azU+wEjjLAwi5Czo78f7vqQ+dHkXSOXJ6m3E5UwZS+3MwFw94tsK1fVQVdDUSUtcoUX5fzqX+cKi5uM6WGTj4eIR6ONgXqbfjrrZrTvxMQqpujzvTLe4hSZjX2+pz5N2mhzxiQDtXIsw6dlMUWTLlqqB8XQNiDE/huvXLNPDdKwNGrM1l9ddflIXyxsA6hD5ELYWGEw1wVZr+xTR+eSGTloQIj288A7qHiyCjBsYdyt9U12cWfnscHLGNOsijig5Sft7Y1b7Q8qrs/cpQf9pdbfFpe35LRlwo/pn7MGEKhDvOibjE44KheLxvXOLS6rGG2Y5deAfyogYMhIr1SyjhK/Fi9rc0=

file: dist/artifacts/convoy.tar.gz

skip_cleanup: true
draft: false
prerelease: false

on:
repo: medallia/convoy
branch: master
tags: true

23 changes: 23 additions & 0 deletions README.md
Expand Up @@ -221,3 +221,26 @@ And of course, [bug fixes](https://github.com/rancher/convoy/issues) are always
[Amazon Elastic Block Store](https://github.com/rancher/convoy/blob/master/docs/ebs.md)

[Virtual File System/Network File System](https://github.com/rancher/convoy/blob/master/docs/vfs.md)

## Creating Releases
This repository is hooked up to travis-ci, and releases are automatically built and uploaded to GitHub whenever a new tag is created and pushed.

Example:

git tag -a v0.5.0.2-medallia-1.15 -m 'release-code-name
* A brand new fully-tested feature!
* Rebased in ranchers fabulous upstream changes!'

git push --tags

Creates a release versioned as `v0.5.0.2-medallia-1.13`.

Note: On the first line, the "release-code-name" portion ends up displayed as part of the title on the top line of the release.
Come up with whatever release code name you'd like to ensure the rest of the message displays as clean markdown.

The remainder of the message should contain informative release-specific notes.

The resulting release from the above example will appear like so:

![Example release screenshot](docs/example-gh-release.png "Example release screenshot")

Binary file added docs/example-gh-release.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 08dda84

Please sign in to comment.