Skip to content

Commit 03f1959

Browse files
author
Oleg Sucharevich
committed
before createing resources , sign the certificates with codefresh
1 parent 4d03fea commit 03f1959

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "venona",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "Codefresh agent to run on Codefresh's runtime environment and execute pipeline",
55
"main": "index.js",
66
"scripts": {

venonactl/cmd/install.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ func init() {
8989
}
9090

9191
func installRuntimeEnvironment() {
92-
err := runtimectl.GetOperator(runtimectl.RuntimeEnvironmentOperatorType).Install()
93-
internal.DieOnError(err)
94-
9592
cfAPI := codefresh.New()
96-
err = cfAPI.Validate()
93+
err := cfAPI.Validate()
9794
internal.DieOnError(err)
9895

9996
err = cfAPI.Sign()
10097
internal.DieOnError(err)
10198

99+
err = runtimectl.GetOperator(runtimectl.RuntimeEnvironmentOperatorType).Install()
100+
internal.DieOnError(err)
101+
102102
err = cfAPI.Register()
103103
internal.DieOnError(err)
104104

0 commit comments

Comments
 (0)