Skip to content
Closed
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
18 changes: 12 additions & 6 deletions projects/kluctl.io/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ build:
dependencies:
go.dev: ^1.21
nodejs.org: ^18
npmjs.com: "*"
gnu.org/make: "*"
npmjs.com: '*'
gnu.org/make: '*'
env:
CGO_ENABLED: 0
LDFLAGS:
Expand All @@ -29,7 +29,13 @@ provides:
- bin/kluctl

test:
script: |
test "$(kluctl version)" = v{{version}}
kluctl render --print-all --offline-kubernetes -t simple > simple.yml
test -f simple.yml
script:
# versions >=2.23 require this, or they panic
- run: mkdir -p $HOME/Library/Caches
if: darwin
- run: mkdir -p $HOME/.cache
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

brewkit can do this. I'll add.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if: linux

- test "$(kluctl version)" = v{{version}}
- kluctl render --print-all --offline-kubernetes -t simple > simple.yml
- test -f simple.yml