pantry/projects/argoproj.github.io/cd/package.yml
Andrew b8ba379f01
argoproj.github.io/cd (#3174)
* new file:   projects/argoproj.github.io/cd/package.yml

* +git
2023-08-31 19:24:24 +02:00

34 lines
826 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:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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"