File tree Expand file tree Collapse file tree 7 files changed +15
-14
lines changed Expand file tree Collapse file tree 7 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1
- VERSION =v0.0.62
1
+ VERSION =v0.0.63
2
2
OUT_DIR =dist
3
3
YEAR? =$(shell date +"% Y")
4
4
Original file line number Diff line number Diff line change @@ -291,24 +291,25 @@ func RunRuntimeList() error {
291
291
name := "N/A"
292
292
version := "N/A"
293
293
294
- if rt .HealthMessage != nil {
295
- status = * rt .HealthMessage
294
+ // make sure the go-sdk is returning the "self" reference
295
+ if rt .Self != nil && rt .Self .HealthMessage != nil {
296
+ status = * rt .Self .HealthMessage
296
297
}
297
298
298
299
if rt .Metadata .Namespace != "" {
299
300
namespace = rt .Metadata .Namespace
300
301
}
301
302
302
- if rt .Cluster != "" {
303
- cluster = rt .Cluster
303
+ if rt .Cluster != nil {
304
+ cluster = * rt .Cluster
304
305
}
305
306
306
307
if rt .Metadata .Name != "" {
307
308
name = rt .Metadata .Name
308
309
}
309
310
310
- if rt .RuntimeVersion != "" {
311
- version = rt .RuntimeVersion
311
+ if rt .RuntimeVersion != nil {
312
+ version = * rt .RuntimeVersion
312
313
}
313
314
314
315
_ , err = fmt .Fprintf (tb , "%s\t %s\t %s\t %s\t %s\n " ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ cf version
20
20
### Linux
21
21
``` bash
22
22
# download and extract the binary
23
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.62 /cf-linux-amd64.tar.gz | tar zx
23
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.63 /cf-linux-amd64.tar.gz | tar zx
24
24
25
25
# move the binary to your $PATH
26
26
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -32,7 +32,7 @@ cf version
32
32
### Mac
33
33
``` bash
34
34
# download and extract the binary
35
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.62 /cf-darwin-amd64.tar.gz | tar zx
35
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.63 /cf-darwin-amd64.tar.gz | tar zx
36
36
37
37
# move the binary to your $PATH
38
38
mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ require (
10
10
github.com/argoproj/argo-events v1.3.1
11
11
github.com/argoproj/argo-workflows/v3 v3.1.0
12
12
github.com/briandowns/spinner v1.16.0
13
- github.com/codefresh-io/go-sdk v0.30.2
13
+ github.com/codefresh-io/go-sdk v0.31.0
14
14
github.com/fatih/color v1.12.0
15
15
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
16
16
github.com/go-git/go-billy/v5 v5.3.1
Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
269
269
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403 /go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk =
270
270
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa /go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8 =
271
271
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd /go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI =
272
- github.com/codefresh-io/go-sdk v0.30.2 h1:NbWph0RUsE9R6Iesm+pvB+5ODuFCGyofbSTrbfx3w4o =
273
- github.com/codefresh-io/go-sdk v0.30.2 /go.mod h1:CcoVmTFWHGkbrSW8LyOGB/vJe5Vzr3iC/pNE2QIBTyg =
272
+ github.com/codefresh-io/go-sdk v0.31.0 h1:F3RAfc3O8fgEasvc0bNtpFUOP7rYQarBMq/QInlb0QM =
273
+ github.com/codefresh-io/go-sdk v0.31.0 /go.mod h1:CcoVmTFWHGkbrSW8LyOGB/vJe5Vzr3iC/pNE2QIBTyg =
274
274
github.com/colinmarc/hdfs v1.1.4-0.20180802165501-48eb8d6c34a9 /go.mod h1:0DumPviB681UcSuJErAbDIOx6SIaJWj463TymfZG02I =
275
275
github.com/colinmarc/hdfs v1.1.4-0.20180805212432-9746310a4d31 /go.mod h1:vSBumefK4HA5uiRSwNP+3ofgrEoScpCS2MMWcWXEuQ4 =
276
276
github.com/container-storage-interface/spec v1.3.0 /go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4 =
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
namespace : " {{ namespace }}"
6
6
spec :
7
7
defVersion : 1.0.0
8
- version : 0.0.62
8
+ version : 0.0.63
9
9
bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
10
10
components :
11
11
- name : events
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ func init() {
94
94
s .ComponentsReporterSA = "components-reporter-sa"
95
95
s .DefaultAPI = "https://g.codefresh.io"
96
96
s .EventBusName = "codefresh-eventbus"
97
- s .EventReportingEndpoint = "/argo /api/events"
97
+ s .EventReportingEndpoint = "/2.0 /api/events"
98
98
s .GitSourceName = "default-git-source"
99
99
s .LabelKeyCFType = "codefresh.io/entity"
100
100
s .MaxDefVersion = semver .MustParse (maxDefVersion )
You can’t perform that action at this time.
0 commit comments