Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: simplify install instructions #8661

Merged
merged 1 commit into from
Apr 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 13 additions & 39 deletions hack/changelog-header.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,70 +3,44 @@
### amd64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-amd64.tar.gz.pem --signature jx-linux-amd64.tar.gz.sig jx-linux-amd64.tar.gz

tar -zxvf jx-linux-amd64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-amd64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-arm.tar.gz.pem --signature jx-linux-arm.tar.gz.sig jx-linux-arm.tar.gz
tar -zxvf jx-linux-arm.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-linux-arm64.tar.gz.pem --signature jx-linux-arm64.tar.gz.sig jx-linux-arm64.tar.gz

tar -zxvf jx-linux-arm64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-linux-arm64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

## macOS

### amd64
### Using homebrew

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz.pem
brew install --no-quarantine --cask jenkins-x/jx/jx
```

### Using curl

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-darwin-amd64.tar.gz.pem --signature jx-darwin-amd64.tar.gz.sig jx-darwin-amd64.tar.gz
#### amd64

tar -zxvf jx-darwin-amd64.tar.gz
```shell
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-amd64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```

### arm64
#### arm64

```shell
# Download the archive and the cosign generated signature
curl -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz.sig -LO https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz.pem

# Install cosign: https://docs.sigstore.dev/cosign/installation
# Verify using cosign
COSIGN_EXPERIMENTAL=1 cosign verify-blob --certificate jx-darwin-arm64.tar.gz.pem --signature jx-darwin-arm64.tar.gz.sig jx-darwin-arm64.tar.gz

tar -zxvf jx-darwin-arm64.tar.gz
curl -L https://github.com/jenkins-x/jx/releases/download/v{{.Version}}/jx-darwin-arm64.tar.gz | tar xzv
sudo mv jx /usr/local/bin
```
Loading