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

Add homebrew custom tap #1849

Closed
wants to merge 12 commits into from
9 changes: 8 additions & 1 deletion .github/package-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ jobs:
echo creating '"pip"' cache directory for Cloudsmith
mkdir -p $HOME/.cache/pip && chmod -R 777 $HOME/.cache || echo Ignoring error creating '"pip"' cache directory


# Determine which package organization we should use (e.g. dev or prod)
- name: "Determine package repo"
shell: bash
Expand Down Expand Up @@ -220,3 +219,11 @@ jobs:
republish: 'true' # Needed if version is not changing
file: '${{steps.artifact.outputs.path}}' # Package filename (including path)
no-wait-for-sync: 'true' # Skip the waiting for package synchronisation (i.e. upload only)

homebrew:
runs-on: ubuntu-latest
steps:
- name: "Create Homebrew formula"
shell: bash
run: |
make -C vendor/${{github.workflow}} homebrew
13 changes: 13 additions & 0 deletions HomebrewFormula/amtool.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Amtool < Formula
desc "Tool for interacting with the Alertmanager API"
url "https://github.com/cloudposse/packages.git"
version "0.23.0"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/amtool" do
system "make", "install"
bin.install "cloudposse/amtool"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/argocd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Argocd < Formula
desc "Declarative GitOpts for Kubernetes"
url "https://github.com/cloudposse/packages.git"
version "2.1.6"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/argocd" do
system "make", "install"
bin.install "cloudposse/argocd"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/assume-role.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class AssumeRole < Formula
desc "Easily assume AWS roles in your terminal."
url "https://github.com/cloudposse/packages.git"
version "0.3.2"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/assume-role" do
system "make", "install"
bin.install "cloudposse/assume-role"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/atlantis.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Atlantis < Formula
desc "Terraform For Teams"
url "https://github.com/cloudposse/packages.git"
version "0.17.5"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/atlantis" do
system "make", "install"
bin.install "cloudposse/atlantis"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/atmos.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Atmos < Formula
desc "Universal Tool for DevOps and Cloud Automation"
url "https://github.com/cloudposse/packages.git"
version "1.3.9"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/atmos" do
system "make", "install"
bin.install "cloudposse/atmos"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/awless.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Awless < Formula
desc "A Mighty CLI for AWS"
url "https://github.com/cloudposse/packages.git"
version "0.1.11"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/awless" do
system "make", "install"
bin.install "cloudposse/awless"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/aws-iam-authenticator.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class AwsIamAuthenticator < Formula
desc "A tool to use AWS IAM credentials to authenticate to a Kubernetes cluster"
url "https://github.com/cloudposse/packages.git"
version "0.5.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/aws-iam-authenticator" do
system "make", "install"
bin.install "cloudposse/aws-iam-authenticator"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/aws-okta.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class AwsOkta < Formula
desc "aws-vault like tool for Okta authentication"
url "https://github.com/cloudposse/packages.git"
version "1.0.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/aws-okta" do
system "make", "install"
bin.install "cloudposse/aws-okta"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/aws-vault.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class AwsVault < Formula
desc "A vault for securely storing and accessing AWS credentials in development environments"
url "https://github.com/cloudposse/packages.git"
version "6.3.1"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/aws-vault" do
system "make", "install"
bin.install "cloudposse/aws-vault"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/cfssl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Cfssl < Formula
desc "Cloudflare's PKI and TLS toolkit"
url "https://github.com/cloudposse/packages.git"
version "1.6.1"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/cfssl" do
system "make", "install"
bin.install "cloudposse/cfssl"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/cfssljson.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Cfssljson < Formula
desc "Cloudflare's PKI and TLS toolkit json parser"
url "https://github.com/cloudposse/packages.git"
version "1.6.1"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/cfssljson" do
system "make", "install"
bin.install "cloudposse/cfssljson"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/chamber.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Chamber < Formula
desc "CLI for managing secrets"
url "https://github.com/cloudposse/packages.git"
version "2.10.6"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/chamber" do
system "make", "install"
bin.install "cloudposse/chamber"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/cli53.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Cli53 < Formula
desc "Command line tool for Amazon Route 53"
url "https://github.com/cloudposse/packages.git"
version "0.8.18"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/cli53" do
system "make", "install"
bin.install "cloudposse/cli53"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/cloudflared.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Cloudflared < Formula
desc "Argo Tunnel client"
url "https://github.com/cloudposse/packages.git"
version "2021.11.0"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/cloudflared" do
system "make", "install"
bin.install "cloudposse/cloudflared"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/cloudposse-atlantis.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class CloudposseAtlantis < Formula
desc "Terraform For Teams, enhanced by Cloud Posse"
url "https://github.com/cloudposse/packages.git"
version "0.9.0.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/cloudposse-atlantis" do
system "make", "install"
bin.install "cloudposse/cloudposse-atlantis"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/codefresh.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Codefresh < Formula
desc "Codefresh CLI"
url "https://github.com/cloudposse/packages.git"
version "0.78.2"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/codefresh" do
system "make", "install"
bin.install "cloudposse/codefresh"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/conftest.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Conftest < Formula
desc "Test your configuration files using Open Policy Agent"
url "https://github.com/cloudposse/packages.git"
version "0.28.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/conftest" do
system "make", "install"
bin.install "cloudposse/conftest"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/consul.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Consul < Formula
desc "Hashicorp consul"
url "https://github.com/cloudposse/packages.git"
version "1.10.4"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/consul" do
system "make", "install"
bin.install "cloudposse/consul"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/ctop.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Ctop < Formula
desc "Top-like interface for container metrics"
url "https://github.com/cloudposse/packages.git"
version "0.7.6"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/ctop" do
system "make", "install"
bin.install "cloudposse/ctop"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/direnv.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Direnv < Formula
desc "Unclutter your .profile"
url "https://github.com/cloudposse/packages.git"
version "2.28.0"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/direnv" do
system "make", "install"
bin.install "cloudposse/direnv"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/doctl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Doctl < Formula
desc "A command line tool for DigitalOcean services"
url "https://github.com/cloudposse/packages.git"
version "1.67.0"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/doctl" do
system "make", "install"
bin.install "cloudposse/doctl"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/duffle.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Duffle < Formula
desc "CNAB installer"
url "https://github.com/cloudposse/packages.git"
version "0.3.5-beta.1"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/duffle" do
system "make", "install"
bin.install "cloudposse/duffle"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/ec2-instance-selector.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Ec2InstanceSelector < Formula
desc "A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory"
url "https://github.com/cloudposse/packages.git"
version "2.0.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/ec2-instance-selector" do
system "make", "install"
bin.install "cloudposse/ec2-instance-selector"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/emailcli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Emailcli < Formula
desc "Command line email sending client written in Go."
url "https://github.com/cloudposse/packages.git"
version "1.0.3"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/emailcli" do
system "make", "install"
bin.install "cloudposse/emailcli"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/envcli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Envcli < Formula
desc "A simple wrapper that allows you to run commands within ethereal docker containers"
url "https://github.com/cloudposse/packages.git"
version "0.7.1"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/envcli" do
system "make", "install"
bin.install "cloudposse/envcli"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/fargate.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Fargate < Formula
desc "CLI for AWS Fargate"
url "https://github.com/cloudposse/packages.git"
version "0.3.2"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/fargate" do
system "make", "install"
bin.install "cloudposse/fargate"
end
end
end
13 changes: 13 additions & 0 deletions HomebrewFormula/fetch.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
class Fetch < Formula
desc "fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag"
url "https://github.com/cloudposse/packages.git"
version "0.4.2"

def install
ENV["INSTALL_PATH"] = "cloudposse"
chdir "vendor/fetch" do
system "make", "install"
bin.install "cloudposse/fetch"
end
end
end
Loading