File tree Expand file tree Collapse file tree 7 files changed +54
-239
lines changed Expand file tree Collapse file tree 7 files changed +54
-239
lines changed Original file line number Diff line number Diff line change 1
- VERSION =v0.0.52
1
+ VERSION =v0.0.53
2
2
OUT_DIR =dist
3
3
YEAR? =$(shell date +"% Y")
4
4
@@ -61,7 +61,7 @@ cli: $(OUT_DIR)/$(CLI_NAME)-linux-amd64.sha256 $(OUT_DIR)/$(CLI_NAME)-linux-arm6
61
61
62
62
.PHONY : cli-local
63
63
cli-local : $(OUT_DIR ) /$(CLI_NAME ) -$(shell go env GOOS) -$(shell go env GOARCH)
64
- @cp $(OUT_DIR ) /$(CLI_NAME ) -$(shell go env GOOS) -$(shell go env GOARCH) /usr/local/bin/$(CLI_NAME )
64
+ @ln $(OUT_DIR ) /$(CLI_NAME ) -$(shell go env GOOS) -$(shell go env GOARCH) /usr/local/bin/$(CLI_NAME ) -dev
65
65
66
66
.PHONY : cli-package
67
67
cli-package : $(OUT_DIR ) /$(CLI_NAME ) -$(shell go env GOOS) -$(shell go env GOARCH)
Original file line number Diff line number Diff line change 11
11
The new Codefresh CLI tool.
12
12
13
13
## Installation
14
+ ### Using brew:
15
+ ``` bash
16
+ # tap Codefresh homebrew repo
17
+ brew tap codefresh-io/cli
18
+
19
+ # install cf2 CLI
20
+ brew install cf2
21
+
22
+ # check the installation
23
+ cf version
24
+ ```
25
+
14
26
### Mac
15
27
16
28
``` bash
Original file line number Diff line number Diff line change
1
+ class CF2 < Formula
2
+ desc "Codefresh CLI tool, V2"
3
+ homepage "https://codefresh.io/"
4
+ url "https://github.com/codefresh-io/cli-v2.git" ,
5
+ tag : "v{{ version }}" ,
6
+ revision : "{{ revision }}"
7
+ license "Apache-2.0"
8
+
9
+ depends_on "go" => :build
10
+
11
+ def install
12
+ system "make" , "cli-package" , "DEV_MODE=false"
13
+ bin . install "dist/cf" => "cf"
14
+ end
15
+
16
+ test do
17
+ assert_match version . to_s , shell_output ( "#{ bin } /cf version" )
18
+
19
+ assert_match "must provide context name to use\" " ,
20
+ shell_output ( "#{ bin } /cf config use-context 2>&1" , 1 )
21
+ end
22
+ end
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
### Installed Applications:
2
- * Argo CD [ v2.1.0-rc1 ] ( https://github.com/codefresh-io/argo-cd/releases/tag/v2.1.0-rc1 )
2
+ * Argo CD [ v2.1.0-rc2 ] ( https://github.com/codefresh-io/argo-cd/releases/tag/v2.1.0-rc2 )
3
3
* Argo CD ApplicationSet Controller [ 2c62537a8e5a] ( https://github.com/argoproj-labs/applicationset/commit/2c62537a8e5a3d5aecad87b843870789b74bdf89 )
4
4
* Argo Events [ v1.4.0] ( https://github.com/argoproj/argo-events/releases/tag/v1.4.0 )
5
5
* Argo Rollouts [ v1.0.4] ( https://github.com/argoproj/argo-rollouts/releases/tag/v1.0.4 )
6
- * Argo Workflows [ v3.1.3] ( https://github.com/argoproj/argo-workflows/releases/tag/v3.1.3 )
6
+ * Argo Workflows [ v3.1.5] ( https://github.com/argoproj/argo-workflows/releases/tag/v3.1.5 )
7
+
8
+ ### Using brew:
9
+ ``` bash
10
+ # tap Codefresh homebrew repo
11
+ brew tap codefresh-io/cli
12
+
13
+ # install cf2 CLI
14
+ brew install cf2
15
+
16
+ # check the installation
17
+ cf version
18
+ ```
7
19
8
20
### Linux
9
21
``` bash
10
22
# download and extract the binary
11
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.52 /cf-linux-amd64.tar.gz | tar zx
23
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.53 /cf-linux-amd64.tar.gz | tar zx
12
24
13
25
# move the binary to your $PATH
14
26
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -20,7 +32,7 @@ cf version
20
32
### Mac
21
33
``` bash
22
34
# download and extract the binary
23
- curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.52 /cf-darwin-amd64.tar.gz | tar zx
35
+ curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.53 /cf-darwin-amd64.tar.gz | tar zx
24
36
25
37
# move the binary to your $PATH
26
38
mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change 1
1
apiVersion : kustomize.config.k8s.io/v1beta1
2
2
kind : Kustomization
3
3
resources :
4
- - https://github.com/argoproj/argo-workflows/releases/download/v3.1.3 /install.yaml
4
+ - https://github.com/argoproj/argo-workflows/releases/download/v3.1.5 /install.yaml
5
5
6
6
patches :
7
7
# reset the crbs to `subject.namespace: default`, so that argo-workflows will later change them to the actual ns
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.52
8
+ version : 0.0.53
9
9
bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
10
10
components :
11
11
- name : events
You can’t perform that action at this time.
0 commit comments