-
Notifications
You must be signed in to change notification settings - Fork 297
/
Copy pathargo-cd.yaml
54 lines (46 loc) · 1.49 KB
/
argo-cd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package:
name: argo-cd
version: 2.6.7
epoch: 0
description: Declarative continuous deployment for Kubernetes.
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- ca-certificates-bundle
- busybox
- go
- python3
- nodejs-16
- yarn
pipeline:
- uses: git-checkout
with:
repository: https://github.com/argoproj/argo-cd
tag: v${{package.version}}
expected-commit: 5bcd846fa16e4b19d8f477de7da50ec0aef320e5
- runs: |
cp ui/package.json .
cp ui/yarn.lock .
yarn install
yarn cache clean
# Our global LDFLAGS conflict with a Makefile parameter
unset LDFLAGS
make argocd-all
mkdir -p ${{targets.destdir}}/usr/bin
mv dist/argocd* ${{targets.destdir}}/usr/bin/
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-server
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-repo-server
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-cmp-server
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-application-controller
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-dex
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-notifications
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-applicationset-controller
ln -s /usr/bin/argocd ${{targets.destdir}}/usr/bin/argocd-k8s-auth
- uses: strip
update:
enabled: true
github:
identifier: argoproj/argo-cd
strip-prefix: v