Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #59 from appnexus/v2.0.0-beta.4
Browse files Browse the repository at this point in the history
Ankh v2.0.0-beta.4
  • Loading branch information
esmet authored Jan 26, 2019
2 parents 03c219f + 9f8b941 commit b1630f1
Show file tree
Hide file tree
Showing 15 changed files with 372 additions and 270 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.9.x
- 1.11.x

script:
- make cover
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TEST_PACKAGES := ankh config context helm kubectl util

export VERSION ?= DEVELOPMENT
export GOCMD ?= go
export GOTEST=$(GOCMD) test

.PHONY: all
all: ankh
Expand Down Expand Up @@ -41,3 +42,7 @@ cover: cover-generate
.PHONY: cover-html
cover-html: cover-generate
@$(GOCMD) tool cover -html=$(REPOROOT)/coverage.txt

.PHONY: test
test:
$(GOTEST) -v ./...
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,19 @@ When invoked, Ankh will operate over both the `haste-server` and `myservice` cha
| token | string | Bot token used to connect to slack team |
| icon-url | string | Optional. Url of icon to be used when message is posted to slack. Default is the ankh logo. |
| username | string | Optional. Username associated with message when posting message to slack. Default is `ankh` |
| format | string | Optional. Format of slack message that will be used. See available variables below. |
| rollbackFormat | string | Optional. Format of message for rollbacks that will be used. See available variables below. |
| pretext | string | Optional. Pretext for slack message. Default is `A new release notification has been received`. |

##### `Slack Message Variables`
| Variable | Description
| ------------- | :---:
| `%USER%` | Current username |
| `%CHART%` | Current chart being used |
| `%VERSION%` | Version of the primary container |
| `%TARGET%` | Target environment or context |

Example format: `format: "_%USER%_ is releasing *%CHART%@%VERSION%* to *%TARGET%*"`

#### `Environment`
| Field | Type | Description |
Expand Down
Loading

0 comments on commit b1630f1

Please sign in to comment.