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
22OUT_DIR =dist
33YEAR? =$(shell date +"% Y")
44
@@ -61,7 +61,7 @@ cli: $(OUT_DIR)/$(CLI_NAME)-linux-amd64.sha256 $(OUT_DIR)/$(CLI_NAME)-linux-arm6
6161
6262.PHONY : cli-local
6363cli-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
6565
6666.PHONY : cli-package
6767cli-package : $(OUT_DIR ) /$(CLI_NAME ) -$(shell go env GOOS) -$(shell go env GOARCH)
Original file line number Diff line number Diff line change 1111The new Codefresh CLI tool.
1212
1313## 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+
1426### Mac
1527
1628``` 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 11### 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 )
33 * Argo CD ApplicationSet Controller [ 2c62537a8e5a] ( https://github.com/argoproj-labs/applicationset/commit/2c62537a8e5a3d5aecad87b843870789b74bdf89 )
44* Argo Events [ v1.4.0] ( https://github.com/argoproj/argo-events/releases/tag/v1.4.0 )
55* 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+ ```
719
820### Linux
921``` bash
1022# 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
1224
1325# move the binary to your $PATH
1426mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -20,7 +32,7 @@ cf version
2032### Mac
2133``` bash
2234# 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
2436
2537# move the binary to your $PATH
2638mv ./cf-darwin-amd64 /usr/local/bin/cf
Original file line number Diff line number Diff line change 11apiVersion : kustomize.config.k8s.io/v1beta1
22kind : Kustomization
33resources :
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
55
66patches :
77 # 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:
55 namespace : " {{ namespace }}"
66spec :
77 defVersion : 1.0.0
8- version : 0.0.52
8+ version : 0.0.53
99 bootstrapSpecifier : github.com/codefresh-io/cli-v2/manifests/argo-cd
1010 components :
1111 - name : events
You can’t perform that action at this time.
0 commit comments