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-operatornoobaa-core
is the noobaa-core program that includes multiple core commands - see Standalone-noobaa-core
brew tap noobaa/noobaa
brew install noobaa
brew install noobaa-core
brew upgrade noobaa
brew upgrade noobaa-core
brew uninstall noobaa
brew uninstall noobaa-core
brew untap noobaa/noobaa
Follow the following instructions on a new release.
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"
$ 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
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.
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
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
$ 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.