mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+github.com/helmfile/helmfile (#3460)
* Add helmfile * See output even with grep * Hide grep output * Avoid version command which check for upgrades * It worked in my machine, anyway, trying differently * Try to set git as build dependency * CGO_ENABLED=0 * ca-certs --------- Co-authored-by: Jacob Heider <jhheider@gmail.com>
This commit is contained in:
parent
74582c9e56
commit
94f5037112
1 changed files with 35 additions and 0 deletions
35
projects/github.com/helmfile/helmfile/package.yml
Normal file
35
projects/github.com/helmfile/helmfile/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
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
|
||||
tea.xyz/gx/make: '*'
|
||||
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 }}"
|
Loading…
Reference in a new issue