Test Stork on FreeBSD
One of the fundamental requirements for the Stork project was that it's supposed to be portable. We decided that the two systems Stork should run on are Ubuntu and FreeBSD. @jsosborn confirmed that our commitment to FreeBSD remains as important as it was throughout the years. So far we're running Stork on Ubuntu and did some quick tests on FreeBSD and discovered some problems with running it there.
Note the following excerpt from Rakefile:
when "FreeBSD" OS="FreeBSD" # TODO: there are no swagger built packages for FreeBSD GOSWAGGER_BIN="" puts "WARNING: There are no FreeBSD packages for GOSWAGGER_BIN" GO_SUFFIX="freebsd-amd64" # TODO: there are no protoc built packages for FreeBSD (at least as of 3.10.0) PROTOC_ZIP_SUFFIX="" puts "WARNING: There are no protoc packages built for FreeBSD" NODE_SUFFIX="node-v10.16.3.tar.xz" GOLANGCILINT_SUFFIX="freebsd-amd64"
One of the possible ways to avoid problems with missing goswagger binaries is to generate the API bindings only when they're changed and keep them checked into the repo. See #182 for related problem.
As for the protoc, there are no FreeBSD builds as of March 2020. However, that can be compiled from sources.