Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 19 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
project_name: idpbuilder

before:
Expand Down Expand Up @@ -27,7 +28,8 @@ builds:
- goos: linux
goarch: '386'
brews:
- name: idpbuilder
# For non version installations
- name: "idpbuilder"
homepage: "https://cnoe.io"
repository:
owner: cnoe-io
Expand All @@ -40,7 +42,22 @@ brews:
install: |
bin.install "idpbuilder"
test: |
system "#{bin}/idpbuilder --version"
system "#{bin}/idpbuilder version"
# For versioned and nightly installations
- name: "{{ if contains .Tag \"nightly\" }}idpbuilder@nightly{{ else }}idpbuilder@{{ .Major }}.{{ .Minor }}.{{ .Patch }}{{ end }}"
homepage: "https://cnoe.io"
repository:
owner: cnoe-io
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TOKEN }}"
commit_author:
name: "CNOEAutomation"
email: "noreply@cnoe.io"
directory: Formula
install: |
bin.install "idpbuilder"
test: |
system "#{bin}/idpbuilder version"
archives:
- format: tar.gz
name_template: >-
Expand Down
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,26 @@ This can be useful in several ways:
* Use within CI to perform integration testing.
* Use as a local development environment for platform engineers.

## Getting Started
## Installation
### Using [Homebrew](https://brew.sh)
+ Stable Version

```bash
brew install cnoe-io/tap/idpbuilder
```
+ Specific Stable Version

```bash
brew install cnoe-io/tap/idpbuilder@<version>
```
+ Nightly Version

The easiest way to get started is to grab the idpbuilder binary for your platform and run it. You can visit our [nightly releases](https://github.com/cnoe-io/idpbuilder/releases/latest) page to download the version for your system, or run the following commands:
```bash
brew install cnoe-io/tap/idpbuilder@nightly
```

### From Releases
Another way to get started is to grab the idpbuilder binary for your platform and run it. You can visit our [releases](https://github.com/cnoe-io/idpbuilder/releases) page to download the version for your system, or run the following commands:

```bash
arch=$(if [[ "$(uname -m)" == "x86_64" ]]; then echo "amd64"; else uname -m; fi)
Expand All @@ -37,13 +54,15 @@ curl -vskL -O https://github.com/cnoe-io/idpbuilder/releases/latest/download/idp
tar xvzf idpbuilder-linux-amd64.tar.gz idpbuilder
```

## Getting Started

You can then run idpbuilder with the create argument to spin up your CNOE IDP:

```bash
./idpbuilder create
```

For more detailed information, checkout our [documentation website](https://cnoe.io/docs/reference-implementation/idpbuilder) on getting started with idpbuilder.
For more detailed information, checkout our [documentation](https://cnoe.io/docs/idpbuilder) on getting started with idpbuilder.

## Community

Expand Down
Loading