pantry/projects/argoproj.github.io/cd/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

33 lines
778 B
YAML

distributable:
url: https://github.com/argoproj/argo-cd/archive/v{{version}}.tar.gz
strip-components: 1
display-name: argo-cd
versions:
github: argoproj/argo-cd
build:
dependencies:
go.dev: '*'
nodejs.org: '*'
yarnpkg.com: '*'
linux:
git-scm.org: '*'
script:
- make --jobs {{hw.concurrency}} dep-ui-local
- run: yarn build
working-directory: ui
- make --jobs {{hw.concurrency}} cli-local
- mkdir -p {{prefix}}/bin
- install dist/argocd {{prefix}}/bin/
env:
NODE_ENV: production
NODE_ONLINE_ENV: online
LDFLAGS:
provides:
- bin/argocd
test:
script:
- argocd --help
- touch argocd-config
- chmod 0600 argocd-config
- argocd context --config ./argocd-config | grep "CURRENT NAME SERVER"