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 #69 from appnexus/v2.0.0-beta.6
Browse files Browse the repository at this point in the history
v2.0.0-beta.6
  • Loading branch information
esmet authored Feb 19, 2019
2 parents 8b051a2 + 89aec17 commit 4352a87
Show file tree
Hide file tree
Showing 185 changed files with 35,698 additions and 270 deletions.
37 changes: 37 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@
[[constraint]]
name = "github.com/nlopes/slack"
revision = "3b9e5d653ede77b578819b587537227c1ac9f487"

[[constraint]]
name = "github.com/andygrunwald/go-jira"
version = "1.6.0"

[[constraint]]
name = "github.com/docker/distribution"
version = "2.7.0-rc.0"
31 changes: 21 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ When invoked, Ankh will operate over both the `haste-server` and `myservice` cha
#### `DockerConfig`
| Field | Type | Description |
| ------------- | :---: | :-------------: |
| registry | string | The docker registry to use. This is always used by `ankh docker ...` subcommands and is also used by other commands to produce prompts, typically when `helm.tagValueName` is set and Ankh sees that no tag value has been provided. |
| registry | string | The docker registry to use. This is always used by `ankh image ...` subcommands and is also used by other commands to produce prompts, typically when `helm.tagValueName` is set and Ankh sees that no tag value has been provided. |

#### `SlackConfig`
| Field | Type | Description |
Expand All @@ -264,15 +264,16 @@ When invoked, Ankh will operate over both the `haste-server` and `myservice` cha
| 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%*"`
#### `JiraConfig`
| Field | Type | Description |
| ------------- | :---: | :-------------: |
| baseUrl | string | Required. Url of JIRA instance |
| queue | string | Required. Queue to create the ticket in |
| autoClose | bool | Optional. Auto-Close JIRA ticket created. Defaults to false. |
| summaryFormat | string | Optional. Format of JIRA summary that will be used. See available format variables below. |
| rollbackSumaryFormat | string | Optional. Format of JIRA summary for rollbacks that will be used. See available format variables below. |
| descriptionFormat | string | Optional. Format of JIRA description that will be used. See available format variables below. |
| rollbacDescriptionFormat | string | Optional. Format of JIRA description for rollbacks that will be used. See available format variables below. |

#### `Environment`
| Field | Type | Description |
Expand Down Expand Up @@ -308,3 +309,13 @@ Example format: `format: "_%USER%_ is releasing *%CHART%@%VERSION%* to *%TARGET%
| values | map[string]RawYaml | Optional. Values to use, by environment class. Any context whose `environment-class` exactly matches one of the keys in this map will use all values under that key. |
| resource-profiles | map[string]RawYaml | Optional. Values to use, by resource profile. Any context whose `resource-profile` exactly matches one of the keys in this map will use all values under that key. |
| releases | map[string]RawYaml | Optional. Values to use, by release. Any context whose `release` is a regular expression match for one of the keys in this map, using only the first matched going from top to bottom, will use all values under that key, eg: `staging|production:` to match either of the strings `staging` or `production`. |

#### `Format 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%*"`
Loading

0 comments on commit 4352a87

Please sign in to comment.