mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
33 lines
778 B
YAML
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"
|