Skip to content

noobaa/homebrew-noobaa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NooBaa's Homebrew Tap

NooBaa is an object data service for hybrid and multi cloud environments.

This brew tap provides tools for NooBaa users/developers:

  • noobaa is the noobaa-operator CLI for managing NooBaa S3 service on Kubernetes/Openshift - see noobaa-operator
  • noobaa-core is the noobaa-core program that includes multiple core commands - see Standalone-noobaa-core

Usage

Tap and Install:

brew tap noobaa/noobaa
brew install noobaa
brew install noobaa-core

Upgrade:

brew upgrade noobaa
brew upgrade noobaa-core

Uninstall and Untap:

brew uninstall noobaa
brew uninstall noobaa-core
brew untap noobaa/noobaa

For Maintainers

Follow the following instructions on a new release.

Update the formula url

Edit the formula and set the new release tag and revision in the url section.

See example:

  url "https://github.com/noobaa/noobaa-operator.git",
      :tag      => "v5.7.0",
      :revision => "054bc35207d5c3cae70838052b76b55149c1c260"

Build bottle locally

$ brew uninstall noobaa
$ brew install noobaa --build-bottle
$ brew bottle noobaa
==> Determining noobaa/noobaa/noobaa bottle rebuild...
==> Bottling noobaa--5.7.0.big_sur.bottle.1.tar.gz...
==> Detecting if noobaa--5.7.0.big_sur.bottle.1.tar.gz is relocatable...
./noobaa--5.7.0.big_sur.bottle.1.tar.gz
  bottle do
    rebuild 1
    sha256 cellar: :any_skip_relocation, big_sur: "35745610631857420a1dc66f0ba752b5e825611e15c5e54f981f9bb6b7a330db"
  end

Note on MacOS versions

Notice that in the examples I renamed the macos version of the bottle file to mojave although I built it on big_sur (both the file name and in the sha256 line).

Not sure if this is really needed or not, but the intention was to make this bottle apply for the oldest macos version we can support since the binary itself is portable anyhow.

Upload the bottle

Edit the release and upload the bottle tar file to the release assets.

See example release - https://github.com/noobaa/noobaa-operator/releases/tag/v5.7.0

Update the formula bottle

Edit the formula bottle do section to the new release download url and the sha256 as provided from brew bottle before.

See example:

  bottle do
    root_url "https://github.com/noobaa/noobaa-operator/releases/download/v5.7.0"
    sha256 cellar: :any_skip_relocation, mojave: "35745610631857420a1dc66f0ba752b5e825611e15c5e54f981f9bb6b7a330db"
    rebuild 1
  end

Test the bottle

$ brew reinstall noobaa
==> Downloading https://github.com/noobaa/noobaa-operator/releases/download/v5.7.0/noobaa-5.7.0.mojave.bottle.1.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/194805859/...
######################################################################## 100.0%
==> Reinstalling noobaa/noobaa/noobaa
==> Pouring noobaa-5.7.0.mojave.bottle.1.tar.gz
🍺  /usr/local/Cellar/noobaa/5.7.0: 3 files, 55.7MB

For more information on bottles see https://docs.brew.sh/Bottles.

About

homebrew tap for noobaa ☁️ 💻

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published