refactor(ci): get rid of ArgoCD action
Some checks failed
functions / build (push) Failing after 10s
Some checks failed
functions / build (push) Failing after 10s
This commit is contained in:
parent
078ddeb6e5
commit
05d3cd7546
1 changed files with 10 additions and 11 deletions
|
@ -10,6 +10,12 @@ jobs:
|
|||
- name: Setup `spin`
|
||||
uses: fermyon/actions/spin/setup@v1
|
||||
|
||||
- name: Setup argocd CLI
|
||||
run: |
|
||||
curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-$(uname -m)
|
||||
chmod +x /usr/local/bin/argocd
|
||||
argocd version --client
|
||||
|
||||
- name: Setup Go 1.23.x
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
|
@ -37,16 +43,9 @@ jobs:
|
|||
working-directory: comics
|
||||
|
||||
- name: Upsert Argo App
|
||||
uses: clowdhaus/argo-cd-action@v2.2.0
|
||||
with:
|
||||
command: app create functions
|
||||
options: -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext
|
||||
version: "2.13.3"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
|
||||
run: |
|
||||
argocd app create functions -f deploy/argo-app.yaml --upsert --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes
|
||||
|
||||
- name: Deploy KubeSpin apps
|
||||
uses: clowdhaus/argo-cd-action@v2.2.0
|
||||
with:
|
||||
command: app sync functions
|
||||
options: --assumeYes --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext
|
||||
run: |
|
||||
argocd app sync functions --server argo-cd-argocd-server.argo-system.svc --auth-token ${{ secrets.ARGOCD_TOKEN }} --plaintext --assumeYes
|
||||
|
|
Loading…
Add table
Reference in a new issue