Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELEASE.md notes for branch builds #290

Merged
merged 3 commits into from
Nov 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# Automated releases
TBD

# Testing installer builds of any netplugin branch
Normally, the installer requires the contiv netplugin version to be a released version hosted on github, as it pulls that archive down either during install or caches it prior to install.

Instead, to create an installer for the legacy docker swarm of any branch of contiv, additionally set these two environment variables:

* NETPLUGIN_BRANCH - the branch to checkout, compile, and archive
* NETPLUGIN_OWNER (if not contiv) - the username for the netplugin fork

This will only provide a "full" installer with the netplugin archive in `contiv_cache`

Other types of installs such as v2plugin do not yet support builds targeting specific branches, they only support building installers for released versions of netplugin.

#### Example:

```
NETPLUGIN_BRANCH=v2plugin_local_versioned NETPLUGIN_OWNER=chrisplo make build
```

Can produce netplugin binary archive at
`contiv-devbuild/contiv_cache/netplugin-ca1b582.tar.bz2`
and a symlink in the same directory to that archive named `netplugin-chrisplo-v2plugin_local_versioned.tar.bz2`

That archive will be used for netplugin binaries instead of a released archive hosted on github.

# Manual releases
1. Check out the right branch and the right commit. This is necessary
when not releasing from the HEAD of master.
Expand Down