You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ make bin/ko
bindl get ko
bin/.bindl/programs/d459221a402aa3047e5ed27db76bb669ae958588e6fde0ed7fcf2d84ff19a9fd-ko/ko
❯ make bin/kind
make: `bin/kind' is up to date.❯ make bin/komake: `bin/ko' is up to date.❯ make bin/terraformbindl get terraformpanic: runtime error: invalid memory address or nil pointer dereference[signal SIGSEGV: segmentation violation code=0x2 addr=0x10 pc=0x100556024]goroutine 36 [running]:github.com/bindl-dev/bindl/command.Get({0x1006ba150, 0x14000098680}, 0x1008e81a0, 0x140001c43c0) github.com/bindl-dev/bindl/command/get.go:68 +0xa4github.com/bindl-dev/bindl/command.IterateLockfilePrograms.func2(0x0?) github.com/bindl-dev/bindl/command/command.go:52 +0x50created by github.com/bindl-dev/bindl/command.IterateLockfilePrograms github.com/bindl-dev/bindl/command/command.go:51 +0x188make: *** [bin/terraform] Error 2
Relevant information
❯ bindl version
version: 0.0.5 (go1.18)
commit: 4b5fba05cd01309ca791844d65e97a3309b7ec0d
date: 2022-04-12T20:40:55Z
❯ ls bin/.bindl/programs
1c265a1ccd92ff1d9767731a8431bcc0fecb7e633a5cec8b950ecb6a777f03c4-kn
a478eb4a6a88a8e3de9dd2e97c1fb96ca7a65c74525f2e132e6a5b333803f7c8-ytt
24f76cfcd464793e5d5fc930924586baff52232206ae2a9040467f802a95d1fc-golangci-lint
d459221a402aa3047e5ed27db76bb669ae958588e6fde0ed7fcf2d84ff19a9fd-ko
98d0f29fbde2154c64653aff81e6d0b9faea5001c5e29ce80ecfb9f67810197b-kind
fda2f5a5b7283c5545221ff8fd245a1c8bd7b5584c8eef94f2a68bf30d3fa833-terraform
bindl.yaml
platforms:
linux:
- amd64
- arm64
darwin:
- amd64
- arm64
_uname: &uname
OS: &uname_OS
linux: Linux
darwin: Darwin
Arch: &uname_Arch
amd64: x86_64
programs:
- name: golangci-lint
version: 1.45.2
provider: github
paths:
base: golangci/golangci-lint
target: '{{ .Name }}-{{ .Version }}-{{ .OS }}-{{ .Arch }}.tar.gz'
checksums:
artifact: '{{ .Name }}-{{ .Version }}-checksums.txt'
# kind is a tool for running local Kubernetes clusters using Docker container
# 'nodes'.
# https://kind.sigs.k8s.io/
- name: kind
version: 0.12.0
provider: github
paths:
base: kubernetes-sigs/kind
target: '{{ .Name }}-{{ .OS }}-{{ .Arch }}'
checksums:
artifact: '{{ .Name }}-{{ .OS }}-{{ .Arch }}.sha256sum'
# ko is a simple, fast container image builder for Go applications.
# https://github.com/google/ko
- name: ko
provider: github
version: 0.11.2
overlay:
OS:
linux: Linux
darwin: Darwin
Arch:
amd64: x86_64
paths:
base: google/ko
target: '{{ .Name }}_{{ .Version }}_{{ .OS }}_{{ .Arch }}.tar.gz'
checksums:
artifact: checksums.txt
# Knative is an Open-Source Enterprise-level solution to build Serverless and
# Event Driven Applications.
# https://knative.dev/docs/
# https://github.com/knative/client
- name: kn
provider: url
version: 1.3.1
paths:
base: 'https://github.com/knative/client/releases/download/knative-v{{ .Version }}'
target: '{{ .Name }}-{{ .OS }}-{{ .Arch }}'
checksums:
artifact: checksums.txt
# Terraform is a tool that applies infrastructure changes idempotently and
# allows people to concurrently work on infrastructure resources.
# https://www.terraform.io/
- name: terraform
version: 1.1.8
provider: url
paths:
base: 'https://releases.hashicorp.com/terraform/{{ .Version }}/'
target: '{{ .Name }}_{{ .Version }}_{{ .OS }}_{{ .Arch }}.zip'
checksums:
artifact: '{{ .Name }}_{{ .Version }}_SHA256SUMS'
# ytt (pronounced spelled out) is a templating tool that understands YAML
# structure. It helps you easily configure complex software via reusable
# templates and user provided values.
# https://github.com/vmware-tanzu/carvel-ytt
- name: ytt
provider: github
version: 0.40.1
paths:
base: vmware-tanzu/carvel-ytt
target: '{{ .Name }}-{{ .OS }}-{{ .Arch }}'
checksums:
artifact: checksums.txt
I just ran into this problem myself because I was accidentally running amd64 variant of bindl in M1 (arm64). bindl was looking for darwin/amd64 platform when my .bindl-lock.yaml only has darwin/arm64, thus the panic.
Steps
Relevant information
bindl.yaml
.bindl.lock
The text was updated successfully, but these errors were encountered: