File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ # Maintainer Instructions
2+
3+ ## Running tests
4+
5+ To run the entire test set, run:
6+
7+ ``` bash
8+ export DOCKERNAMESPACE=< your docker hub account>
9+ make clean
10+ make build
11+ make run-tests
12+ ```
13+
14+ ## Preparing a release
15+
16+ To prepare for a release, do the following:
17+
18+ - Make sure all tests are OK.
19+
20+ ## Building a release
21+
22+ To make a release you must have:
23+
24+ - A github access token in ` ~/.arangodb/github-token ` that has read/write access
25+ for this repository.
26+ - Push permission for the current docker account (` docker login <your-docker-hub-account> ` )
27+ for the ` arangodb ` docker hub namespace.
28+ - The latest checked out ` master ` branch of this repository.
29+
30+ ``` bash
31+ make release-patch
32+ # or
33+ make release-minor
34+ # or
35+ make release-major
36+ ```
37+
38+ If successful, a new version will be:
39+
40+ - Build docker images, yaml resources & helm charts.
41+ - Tagged in github
42+ - Uploaded as github release
43+ - Pushed as docker image to docker hub
44+ - ` ./VERSION ` will be updated to a ` +git ` version (after the release process)
45+
46+ If the release process fails, it may leave:
47+
48+ - ` ./VERSION ` uncommitted. To resolve, checkout ` master ` or edit it to
49+ the original value and commit to master.
50+ - A git tag named ` <major>.<minor>.<patch> ` in your repository.
51+ To resolve remove it using ` git tag -d ... ` .
52+ - A git tag named ` <major>.<minor>.<patch> ` in this repository in github.
53+ To resolve remove it manually.
You can’t perform that action at this time.
0 commit comments