1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -82,3 +82,4 @@ jobs:
|
|||||||
args: release --release-notes=/tmp/release.txt --skip-validate
|
args: release --release-notes=/tmp/release.txt --skip-validate
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -15,3 +15,19 @@ archives:
|
|||||||
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
files:
|
files:
|
||||||
- none*
|
- none*
|
||||||
|
brews:
|
||||||
|
- tap:
|
||||||
|
owner: fluxcd
|
||||||
|
name: homebrew-tap
|
||||||
|
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
|
||||||
|
|
||||||
|
folder: Formula
|
||||||
|
homepage: "https://toolkit.fluxcd.io/"
|
||||||
|
description: "GitOps Toolkit CLI"
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- name: kubectl
|
||||||
|
type: optional
|
||||||
|
|
||||||
|
test: |
|
||||||
|
system "#{bin}/gotk --version"
|
||||||
|
|||||||
@@ -19,7 +19,15 @@ export GITHUB_USER=<your-username>
|
|||||||
|
|
||||||
## Install the toolkit CLI
|
## Install the toolkit CLI
|
||||||
|
|
||||||
To install the latest `gotk` release run:
|
To install the latest `gotk` release on MacOS and Linux using
|
||||||
|
[Homebrew](https://brew.sh/) run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
brew tap fluxcd/tap
|
||||||
|
brew install gotk
|
||||||
|
```
|
||||||
|
|
||||||
|
Or install `gotk` by downloading precompiled binaries using a Bash script:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
||||||
@@ -29,7 +37,7 @@ The install script downloads the gotk binary to `/usr/local/bin`.
|
|||||||
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
||||||
[release page](https://github.com/fluxcd/toolkit/releases).
|
[release page](https://github.com/fluxcd/toolkit/releases).
|
||||||
|
|
||||||
To configure your shell to load gotk completions add to your bash profile:
|
To configure your shell to load gotk completions add to your Bash profile:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# ~/.bashrc or ~/.bash_profile
|
# ~/.bashrc or ~/.bash_profile
|
||||||
|
|||||||
@@ -8,13 +8,24 @@ to manage one or more Kubernetes clusters.
|
|||||||
You will need a Kubernetes cluster version **1.16** or newer
|
You will need a Kubernetes cluster version **1.16** or newer
|
||||||
and kubectl version **1.18** or newer.
|
and kubectl version **1.18** or newer.
|
||||||
|
|
||||||
Install the toolkit CLI with:
|
## Install the toolkit CLI
|
||||||
|
|
||||||
|
With Homebrew:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
brew tap fluxcd/tap
|
||||||
|
brew install gotk
|
||||||
|
```
|
||||||
|
|
||||||
|
With Bash:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
curl -s https://toolkit.fluxcd.io/install.sh | sudo bash
|
||||||
|
|
||||||
|
# enable completions in ~/.bash_profile
|
||||||
|
. <(gotk completion)
|
||||||
```
|
```
|
||||||
|
|
||||||
The install script downloads the gotk binary to `/usr/local/bin`.
|
|
||||||
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
Binaries for macOS and Linux AMD64/ARM64 are available for download on the
|
||||||
[release page](https://github.com/fluxcd/toolkit/releases).
|
[release page](https://github.com/fluxcd/toolkit/releases).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user