diff --git a/flytectl/.github/workflows/build.yaml b/flytectl/.github/workflows/build.yaml index 9f4ae2c1d6..43e996590c 100644 --- a/flytectl/.github/workflows/build.yaml +++ b/flytectl/.github/workflows/build.yaml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + fetch-depth: "0" - name: Run GoReleaser dry run uses: goreleaser/goreleaser-action@v2 with: diff --git a/flytectl/README.md b/flytectl/README.md index 9fb726e145..1dab7131eb 100644 --- a/flytectl/README.md +++ b/flytectl/README.md @@ -20,9 +20,19 @@ Generating docs locally can be accomplished by running make gendocs from within ## Installation +Install flytectl with homebrew tap ```bash -$ brew tap flyteorg/homebrew-tap/flytectl +$ brew install flyteorg/homebrew-tap/flytectl + +# Upgrade flytectl +$ brew upgrade flytectl ``` + +Install flytectl with shell script +```bash +$ curl -s https://raw.githubusercontent.com/lyft/flytectl/master/install.sh | bash +``` + ## Get Started ### Create a sandbox cluster diff --git a/flytectl/docs/source/index.rst b/flytectl/docs/source/index.rst index 3ac81e83d6..1113458744 100644 --- a/flytectl/docs/source/index.rst +++ b/flytectl/docs/source/index.rst @@ -14,7 +14,9 @@ Install flytectl with homebrew tap .. prompt:: bash - brew tap flyteorg/homebrew-tap/flytectl + brew install flyteorg/homebrew-tap/flytectl + # Upgrade flytectl + brew upgrade flytectl Install flytectl with shell script diff --git a/flytectl/go.mod b/flytectl/go.mod index badf4b152a..522426121a 100644 --- a/flytectl/go.mod +++ b/flytectl/go.mod @@ -9,7 +9,7 @@ require ( github.com/docker/go-connections v0.4.0 github.com/enescakir/emoji v1.0.0 github.com/flyteorg/flyteidl v0.19.2 - github.com/flyteorg/flytestdlib v0.3.21 + github.com/flyteorg/flytestdlib v0.3.24 github.com/ghodss/yaml v1.0.0 github.com/golang/protobuf v1.4.3 github.com/google/go-github v17.0.0+incompatible diff --git a/flytectl/go.sum b/flytectl/go.sum index 34735a6953..a6fadab413 100644 --- a/flytectl/go.sum +++ b/flytectl/go.sum @@ -338,8 +338,8 @@ github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4 github.com/flyteorg/flyteidl v0.19.2 h1:jXuRrLJEzSo33N9pw7bMEd6mRYSL7LCz/vnazz5XcOg= github.com/flyteorg/flyteidl v0.19.2/go.mod h1:576W2ViEyjTpT+kEVHAGbrTP3HARNUZ/eCwrNPmdx9U= github.com/flyteorg/flytestdlib v0.3.13/go.mod h1:Tz8JCECAbX6VWGwFT6cmEQ+RJpZ/6L9pswu3fzWs220= -github.com/flyteorg/flytestdlib v0.3.21 h1:AF+y6wI64DNfoi4WtZU/v18Cfwksg32fijy7PZJ8d+I= -github.com/flyteorg/flytestdlib v0.3.21/go.mod h1:1XG0DwYTUm34Yrffm1Qy9Tdr/pWQypEqTq5dUxw3/cM= +github.com/flyteorg/flytestdlib v0.3.24 h1:Eu5TMKch9ihOavPKufgTBI677eVYjJpOAPPg9hfZIzU= +github.com/flyteorg/flytestdlib v0.3.24/go.mod h1:1XG0DwYTUm34Yrffm1Qy9Tdr/pWQypEqTq5dUxw3/cM= github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= diff --git a/flytectl/pkg/filters/coverage.out b/flytectl/pkg/filters/coverage.out deleted file mode 100644 index 937e698b18..0000000000 --- a/flytectl/pkg/filters/coverage.out +++ /dev/null @@ -1,68 +0,0 @@ -mode: set -github.com/flyteorg/flytectl/pkg/filters/filters.go:18.41,19.18 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:22.2,22.19 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:19.18,21.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:26.50,28.28 2 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:47.2,47.25 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:28.28,29.39 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:29.39,31.18 2 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:34.4,34.36 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:31.18,33.5 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:34.36,36.29 2 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:36.29,38.6 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:38.11,40.6 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:41.10,44.5 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:51.37,53.34 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:56.2,56.14 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:53.34,55.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:64.47,66.2 1 0 -github.com/flyteorg/flytectl/pkg/filters/filters.go:70.46,72.36 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:76.2,78.22 3 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:104.2,104.13 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:108.2,108.24 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:72.36,74.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:78.22,79.14 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:92.3,92.12 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:79.14,80.13 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:88.4,89.12 2 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:81.24,83.19 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:84.12,86.72 1 0 -github.com/flyteorg/flytectl/pkg/filters/filters.go:93.13,94.18 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:95.17,97.34 1 0 -github.com/flyteorg/flytectl/pkg/filters/filters.go:98.11,99.18 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:104.13,106.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:116.39,118.2 1 0 -github.com/flyteorg/flytectl/pkg/filters/filters.go:121.58,122.24 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:144.2,144.26 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:122.24,125.36 3 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:125.36,126.22 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:126.22,127.40 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:127.40,130.6 2 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:131.10,131.23 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:131.23,132.34 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:132.34,136.6 3 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:137.10,138.41 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:138.41,140.6 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:148.44,149.12 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:167.2,167.11 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:150.25,151.45 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:152.22,153.45 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:154.19,155.44 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:156.16,157.44 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:158.16,159.50 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:160.17,161.44 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:162.14,163.44 1 1 -github.com/flyteorg/flytectl/pkg/filters/filters.go:164.10,165.50 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:7.116,9.16 2 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:12.2,20.19 2 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:23.2,23.49 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:26.2,26.21 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:9.16,11.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:20.19,22.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:23.49,25.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:29.76,31.16 2 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:34.2,39.21 2 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:31.16,33.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:42.49,44.11 2 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:47.2,50.3 1 1 -github.com/flyteorg/flytectl/pkg/filters/util.go:44.11,46.3 1 1