Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #125 from keptn/release-0.5.0
Browse files Browse the repository at this point in the history
Release 0.5.0
  • Loading branch information
bacherfl authored Dec 4, 2019
2 parents 67ab79a + eb812a8 commit d3b1e2b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pkg/api/utils/apiServiceUtils.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import (
"crypto/tls"
"encoding/json"
"fmt"
"github.com/keptn/go-utils/pkg/api/models"
"io/ioutil"
"net/http"

"github.com/keptn/go-utils/pkg/api/models"
)

// APIService represents the interface for accessing the configuration service
Expand Down
18 changes: 18 additions & 0 deletions pkg/events/keptnEvents.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ type ConfigurationChangeEventData struct {
// FileChangesUmbrellaChart provides new content for the umbrealla chart.
// The key value pairs represent the URI within the chart (i.e. the key) and the new content (i.e. the value).
FileChangesUmbrellaChart map[string]string `json:"fileChangesUmbreallaChart,omitempty"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// Canary describes the new configuration in a canary release
Expand All @@ -122,6 +124,8 @@ type DeploymentFinishedEventData struct {
Tag string `json:"tag"`
// Image of the new deployed artifact
Image string `json:"image"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// TestsFinishedEventData represents the data for a test finished event
Expand All @@ -140,6 +144,8 @@ type TestsFinishedEventData struct {
Start string `json:"start"`
// End indicates the end timestamp of the tests
End string `json:"end"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// StartEvaluationEventData represents the data for a test finished event
Expand All @@ -158,6 +164,8 @@ type StartEvaluationEventData struct {
Start string `json:"start"`
// End indicates the end timestamp of the tests
End string `json:"end"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// EvaluationDoneEventData contains information about evaluation results
Expand All @@ -175,6 +183,8 @@ type EvaluationDoneEventData struct {
TestStrategy string `json:"teststrategy"`
// DeploymentStrategy is the deployment strategy
DeploymentStrategy string `json:"deploymentstrategy"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

type EvaluationDetails struct {
Expand Down Expand Up @@ -233,6 +243,8 @@ type ProblemEventData struct {
Stage string `json:"stage,omitempty"`
// Service is the name of the new service
Service string `json:"service,omitempty"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// ConfigureMonitoringEventData represents the data necessary to configure monitoring for a service
Expand Down Expand Up @@ -263,8 +275,11 @@ type InternalGetSLIEventData struct {
TestStrategy string `json:"teststrategy"`
// DeploymentStrategy is the deployment strategy
DeploymentStrategy string `json:"deploymentstrategy"`
Deployment string `json:"deployment"`
Indicators []string `json:"indicators"`
CustomFilters []*SLIFilter `json:"customFilters"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}

// InternalGetSLIDoneEventData contains a list of SLIs and their values
Expand All @@ -282,4 +297,7 @@ type InternalGetSLIDoneEventData struct {
IndicatorValues []*SLIResult `json:"indicatorValues"`
// DeploymentStrategy is the deployment strategy
DeploymentStrategy string `json:"deploymentstrategy"`
Deployment string `json:"deployment"`
// Labels contains labels
Labels map[string]string `json:"labels"`
}
7 changes: 7 additions & 0 deletions releasenotes/releasenotes_V0.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release Notes 0.5.0

## New Features
- Added deployment-type to get-sli events [#1161](https://github.com/keptn/keptn/issues/1161)
- Always set host to `api.keptn` when sending cluster-internal API requests [#1167](https://github.com/keptn/keptn/issues/1167)
- Added `label` property to all events involved in the CD workflow [#1147](https://github.com/keptn/keptn/issues/1147)

2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0
0.5.0

0 comments on commit d3b1e2b

Please sign in to comment.