Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bazelisk package. #10357

Merged
merged 1 commit into from
Dec 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions bazelisk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
package:
name: bazelisk
version: 1.19.0
epoch: 0
description: A user-friendly launcher for Bazel.
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ca-certificates-bundle

environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go

pipeline:
- uses: git-checkout
with:
repository: https://github.com/bazelbuild/bazelisk
expected-commit: c7c6c19799ff408c48bdce6b7557217ad0050b17
tag: v${{package.version}}

- uses: go/build
with:
packages: .
output: bazelisk

- uses: strip

subpackages:
- name: bazelisk-default
pipeline:
- runs: |
# Configure bazelisk as bazel
mkdir -p ${{targets.subpkgdir}}/usr/bin/
ln -sf /usr/bin/bazelisk ${{targets.subpkgdir}}/usr/bin/bazel
dependencies:
runtime:
- bazelisk

update:
enabled: true
github:
identifier: bazelbuild/bazelisk
strip-prefix: v
Loading