mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
35 lines
826 B
YAML
35 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"
|