Skip to content

Commit

Permalink
👷 Add apt/yum repo publish
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 9, 2022
1 parent 1dd9355 commit 6028f0f
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: dist
Expand Down
12 changes: 12 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ brews:
(bash_completion/"{{ .ProjectName }}").write output
output = Utils.safe_popen_read("#{bin}/{{ .ProjectName }}", "completion", "zsh")
(zsh_completion/"_{{ .ProjectName }}").write output
nfpms:
- id: packages
formats:
- deb
- rpm
maintainer: Gabe Cook <[email protected]>
publishers:
- name: fury.io
ids:
- packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -sf -Fpackage=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/clevyr/
63 changes: 59 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,66 @@ to configure itself via the Kubernetes EnvVar API.

## Installation

To install kubedb, run the following command:
### Homebrew (macOS, Linux)

```shell
brew install clevyr/tap/kubedb
```
<details>
<summary>Click to expand</summary>

```shell
brew install clevyr/tap/kubedb
```
</details>

### APT Repository (Ubuntu, Debian)

<details>
<summary>Click to expand</summary>

1. If you don't have it already, install the `ca-certificates` package
```shell
apt install ca-certificates
```

2. Add Clevyr's apt repository to `/etc/apt/sources.list.d/clevyr.list`
```
deb [trusted=yes] https://apt.clevyr.com /
```

3. Update apt repositories
```shell
apt update
```

4. Install yampl
```shell
apt install kubedb
```
</details>

### RPM Repository (CentOS, RHEL)

<details>
<summary>Click to expand</summary>

1. If you don't have it already, install the `ca-certificates` package
```shell
yum install ca-certificates
```

2. Add Clevyr's rpm repository to `/etc/yum.repos.d/clevyr.repo`
```ini
[clevyr]
name=Clevyr
baseurl=https://rpm.clevyr.com
enabled=1
gpgcheck=0
```

3. Install yampl
```shell
yum install kubedb
```
</details>

Kubedb requires an existing Kubeconfig. See below for details.

Expand Down

0 comments on commit 6028f0f

Please sign in to comment.