argoproj.github.io/cd (#3174)

* new file:   projects/argoproj.github.io/cd/package.yml

* +git
This commit is contained in:
Andrew 2023-08-31 20:24:24 +03:00 committed by GitHub
parent fd1c527247
commit b8ba379f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,34 @@
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"