Skip to content

Commit

Permalink
bootloose 0.7.0
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Oct 10, 2023
1 parent 425b255 commit b2c1872
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Formula/bootloose.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
class Bootloose < Formula
desc "Creates containers that look like virtual machines"
homepage "https://github.com/k0sproject/bootloose"
url "https://github.com/k0sproject/bootloose.git",
tag: "v0.7.0",
revision: "065ba73c51bedab5656b0b40693a8cdead99a68c"
license "Apache-2.0"
head "https://github.com/k0sproject/bootloose.git", branch: "main"

depends_on "go" => :build

def install

Check failure on line 12 in Formula/bootloose.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew install --verbose --build-bottle k0sproject/tap/bootloose` failed on Linux!

==> Fetching k0sproject/tap/bootloose ==> Cloning https://github.com/k0sproject/bootloose.git Updating /home/runner/.cache/Homebrew/bootloose--git /usr/bin/env git config remote.origin.url https://github.com/k0sproject/bootloose.git /usr/bin/env git config remote.origin.fetch \+refs/tags/v0.7.0:refs/tags/v0.7.0 /usr/bin/env git config remote.origin.tagOpt --no-tags /usr/bin/env git config advice.detachedHead false /usr/bin/env git config core.fsmonitor false ==> Checking out tag v0.7.0 /usr/bin/env git checkout -f v0.7.0 -- HEAD is now at 065ba73 Merge pull request #51 from k0sproject/drop-serve /usr/bin/env git reset --hard v0.7.0 -- HEAD is now at 065ba73 Merge pull request #51 from k0sproject/drop-serve ==> Installing bootloose from k0sproject/tap /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/LICENSE /tmp/d20231010-5522-1rojc66/LICENSE /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/go.sum /tmp/d20231010-5522-1rojc66/go.sum /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/.gitignore /tmp/d20231010-5522-1rojc66/.gitignore /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/tests/. /tmp/d20231010-5522-1rojc66/tests /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/NOTICE /tmp/d20231010-5522-1rojc66/NOTICE /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/images/. /tmp/d20231010-5522-1rojc66/images /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/Makefile /tmp/d20231010-5522-1rojc66/Makefile /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/version/. /tmp/d20231010-5522-1rojc66/version /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/cmd/. /tmp/d20231010-5522-1rojc66/cmd /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/main.go /tmp/d20231010-5522-1rojc66/main.go /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/examples/. /tmp/d20231010-5522-1rojc66/examples /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/README.md /tmp/d20231010-5522-1rojc66/README.md /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/.github/. /tmp/d20231010-5522-1rojc66/.github /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/go.mod /tmp/d20231010-5522-1rojc66/go.mod /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/.git/. /tmp/d20231010-5522-1rojc66/.git /usr/bin/env cp -pR /home/runner/.cache/Homebrew/bootloose--git/pkg/. /tmp/d20231010-5522-1rojc66/pkg /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/LICENSE /tmp/bootloose-20231010-5522-2idify/LICENSE /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/go.sum /tmp/bootloose-20231010-5522-2idify/go.sum /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/.gitignore /tmp/bootloose-20231010-5522-2idify/.gitignore /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/tests/. /tmp/bootloose-20231010-5522-2idify/tests /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/NOTICE /tmp/bootloose-20231010-5522-2idify/NOTICE /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/images/. /tmp/bootloose-20231010-5522-2idify/images /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/Makefile /tmp/bootloose-20231010-5522-2idify/Makefile /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/version/. /tmp/bootloose-20231010-5522-2idify/version /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/cmd/. /tmp/bootloose-20231010-5522-2idify/cmd /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/main.go /tmp/bootloose-20231010-5522-2idify/main.go /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/examples/. /tmp/bootloose-20231010-5522-2idify/examples /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/README.md /tmp/bootloose-20231010-5522-2idify/README.md /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/.github/. /tmp/bootloose-20231010-5522-2idify/.github /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/go.mod /tmp/bootloose-20231010-5522-2idify/go.mod /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/.git/. /tmp/bootloose-20231010-5522-2idify/.git /usr/bin/env cp -pR /tmp/d20231010-5522-1rojc66/pkg/. /tmp/bootloose-20231010-5522-2idify/pkg ==> make bootlo
system "make", "bootloose", "TAG_NAME=v#{version}"
bin.install "bootloose"
prefix.install_metafiles

generate_completions_from_executable(
bin/"bootloose", "completion",
shells: ["bash", "zsh", "fish"],
shell_parameter_format: :arg
)
end

test do
version_output = shell_output(bin/"bootloose version 2>&1")
assert_match "v#{version}", version_output
end
end

0 comments on commit b2c1872

Please sign in to comment.