deployment: fully split release archives and brews (#1365)

This commit is contained in:
Travis Groth 2020-09-02 17:32:52 -04:00 committed by GitHub
parent 0a2638e5dc
commit 5488e6d5fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 7 deletions

View file

@ -78,7 +78,6 @@ archives:
id: pomerium id: pomerium
builds: builds:
- pomerium - pomerium
- pomerium-cli
files: files:
- none* - none*
format_overrides: format_overrides:
@ -177,3 +176,26 @@ brews:
folder: Formula folder: Formula
install: | install: |
bin.install "pomerium-cli" bin.install "pomerium-cli"
- # Name template of the recipe
name: pomerium
# IDs of the archives to use.
ids:
- pomerium
# GOARM to specify which 32-bit arm version to use if there are multiple versions
# from the build section. Brew formulas support atm only one 32-bit version.
# Default is 6 for all artifacts or each id if there a multiple versions.
goarm: 6
tap:
owner: pomerium
name: homebrew-tap
# Optionally a token can be provided, if it differs from the token provided to GoReleaser
token: "{{ .Env.APPARITOR_GITHUB_TOKEN }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: apparitor
email: apparitor@users.noreply.github.com
folder: Formula
install: |
bin.install "pomerium"

View file

@ -20,8 +20,6 @@ Pomerium is shipped in multiple formats and architectures to suit a variety of d
- Supported Operating Systems: `linux`, `darwin` - Supported Operating Systems: `linux`, `darwin`
- Supported Architectures: `amd64`, `arm64` - Supported Architectures: `amd64`, `arm64`
Pomerium releases include both the `pomerium` and `pomerium-cli` binaries.
### Binaries ### Binaries
Official binaries can be found on our [GitHub Releases](https://github.com/pomerium/pomerium/releases) page. Official binaries can be found on our [GitHub Releases](https://github.com/pomerium/pomerium/releases) page.
@ -30,7 +28,7 @@ Official binaries can be found on our [GitHub Releases](https://github.com/pomer
ARCH=[your arch] ARCH=[your arch]
OS=[your os] OS=[your os]
VERSION=[desired version] VERSION=[desired version]
curl -L https://github.com/pomerium/pomerium/releases/download/${VERSION}/pomerium-${OS}-${ARCH}.tar.gz \ curl -L https://github.com/pomerium/pomerium/releases/download/${VERSION}/pomerium-${OS}-${ARCH}.tar.gz \
| tar -z -x | tar -z -x
``` ```
@ -72,7 +70,7 @@ See the [README](https://github.com/pomerium/pomerium-helm/blob/master/charts/po
### Source ### Source
::: tip ::: tip
Officially supported build platforms are limited by envoy proxy. If you have an Officially supported build platforms are limited by envoy proxy. If you have an
enoy binary for your platform in your path at start time, `pomerium` should function correctly. enoy binary for your platform in your path at start time, `pomerium` should function correctly.
::: :::
@ -96,7 +94,7 @@ Official binaries can be found on our [GitHub Releases](https://github.com/pomer
ARCH=[your arch] ARCH=[your arch]
OS=[your os] OS=[your os]
VERSION=[desired version] VERSION=[desired version]
curl -L https://github.com/pomerium/pomerium/releases/download/${VERSION}/pomerium-cli-${OS}-${ARCH}.tar.gz \ curl -L https://github.com/pomerium/pomerium/releases/download/${VERSION}/pomerium-cli-${OS}-${ARCH}.tar.gz \
| tar -z -x | tar -z -x
``` ```
@ -114,4 +112,4 @@ git clone git@github.com:pomerium/pomerium.git
cd pomerium cd pomerium
make make
./bin/pomerium-cli --help ./bin/pomerium-cli --help
``` ```