forked from keptn/keptn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keptn#2983 added keptn spec version to events sent by shipyard-contro…
…ller (keptn#3294) * keptn#2983 added keptn spec versino to events sent by shipyard-controller Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 added a little unit test Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 get tag name of specification Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 remove gitmodules Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 re-added specification submodule Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 check out submodules Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 removed --exact-match from describe tags command Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 update models in mongodb-datastore Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 update deployment yaml of mongodb-datastore Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 removed duplications Signed-off-by: Florian Bacher <[email protected]> * keptn#2983 reverted changes to deployment.yaml Signed-off-by: Florian Bacher <[email protected]>
- Loading branch information
Showing
13 changed files
with
79 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
[submodule "specification"] | ||
path = specification | ||
url = https://github.com/keptn/spec.git | ||
url = https://github.com/keptn/spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package common | ||
|
||
import ( | ||
"github.com/stretchr/testify/assert" | ||
"os" | ||
"testing" | ||
) | ||
|
||
func TestGetKeptnSpecVersion(t *testing.T) { | ||
specVersion := GetKeptnSpecVersion() | ||
assert.Equal(t, "", specVersion) | ||
|
||
os.Setenv(keptnSpecVersionEnvVar, "0.2.0") | ||
specVersion = GetKeptnSpecVersion() | ||
assert.Equal(t, "0.2.0", specVersion) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule specification
added at
b14dc2