Skip to content

Commit

Permalink
added brews
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarazzutti committed Dec 23, 2021
1 parent e974e5e commit 9489746
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
12 changes: 10 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ builds:
- arm64
hooks:
post:
- sh -c 'upx "{{ .Path }}" || true' # run in
- sh -c 'upx "{{ .Path }}" || true' # run in sh in order to not fail when upx cannot run on an arch

archives:
-
Expand Down Expand Up @@ -63,4 +63,12 @@ nfpms:
formats:
- apk
- deb
- rpm
- rpm
brews:
-
tap:
owner: fever-ch
name: homebrew-tap
homepage: 'Http-Ping is similar to the usual ping networking utility but instead of working on top of ICMP, it works on top of HTTP/S.'
description: 'Http-Ping is similar to the usual ping networking utility but instead of working on top of ICMP, it works on top of HTTP/S.'

34 changes: 32 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,39 @@ HTTP-PING https://europe-west6-5tkroniexa-oa.a.run.app/api/ping HEAD
round-trip min/avg/max/stddev = 53.250/53.250/53.250/0.000 ms
```
_note: the latency contribution tree only covers the main steps of the HTTP exchange, thus the sum doesn't fully match._

## Install on Linux/FreeBSD/MacOS

The [releases](https://github.com/fever-ch/http-ping/releases) are providing packages for the following systems:
- `deb`: Debian, Ubuntu, ...
- `rpm`: RedHat, CentOS, SuSE, ...
- `apk`: Alpine

## Install with Homebrew (Mac/Linux)

A third party repository, [fever-ch/tap](https://www.github.com/fever-ch/homebrew-tap), provides up-to-date formula to deploy `http-ping` easily on platforms supported by [Homebrew](https://brew.sh).

To install using Brew, run the following command:
```shell
> brew install fever-ch/tap/http-ping
```

## Install on Linux/FreeBSD/MacOS/Windows

The [releases](https://github.com/fever-ch/http-ping/releases) are also containing archive which contains the executable file, `tar.gz` files for Linux/FreeBSD/MacOS ans `zip` files for Windows.


## Use with Docker
```shell
docker run --rm feverch/http-ping
> docker run --rm feverch/http-ping
```

Note: images are published as `feverch/http-ping` (Central Docker registry) or `ghcr.io/fever-ch/http-ping` (Github Container registry)
Note: images are published as `feverch/http-ping` (Central Docker registry) or `ghcr.io/fever-ch/http-ping` (Github Container registry)


## Build your own binaries

You can easily build `http-ping`, if `golang` is available on your system.
```shell
> go install github.com/fever-ch/http-ping@latest
```

0 comments on commit 9489746

Please sign in to comment.