Skip to content

Upgrade ArgoCD Dry Run #8

Upgrade ArgoCD Dry Run

Upgrade ArgoCD Dry Run #8

name: Upgrade ArgoCD Dry Run
on:
workflow_dispatch:
pull_request:
paths:
- argo-cd/**
jobs:
dry-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.6
- name: Set up Kubectl
uses: azure/k8s-set-context@v4.0.0
with:
method: service-account
k8s-url: "${{ secrets.API_SERVER }}"
k8s-secret: "${{ secrets.SA_SECRET }}"
- name: Install Helm
uses: azure/setup-helm@v4.2.0
- name: Download dependencies
run: |
helm dep update ./argo-cd
- name: Lint
run: |
helm lint ./argo-cd
- name: Upgrade release dry run
run: |
helm upgrade --kube-insecure-skip-tls-verify --dry-run argo-cd ./argo-cd --namespace argocd --install --values ./argo-cd/values.yaml