mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
34 lines
680 B
YAML
34 lines
680 B
YAML
distributable:
|
|
url: git+https://github.com/helmfile/helmfile
|
|
ref: v{{ version }}
|
|
|
|
versions:
|
|
github: helmfile/helmfile/releases/tags
|
|
|
|
provides:
|
|
- bin/helmfile
|
|
|
|
dependencies:
|
|
helm.sh: '*'
|
|
curl.se/ca-certs: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: ^1.21
|
|
git-scm.org: '*'
|
|
env:
|
|
CGO_ENABLED: 0
|
|
GOFLAGS: -mod=readonly
|
|
script: |
|
|
make build
|
|
mkdir -p "{{ prefix }}"/bin
|
|
mv ./helmfile "{{ prefix }}"/bin
|
|
|
|
test:
|
|
fixture: |
|
|
releases:
|
|
- name: myrelease
|
|
chart: ./mychart
|
|
script: |
|
|
helmfile build -f "${FIXTURE}" | tee /dev/stderr | grep -q "Source: ${FIXTURE}"
|
|
helmfile version | tee /dev/stderr | grep -q -w "v{{ version }}"
|