Skip to content
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
32 changes: 32 additions & 0 deletions projects/eksctl.io/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
distributable:
url: https://github.com/eksctl-io/eksctl/archive/v{{version}}.tar.gz
strip-components: 1
versions:
github: eksctl-io/eksctl
dependencies:
github.com/kubernetes-sigs/aws-iam-authenticator: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
github.com/maxbrunsfeld/counterfeiter: '*'
go.dev: '*'
github.com/kevinburke/go-bindata: '*'
github.com/vburenin/ifacemaker: '*'
vektra.github.io/mockery: '*'
script:
# This is necessary because during the build process, EKSCTL expects to find these binaries in this directory.
- run: |
ln -s {{deps.github.com/vburenin/ifacemaker.prefix}}/bin/ifacemaker ifacemaker
ln -s {{deps.github.com/maxbrunsfeld/counterfeiter.prefix}}/bin/counterfeiter counterfeiter
ln -s {{deps.github.com/kevinburke/go-bindata.prefix}}/bin/go-bindata go-bindata
ln -s {{deps.vektra.github.io/mockery.prefix}}/bin/mockery mockery
working-directory: $HOME/go/bin
Comment on lines +18 to +24

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's possible this is also possible with a colon-separated envvar path of some kind, but this should work.

- make build
- mkdir -p {{prefix}}/bin
- install eksctl {{prefix}}/bin/
provides:
- bin/eksctl
test:
script:
- eksctl version | grep {{version}}