Blubber/Download

From Wikitech
Jump to navigation Jump to search

Blubber is a command line application that is available as a statically compiled binary for multiple platforms

Latest release (0.8.0)

Using Go tools

go get -u gerrit.wikimedia.org/r/blubber/cmd/blubber

(Be sure that $GOPATH/bin is in your PATH.)

APT

Blubber is available from our APT repo.

deb https://apt.wikimedia.org/wikimedia stretch-wikimedia main
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9D392D3FFADF18FB
apt-get install blubber

Binaries

Installing from source

See CONTRIBUTING.md in the Blubber repo.

Blubber as a (micro)Service

You can also use blubber without installing a local copy by making a well-formed call against blubberoid.wikimedia.org. See Blubber/Idea#Stateless for more details, or simply start using this Bash function.

blubber() {
  if [ $# -lt 2 ]; then
    echo 'Usage: blubber config.yaml variant'
    return 1
  fi
  curl -s -H 'content-type: application/yaml' --data-binary @"$1" https://blubberoid.wikimedia.org/v1/"$2"
}

Past releases

0.6.0

Further reading

Tutorials

Now that you have Blubber installed, try your hand at one of the tutorials.