From ad5a8d32a04770b7badf827c6c74c3ef23de23f7 Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Fri, 1 Sep 2023 12:19:19 +0300 Subject: [PATCH] new file: projects/eksctl.io/package.yml --- projects/eksctl.io/package.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 projects/eksctl.io/package.yml diff --git a/projects/eksctl.io/package.yml b/projects/eksctl.io/package.yml new file mode 100644 index 00000000..cc0a8538 --- /dev/null +++ b/projects/eksctl.io/package.yml @@ -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 + - make build + - mkdir -p {{prefix}}/bin + - install eksctl {{prefix}}/bin/ +provides: + - bin/eksctl +test: + script: + - eksctl version | grep {{version}}