Skip to content

Commit 9d8f267

Browse files
authored
RELEASE.md notes for branch builds (contiv#290)
Signed-off-by: Chris Plock <[email protected]>
1 parent b21608d commit 9d8f267

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

RELEASE.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# Automated releases
22
TBD
33

4+
# Testing installer builds of any netplugin branch
5+
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.
6+
7+
Instead, to create an installer for the legacy docker swarm of any branch of contiv, additionally set these two environment variables:
8+
9+
* NETPLUGIN_BRANCH - the branch to checkout, compile, and archive
10+
* NETPLUGIN_OWNER (if not contiv) - the username for the netplugin fork
11+
12+
This will only provide a "full" installer with the netplugin archive in `contiv_cache`
13+
14+
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.
15+
16+
#### Example:
17+
18+
```
19+
NETPLUGIN_BRANCH=v2plugin_local_versioned NETPLUGIN_OWNER=chrisplo make build
20+
```
21+
22+
Can produce netplugin binary archive at
23+
`contiv-devbuild/contiv_cache/netplugin-ca1b582.tar.bz2`
24+
and a symlink in the same directory to that archive named `netplugin-chrisplo-v2plugin_local_versioned.tar.bz2`
25+
26+
That archive will be used for netplugin binaries instead of a released archive hosted on github.
27+
428
# Manual releases
529
1. Check out the right branch and the right commit. This is necessary
630
when not releasing from the HEAD of master.

0 commit comments

Comments
 (0)