Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
prepare 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bacherfl committed Jul 17, 2020
1 parent 8798111 commit 0cb041b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: keptn-default
containers:
- name: unleash-service
image: keptncontrib/unleash-service:latest
image: keptncontrib/unleash-service:0.1.0
ports:
- containerPort: 8080
env:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/go-openapi/strfmt v0.19.3
github.com/google/uuid v1.1.1
github.com/kelseyhightower/envconfig v1.4.0
github.com/keptn/go-utils v0.6.3-0.20200615074910-2565441cb79d
github.com/keptn/go-utils v0.7.0
)

// replace github.com/keptn/go-utils => ../../keptn/go-utils
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ github.com/keptn/go-utils v0.6.3-0.20200528130847-06ffb9763e83 h1:DbyMq5ELazflrY
github.com/keptn/go-utils v0.6.3-0.20200528130847-06ffb9763e83/go.mod h1:aDNFm3olvCZd7AE6/Xyir4g5Mw6E89mjhKt0zoJHC6g=
github.com/keptn/go-utils v0.6.3-0.20200615074910-2565441cb79d h1:VtFkwEEXBCKnp67X4Dy4y6ZVu+r2X9juDDexgtZl0Sc=
github.com/keptn/go-utils v0.6.3-0.20200615074910-2565441cb79d/go.mod h1:hf2FU6JFuOzLP5rEAlA1/XnNS28pDZbVfxDESeQsq1g=
github.com/keptn/go-utils v0.7.0 h1:UM9luAcPiptFzzTFl3wWHQ32jr9JD94Hx09LCYktI/s=
github.com/keptn/go-utils v0.7.0/go.mod h1:hf2FU6JFuOzLP5rEAlA1/XnNS28pDZbVfxDESeQsq1g=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
Expand Down
45 changes: 45 additions & 0 deletions releasenotes/releasenotes_V0.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Release notes v0.1.0

This service allows to interact with the open source feature toggle system [unleash](https://github.com/unleash).
Triggered by a Keptn CloudEvent of the type `sh.keptn.event.action.triggered`. After the features specified in the event
have been toggled, it sends out an `sh.keptn.event.action.finished` event.

Example payload for an approval.triggered event:

```
{
"type": "sh.keptn.event.action.triggered",
"specversion": "0.2",
"source": "https://github.com/keptn/keptn/remediation-service",
"id": "f2b878d3-03c0-4e8f-bc3f-454bc1b3d79d",
"time": "2019-06-07T07:02:15.64489Z",
"contenttype": "application/json",
"shkeptncontext": "08735340-6f9e-4b32-97ff-3b6c292bc509",
"data": {
"action": {
"name": "FeatureToggle",
"action": "toggle-feature",
"description": "toggle a feature",
"values": {
"EnableItemCache": "on"
}
},
"problem": {
"ImpactedEntity": "carts-primary",
"PID": "93a5-3fas-a09d-8ckf",
"ProblemDetails": "Pod name",
"ProblemID": "762",
"ProblemTitle": "cpu_usage_sockshop_carts",
"State": "OPEN"
},
"project": "sockshop",
"stage": "staging",
"service": "carts",
"labels": {
"testid": "12345",
"buildnr": "build17",
"runby": "JohnDoe"
}
}
}
```

0 comments on commit 0cb041b

Please sign in to comment.