Skip to content

Commit

Permalink
Add info in README about debian installs
Browse files Browse the repository at this point in the history
Signed-off-by: Chmouel Boudjnah <[email protected]>
  • Loading branch information
chmouel authored and tekton-robot committed Dec 12, 2019
1 parent 9267f6d commit 096f421
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Download the latest binary executable for your operating system:
- Click `New` and add the location of the uncompressed zip to the `Path`
- Finish by clicking `Ok`

#### Linux tarballs

* [Linux AMD 64](https://github.com/tektoncd/cli/releases/download/v0.6.0/tkn_0.6.0_Linux_x86_64.tar.gz)

```shell
Expand All @@ -54,6 +56,8 @@ Download the latest binary executable for your operating system:
sudo tar xvzf tkn_0.6.0_Linux_arm64.tar.gz -C /usr/local/bin/ tkn
```

### Linux RPMs

If you are running on any of the following rpm based distros:

* Fedora30
Expand All @@ -71,7 +75,39 @@ Download the latest binary executable for your operating system:
dnf install tektoncd-cli
```

* Source install
* [Binary RPM package](https://github.com/tektoncd/cli/releases/download/v0.6.0/cli_0.6.0_Linux-64bit.rpm)

On any other RPM based distros you can install the rpm directly :

```shell
rpm -Uvh https://github.com/tektoncd/cli/releases/download/v0.6.0/cli_0.6.0_Linux-64bit.rpm
```

#### Linux Debs

* [Ubuntu PPA](https://launchpad.net/~tektoncd/+archive/ubuntu/cli/+packages)

If you are running on a latest Ubuntu or Debian you would be able to use our TektonCD CLI PPA :

```shell
sudo apt update;sudo apt install -y gnupg
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA
echo "deb http://ppa.launchpad.net/tektoncd/cli/ubuntu eoan main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list
sudo apt update && sudo apt install -y tektoncd-cli
```

this may works with older releases but that hasn't been tested.

* [Binary DEB package](https://github.com/tektoncd/cli/releases/download/v0.6.0/cli_0.6.0_Linux-64bit.deb)

On any other Debian or Ubuntu based distro, you can simply install the binary package directly with `dpkg` :

```shell
curl -LO https://github.com/tektoncd/cli/releases/download/v0.6.0/cli_0.6.0_Linux-64bit.deb
dpkg -i cli_0.6.0_Linux-64bit.deb
```

# Source install

If you have [go](https://golang.org/) installed, and you want to compile the CLI from source you can checkout the [Git repository](https://github.com/tektoncd/cli) and run the following commands:

Expand Down
8 changes: 7 additions & 1 deletion RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
able to upload it to the copr repository. This could take some time if copr
builder is busy.

- When it's released, you can build the rpm according to this
[README](tekton/debbuild/README.md). Make sure you have done the prerequist to
be able to upload to the [launchpad team](https://launchpad.net/~tektoncd),
and make sure as well that you have setup your GPG key and add it to your
profile on launchpad.

- You need to edit the Changelog according to the other templates in there.
Usually you may want to do this in hackmd so you can have other cli
maintainers do this with you. You can see an example
Expand Down Expand Up @@ -45,4 +51,4 @@ dnf upgrade tektoncd-cli
perhaps add the major new features in the tweet. See [here](https://twitter.com/chmouel/status/1177172542144036869) for an example.
Do not fear to add a bunch of emojis 🎉🥳. Ask @vdemeester for tips 🤣.

- Notify the cli channel on slack.
- Notify the cli channel on slack.

0 comments on commit 096f421

Please sign in to comment.